diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-02 07:36:43 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-02 07:36:43 -0700 |
commit | 210395ef1babd423194a5c574b491324d567ab6b (patch) | |
tree | 35ad0ee92d3761c1d47748c463aac03129809e54 | |
parent | 78ddd6d384264d62ab67bcc5ba7b0ff17c90ce2f (diff) | |
download | syslinux-210395ef1babd423194a5c574b491324d567ab6b.tar.gz |
Export the cache_seg to 32-bit code as core_cache_buf
Export the cache_seg to 32-bit code as core_cache_buf, so we can port
the cache to 32-bit code without porting its 16-bit clients immediately.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/include/core.h | 2 | ||||
-rw-r--r-- | core/layout.inc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/include/core.h b/core/include/core.h index 91bd2d83..0975ebf8 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -4,6 +4,8 @@ #include <com32.h> extern char core_xfer_buf[65536]; +extern char core_cache_buf[65536]; + 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); diff --git a/core/layout.inc b/core/layout.inc index fe292b14..ec011f35 100644 --- a/core/layout.inc +++ b/core/layout.inc @@ -127,7 +127,9 @@ auxseg resb aux_size ; ISOLINUX doesn't have a block cache yet real_mode_seg equ 3000h %else + global cache_seg, core_cache_buf cache_seg equ 3000h ; 64K area for metadata cache +core_cache_buf equ cache_seg << 4 real_mode_seg equ 4000h pktbuf_seg equ cache_seg ; PXELINUX packet buffers |