use platform independent data types to create the initrd
This commit is contained in:
parent
b447d78179
commit
88393984d9
2 changed files with 4 additions and 4 deletions
|
@ -43,9 +43,9 @@ typedef struct {
|
|||
} initrd_header_t;
|
||||
|
||||
typedef struct {
|
||||
uint32_t length;
|
||||
uint32_t offset;
|
||||
char fname[MAX_FNAME];
|
||||
size_t length;
|
||||
off_t offset;
|
||||
} initrd_file_desc_t;
|
||||
|
||||
static ssize_t initrd_read(vfs_node_t* node, uint8_t* buffer, size_t size, off_t offset)
|
||||
|
|
|
@ -33,9 +33,9 @@ typedef struct {
|
|||
} initrd_header_t;
|
||||
|
||||
typedef struct {
|
||||
uint32_t length;
|
||||
uint32_t offset;
|
||||
char fname[MAX_FNAME];
|
||||
size_t length;
|
||||
off_t offset;
|
||||
} initrd_file_desc_t;
|
||||
|
||||
static void print_options(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue