|
uuu
uuu (Universal Update Utility), mfgtools 3.0
|
#include "rominfo.h"#include "buffer.h"#include "config.h"#include "libcomm.h"#include <cstring>#include <array>Classes | |
| struct | rom_container |
| struct | rom_bootimg |
Macros | |
| #define | IV_MAX_LEN 32 |
| #define | HASH_MAX_LEN 64 |
| #define | CONTAINER_HDR_ALIGNMENT 0x400 |
| #define | CONTAINER_HDR_ALIGNMENT_V2 0x4000 |
Functions | |
| const ROM_INFO * | search_rom_info (const std::string &s) |
| const ROM_INFO * | search_rom_info (const ConfigItem *item) |
| size_t | GetContainerActualSize (shared_ptr< DataBuffer > p, size_t offset, bool bROMAPI, bool skipspl) |
| bool | CheckHeader (const uint32_t *p) |
| size_t | GetFlashHeaderSize (shared_ptr< DataBuffer > p, size_t offset) |
| bool | IsMBR (shared_ptr< DataBuffer > p) |
| size_t | ScanTerm (std::shared_ptr< DataBuffer > p, size_t &pos, size_t offset, size_t limited) |
Variables | |
| static constexpr std::array< ROM_INFO, 16 > | g_RomInfo |
| static constexpr uint8_t | CONTAINER_TAG = 0x87 |
| static constexpr uint8_t | V2X_TAG = 0x82 |
| static constexpr uint32_t | IMG_FCB_COPY = 0x08 |
| static constexpr uint32_t | IMG_V2X = 0x0B |
| #define CONTAINER_HDR_ALIGNMENT 0x400 |
| #define CONTAINER_HDR_ALIGNMENT_V2 0x4000 |
| #define HASH_MAX_LEN 64 |
| #define IV_MAX_LEN 32 |
| bool CheckHeader | ( | const uint32_t * | p | ) |
| size_t GetContainerActualSize | ( | shared_ptr< DataBuffer > | p, |
| size_t | offset, | ||
| bool | bROMAPI, | ||
| bool | skipspl ) |
| size_t GetFlashHeaderSize | ( | shared_ptr< DataBuffer > | p, |
| size_t | offset ) |
| bool IsMBR | ( | shared_ptr< DataBuffer > | p | ) |
| size_t ScanTerm | ( | std::shared_ptr< DataBuffer > | p, |
| size_t & | pos, | ||
| size_t | offset, | ||
| size_t | limited ) |
| const ROM_INFO * search_rom_info | ( | const ConfigItem * | item | ) |
| const ROM_INFO * search_rom_info | ( | const std::string & | s | ) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |