Displaying 3 results from an estimated 3 matches for "mem_ops".
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...46.155334267 -0700
@@ -60,6 +60,8 @@ struct firmware {
struct adv_ops *adv_ops;
int (*boot_linux)(void *, size_t, struct initramfs *,
struct setup_data *, char *);
+ int (*boot_efi)(void *, size_t, char *, int);
+ void (*clear_screen)(void);
struct vesa_ops *vesa;
struct mem_ops *mem;
};
diff -uprN a/com32/lib/syslinux/load_efi.c b/com32/lib/syslinux/load_efi.c
--- a/com32/lib/syslinux/load_efi.c 1969-12-31 17:00:00.000000000 -0700
+++ b/com32/lib/syslinux/load_efi.c 2015-02-18 20:08:04.430708483 -0700
@@ -0,0 +1,37 @@
+/*
+ * EFI image boot capabilities by Patrick Masott...
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
...are.h b/com32/include/syslinux/firmware.h
--- a/com32/include/syslinux/firmware.h 2014-10-06 10:27:44.000000000 -0600
+++ b/com32/include/syslinux/firmware.h 2015-03-13 12:59:12.147356419 -0600
@@ -62,6 +62,8 @@ struct firmware {
struct setup_data *, char *);
struct vesa_ops *vesa;
struct mem_ops *mem;
+ void* image;
+ void** table;
};
extern struct firmware *firmware;
diff -uprN a/com32/modules/elf_bios_efi.c b/com32/modules/elf_bios_efi.c
--- a/com32/modules/elf_bios_efi.c 1969-12-31 17:00:00.000000000 -0700
+++ b/com32/modules/elf_bios_efi.c 2015-03-13 14:43:18.266718706 -0600
@@ -...
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...ops *adv_ops;
> int (*boot_linux)(void *, size_t, struct initramfs *,
> struct setup_data *, char *);
> + int (*boot_efi)(void *, size_t, char *, int);
> + void (*clear_screen)(void);
> struct vesa_ops *vesa;
> struct mem_ops *mem;
> };
This change I was uncertain on at first. Extend the firmware struct
instead of exporting the functions and doing an #ifdef. It seems the
struct is the cleaner way considering the source is partially split.
Body.
> diff -uprN a/com32/lib/syslinux/load_efi.c b/com32/lib/syslinux...