From c9bd66193212de58d1f7de78e3076b01e0172640 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 22 May 2007 19:41:50 -0700 Subject: ISOLINUX: Include the caching code Include the caching code in isolinux, and adjust the segments accordingly. This is currently unused, but is indend to be used by getc shortly. --- isolinux.asm | 11 +++++++++-- 1 file 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 -- cgit v1.2.1