diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-23 18:14:12 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-23 18:14:12 -0800 |
commit | 3cda063b8e079ee6518d3425650d800db4227585 (patch) | |
tree | 5c31ff2924ad2d43e0174e1c7301e950543262d4 /com32/include/com32.h | |
parent | 2e236fea2b554b7b72f66d96ceae9e3fa4da675a (diff) | |
download | syslinux-3cda063b8e079ee6518d3425650d800db4227585.tar.gz |
core: add a direct 32-bit API
Add a direct 32-bit API to some functions; initially read file only.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include/com32.h')
-rw-r--r-- | com32/include/com32.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/include/com32.h b/com32/include/com32.h index aa7fb4b6..9334efb8 100644 --- a/com32/include/com32.h +++ b/com32/include/com32.h @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------- * * * Copyright 2002-2009 H. Peter Anvin - All Rights Reserved - * Copyright 2009 Intel Corporation; author: H. Peter Anvin + * Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -92,6 +92,8 @@ typedef struct { #define EFLAGS_VIP 0x00100000 #define EFLAGS_ID 0x00200000 +struct com32_pmapi; + extern struct com32_sys_args { uint32_t cs_sysargs; char *cs_cmdline; @@ -101,6 +103,7 @@ extern struct com32_sys_args { void __cdecl(*cs_farcall) (uint32_t, const com32sys_t *, com32sys_t *); int __cdecl(*cs_cfarcall) (uint32_t, const void *, uint32_t); uint32_t cs_memsize; + const struct com32_pmapi *cs_pm; } __com32; /* |