mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-31 08:30:51 +00:00
add gestaltID
This commit is contained in:
parent
e4acff8077
commit
4632db7477
@ -15,14 +15,19 @@
|
|||||||
typedef struct emile_l2_header emile_l2_header_t;
|
typedef struct emile_l2_header emile_l2_header_t;
|
||||||
|
|
||||||
struct emile_l2_header {
|
struct emile_l2_header {
|
||||||
|
/* EM01 */
|
||||||
|
|
||||||
u_int32_t entry;
|
u_int32_t entry;
|
||||||
u_int32_t signature; /* EM02 */
|
u_int32_t signature;
|
||||||
u_int32_t kernel_image_offset;
|
u_int32_t kernel_image_offset;
|
||||||
u_int32_t kernel_image_size;
|
u_int32_t kernel_image_size;
|
||||||
u_int32_t kernel_size;
|
u_int32_t kernel_size;
|
||||||
u_int32_t ramdisk_offset;
|
u_int32_t ramdisk_offset;
|
||||||
u_int32_t ramdisk_size;
|
u_int32_t ramdisk_size;
|
||||||
int8_t command_line[256];
|
int8_t command_line[256];
|
||||||
|
|
||||||
|
/* EM02 */
|
||||||
|
|
||||||
u_int32_t console_mask;
|
u_int32_t console_mask;
|
||||||
u_int32_t serial0_bitrate;
|
u_int32_t serial0_bitrate;
|
||||||
int8_t serial0_datasize;
|
int8_t serial0_datasize;
|
||||||
@ -34,9 +39,14 @@ struct emile_l2_header {
|
|||||||
int8_t serial1_parity;
|
int8_t serial1_parity;
|
||||||
int8_t serial1_stopbits;
|
int8_t serial1_stopbits;
|
||||||
int8_t pad1;
|
int8_t pad1;
|
||||||
|
|
||||||
|
/* EM03 */
|
||||||
|
|
||||||
u_int32_t gestaltID;
|
u_int32_t gestaltID;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
#define EMILE_01_SIGNATURE (('E'<<24)|('M'<<16)|('0'<<8)|'1')
|
||||||
|
#define EMILE_02_SIGNATURE (('E'<<24)|('M'<<16)|('0'<<8)|'2')
|
||||||
#define EMILE_03_SIGNATURE (('E'<<24)|('M'<<16)|('0'<<8)|'3')
|
#define EMILE_03_SIGNATURE (('E'<<24)|('M'<<16)|('0'<<8)|'3')
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user