diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-05-22 19:41:50 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-05-22 19:41:50 -0700 |
commit | c9bd66193212de58d1f7de78e3076b01e0172640 (patch) | |
tree | 1e135a8f04c66c5b03b29ae00c8175e8eb31c78d | |
parent | 9e08dc7e6528252a1f81b1c380a10a32f46d84e6 (diff) | |
download | syslinux-c9bd66193212de58d1f7de78e3076b01e0172640.tar.gz |
ISOLINUX: Include the caching codesyslinux-3.50-pre13
Include the caching code in isolinux, and adjust the segments accordingly.
This is currently unused, but is indend to be used by getc shortly.
-rw-r--r-- | isolinux.asm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/isolinux.asm b/isolinux.asm index 9bc1b45a..c9654f6a 100644 --- a/isolinux.asm +++ b/isolinux.asm @@ -67,7 +67,8 @@ vk_end: equ $ ; Should be <= vk_size ; Segment assignments in the bottom 640K ; 0000h - main code/data segment (and BIOS segment) ; -real_mode_seg equ 3000h +real_mode_seg equ 4000h +cache_seg equ 3000h ; 64K area for metadata cache vk_seg equ 2000h ; Virtual kernels xfer_buf_seg equ 1000h ; Bounce buffer for I/O to high mem comboot_seg equ real_mode_seg ; COMBOOT image loading zone @@ -837,7 +838,12 @@ all_read: %include "init.inc" %include "cpuinit.inc" - ; Patch the writechr routine to point to the full code +; +; Initialize the metadata cache +; + call initcache + +; Patch the writechr routine to point to the full code mov word [writechr+1], writechr_full-(writechr+3) ; Tell the user we got this far... @@ -1483,6 +1489,7 @@ getfssec: %include "highmem.inc" ; High memory sizing %include "strcpy.inc" ; strcpy() %include "rawcon.inc" ; Console I/O w/o using the console functions +%include "cache.inc" ; ----------------------------------------------------------------------------- ; Begin data section |