diff options
| author | hpa <hpa> | 2002-04-27 01:51:13 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2002-04-27 01:51:13 +0000 |
| commit | 8e7b2134e3dbb5bf2fe1a9f0bc4d334f4e14df53 (patch) | |
| tree | e7d020661d39f6745d5cfc6f9738ce11e3484cbc /ldlinux.asm | |
| parent | c4a76af3217e1dc6a2ddb0fc85c0b5195047d4bd (diff) | |
| download | syslinux-8e7b2134e3dbb5bf2fe1a9f0bc4d334f4e14df53.tar.gz | |
Move configuration file handling to separate file (currently PXELINUX
only); use new config file parser
Diffstat (limited to 'ldlinux.asm')
| -rw-r--r-- | ldlinux.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index 4c83e0d2..bbdc1bf3 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -37,6 +37,8 @@ ; my_id equ syslinux_id max_cmd_len equ 255 ; Must be odd; 255 is the kernel limit +FILENAME_MAX_LG2 equ 4 ; log2(Max filename size Including final null) +FILENAME_MAX equ 11 ; Max mangled filename size retry_count equ 6 ; How patient are we with the disk? HIGHMEM_MAX equ 037FFFFFFh ; DEFAULT highest address for an initrd DEFAULT_BAUD equ 9600 ; Default baud rate for serial port @@ -62,8 +64,8 @@ BAUD_DIVISOR equ 115200 ; Serial port parameter %define vk_size (1 << vk_shift) ; Size of a vkernel buffer struc vkernel -vk_vname: resb 11 ; Virtual name **MUST BE FIRST!** -vk_rname: resb 11 ; Real name +vk_vname: resb FILENAME_MAX ; Virtual name **MUST BE FIRST!** +vk_rname: resb FILENAME_MAX ; Real name vk_appendlen: resw 1 alignb 4 vk_append: resb max_cmd_len+1 ; Command line |
