diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2013-07-16 18:13:17 +0100 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2013-07-17 18:29:16 +0100 |
| commit | a1331f8d04dbeb06d6f6c4c1fc736a50b0c0299a (patch) | |
| tree | c401a8e91f9299afcabcbf6d4169a8f8263f920d /com32/include/syslinux | |
| parent | 8f470e7bfe75f6401f6c5432988c620b863ad274 (diff) | |
| download | syslinux-a1331f8d04dbeb06d6f6c4c1fc736a50b0c0299a.tar.gz | |
memscan: pass enum syslinux_memmap_types around
The memscan interface should be using SMT_* to describe the types of
memory regions as SMT_* are platform agnostic values. This will allow us
to be much more descriptive about the type of memory regions in future.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/include/syslinux')
| -rw-r--r-- | com32/include/syslinux/memscan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/include/syslinux/memscan.h b/com32/include/syslinux/memscan.h index c3ebf847..7aabacba 100644 --- a/com32/include/syslinux/memscan.h +++ b/com32/include/syslinux/memscan.h @@ -32,7 +32,8 @@ #include <stdbool.h> #include <syslinux/movebits.h> /* addr_t */ -typedef int (*scan_memory_callback_t) (void *, addr_t, addr_t, bool); +typedef int (*scan_memory_callback_t) (void *, addr_t, addr_t, + enum syslinux_memmap_types type); int syslinux_scan_memory(scan_memory_callback_t callback, void *data); int bios_scan_memory(scan_memory_callback_t callback, void *data); |
