mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
fw_cfg: don't use reserved _ prefix
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
+2
-2
@@ -38,14 +38,14 @@
|
||||
|
||||
#define FW_CFG_SIZE 2
|
||||
|
||||
typedef struct _FWCfgEntry {
|
||||
typedef struct FWCfgEntry {
|
||||
uint32_t len;
|
||||
uint8_t *data;
|
||||
void *callback_opaque;
|
||||
FWCfgCallback callback;
|
||||
} FWCfgEntry;
|
||||
|
||||
struct _FWCfgState {
|
||||
struct FWCfgState {
|
||||
FWCfgEntry entries[2][FW_CFG_MAX_ENTRY];
|
||||
FWCfgFiles *files;
|
||||
uint16_t cur_entry;
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ typedef struct FWCfgFiles {
|
||||
|
||||
typedef void (*FWCfgCallback)(void *opaque, uint8_t *data);
|
||||
|
||||
typedef struct _FWCfgState FWCfgState;
|
||||
typedef struct FWCfgState FWCfgState;
|
||||
int fw_cfg_add_bytes(FWCfgState *s, uint16_t key, uint8_t *data, uint32_t len);
|
||||
int fw_cfg_add_i16(FWCfgState *s, uint16_t key, uint16_t value);
|
||||
int fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value);
|
||||
|
||||
Reference in New Issue
Block a user