uuu
uuu (Universal Update Utility), mfgtools 3.0
 
Loading...
Searching...
No Matches
SDPBootCmd Class Reference

#include <sdp.h>

Inheritance diagram for SDPBootCmd:
SDPCmdBase CmdBase

Public Member Functions

 SDPBootCmd (char *p)
 
int run (CmdCtx *p) override
 
- Public Member Functions inherited from SDPCmdBase
 SDPCmdBase (char *p)
 
- Public Member Functions inherited from CmdBase
 CmdBase ()=default
 
 CmdBase (char *p)
 
virtual ~CmdBase ()
 
virtual int dump ()
 
const std::string & get_cmd () const noexcept
 
bool get_lastcmd () const noexcept
 
void insert_param_info (const char *key, void *pD, Param::Type tp, bool ignore_case=true, const char *err=nullptr)
 
virtual int parser_protocol (char *p, size_t &pos)
 
virtual int parser (char *p=nullptr)
 

Private Member Functions

bool is_barebox_img (void)
 
int load_barebox (CmdCtx *ctx)
 

Private Attributes

bool m_clear_dcd = false
 
uint32_t m_dcd_addr = 0
 
bool m_nojump = false
 
bool m_barebox = false
 

Additional Inherited Members

- Public Types inherited from SDPCmdBase
enum  HAB_t { HabUnknown = -1 , HabEnabled = 0x12343412 , HabDisabled = 0x56787856 }
 
- Protected Member Functions inherited from SDPCmdBase
int check_ack (HIDReport *report, uint32_t ack)
 
HAB_t get_hab_type (HIDReport *report)
 
int get_status (HIDReport *p, uint32_t &status, uint8_t report_id)
 
int init_cmd ()
 
IvtHeadersearch_ivt_header (std::shared_ptr< DataBuffer > data, size_t &off, size_t limit=ULLONG_MAX)
 
- Protected Attributes inherited from SDPCmdBase
std::string m_filename
 
SDPCmd m_spdcmd
 
uint64_t m_scan_limited = UINT64_MAX
 
- Protected Attributes inherited from CmdBase
bool m_bCheckTotalParam = false
 
std::string m_cmd
 
bool m_lastcmd = false
 
bool m_NoKeyParam = false
 
int m_timeout = 10000
 

Constructor & Destructor Documentation

◆ SDPBootCmd()

SDPBootCmd::SDPBootCmd ( char * p)

Member Function Documentation

◆ is_barebox_img()

bool SDPBootCmd::is_barebox_img ( void )
private

◆ load_barebox()

int SDPBootCmd::load_barebox ( CmdCtx * ctx)
private

◆ run()

int SDPBootCmd::run ( CmdCtx * p)
overridevirtual

Implements CmdBase.

Member Data Documentation

◆ m_barebox

bool SDPBootCmd::m_barebox = false
private

◆ m_clear_dcd

bool SDPBootCmd::m_clear_dcd = false
private

◆ m_dcd_addr

uint32_t SDPBootCmd::m_dcd_addr = 0
private

◆ m_nojump

bool SDPBootCmd::m_nojump = false
private

The documentation for this class was generated from the following files: