diff options
| author | Chandramouli Narayanan <chandramouli.narayanan@intel.com> | 2012-02-02 15:19:17 +0000 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2012-02-02 16:13:12 +0000 |
| commit | e5b9b7e91515ecf01fa4d6df06e6408ec48da0d2 (patch) | |
| tree | 00571db8f413719a7c5ee4823ead495aedb57483 /com32/include/syslinux | |
| parent | 98bf45127946c563b08c847591b583e86c89ecc0 (diff) | |
| download | syslinux-e5b9b7e91515ecf01fa4d6df06e6408ec48da0d2.tar.gz | |
efi: Add Auxiliary Data Vector support
Including deleting some ADV code that found its way into core/elflink.
Also, move the __syslinux_adv_ptr and __syslinux_adv_size symbols out
of ldlinux.c32 and into the core. Normally we don't want to move
symbols into the core (as it increases the size), but we do in this
case because the values for these symbols are firmware dependent.
Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/include/syslinux')
| -rw-r--r-- | com32/include/syslinux/firmware.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/include/syslinux/firmware.h b/com32/include/syslinux/firmware.h index d52e34a0..3877d624 100644 --- a/com32/include/syslinux/firmware.h +++ b/com32/include/syslinux/firmware.h @@ -19,6 +19,11 @@ struct input_ops { char (*getchar)(void); }; +struct adv_ops { + void (*init)(void); + int (*write)(void); +}; + struct firmware { void (*init)(void); int (*scan_memory)(scan_memory_callback_t, void *); @@ -30,10 +35,12 @@ struct firmware { char *(*get_config_file_name)(void); void (*get_serial_console_info)(uint16_t *, uint16_t *, uint16_t *); bool (*ipappend_strings)(char **, int *); + struct adv_ops *adv_ops; }; extern struct firmware *firmware; extern void syslinux_register_bios(void); +extern void init(void); #endif /* _SYSLINUX_FIRMWARE_H */ |
