diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-04-25 20:08:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-04-25 20:25:02 -0700 |
commit | 3953ca3532ca3281cc248f9985d9276c6f8486f0 (patch) | |
tree | a03065fdb9d42e0d60867136b7abe25bbea99732 /core/include | |
parent | 57b7af7df6599a8cdb318d7adeda1cd6fb981626 (diff) | |
download | syslinux-3953ca3532ca3281cc248f9985d9276c6f8486f0.tar.gz syslinux-3953ca3532ca3281cc248f9985d9276c6f8486f0.tar.xz syslinux-3953ca3532ca3281cc248f9985d9276c6f8486f0.zip |
Generalize ipappend handling as "sysappend", and move to PM code
Generalize the ipappend handling to cover all the derivatives, and
rename it "sysappend" ("ipappend" is a valid alias for all
derivatives.) Move all the string handling to protected mode.
Currently only pxelinux exports strings, but the plan is to change
that in the future.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/include/core.h b/core/include/core.h index cfb82133..4420fec1 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -4,6 +4,7 @@ #include <klibc/compiler.h> #include <com32.h> #include <syslinux/pmapi.h> +#include <syslinux/sysappend.h> #include <kaboom.h> #include <timer.h> @@ -43,6 +44,11 @@ extern void *zalloc(size_t); extern void free(void *); extern void mem_init(void); +/* sysappend.c */ +extern void print_sysappend(void); +extern const char *sysappend_strings[SYSAPPEND_MAX]; +extern uint32_t SysAppends; + void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *); void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *); int __cdecl core_cfarcall(uint32_t, const void *, uint32_t); |