summaryrefslogtreecommitdiff
path: root/extlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-19 07:23:45 +0000
committerhpa <hpa>2004-12-19 07:23:45 +0000
commitad10c6bb4ed8830cd0071fda0ee037cf600a7f49 (patch)
tree9b2d09d5d59bddb36e56fac46653f881b8c465bd /extlinux.asm
parent67af2ad7bead9bd53a15cd069217a28f02337811 (diff)
downloadsyslinux-ad10c6bb4ed8830cd0071fda0ee037cf600a7f49.tar.gz
Fix some additional common code issues; fix dangling ES in pxelinux
Diffstat (limited to 'extlinux.asm')
-rw-r--r--extlinux.asm13
1 files changed, 0 insertions, 13 deletions
diff --git a/extlinux.asm b/extlinux.asm
index 757609a2..e12edb7a 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -58,13 +58,6 @@ SECTOR_SIZE equ (1 << SECTOR_SHIFT)
; Since there is no room in the bottom 64K for all of these, we
; stick them at vk_seg:0000 and copy them down before we need them.
;
-; Note: this structure can be added to, but it must
-;
-%define vk_power 6 ; log2(max number of vkernels)
-%define max_vk (1 << vk_power) ; Maximum number of vkernels
-%define vk_shift (16-vk_power) ; Number of bits to shift
-%define vk_size (1 << vk_shift) ; Size of a vkernel buffer
-
struc vkernel
vk_vname: resb FILENAME_MAX ; Virtual name **MUST BE FIRST!**
vk_rname: resb FILENAME_MAX ; Real name
@@ -75,12 +68,6 @@ vk_append: resb max_cmd_len+1 ; Command line
vk_end: equ $ ; Should be <= vk_size
endstruc
-%ifndef DEPEND
-%if (vk_end > vk_size) || (vk_size*max_vk > 65536)
-%error "Too many vkernels defined, reduce vk_power"
-%endif
-%endif
-
;
; Segment assignments in the bottom 640K
; Stick to the low 512K in case we're using something like M-systems flash