From 210395ef1babd423194a5c574b491324d567ab6b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 2 Jun 2009 07:36:43 -0700 Subject: 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 --- core/include/core.h | 2 ++ core/layout.inc | 2 ++ 2 files changed, 4 insertions(+) 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 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 -- cgit v1.2.1