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>
#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);
; 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