1 ;; -----------------------------------------------------------------------
3 ;; Copyright 1994-2006 H. Peter Anvin - All Rights Reserved
5 ;; This program is free software; you can redistribute it and/or modify
6 ;; it under the terms of the GNU General Public License as published by
7 ;; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ;; Boston MA 02111-1307, USA; either version 2 of the License, or
9 ;; (at your option) any later version; incorporated herein by reference.
11 ;; -----------------------------------------------------------------------
16 ;; Common header file for the handling of keyword hash and macros
19 %ifndef DEPEND ; Generated file
20 %include "kwdhash.gen"
24 dd hash_%1 ; Hash value
30 dd hash_%1 ; Hash value
31 dw %3 ; 16-bit argument
36 dd hash_%1 ; Hash value
37 db %3, %4 ; 2 8-bit arguments
41 keywd_size equ 8 ; Bytes per keyword
45 %define FKeyN(n) (FKeyName+(((n)-1) << FILENAME_MAX_LG2))
48 keyword menu, pc_comment
50 keyword append, pc_append
51 keyword default, pc_default
52 keyword display, pc_filecmd, get_msg_file
53 keyword font, pc_filecmd, loadfont
54 keyword implicit, pc_setint16, AllowImplicit
55 keyword kbdmap, pc_filecmd, loadkeys
56 keyword kernel, pc_kernel, VK_KERNEL
57 keyword linux, pc_kernel, VK_LINUX
58 keyword boot, pc_kernel, VK_BOOT
59 keyword bss, pc_kernel, VK_BSS
60 keyword pxe, pc_kernel, VK_PXE
61 keyword fdimage, pc_kernel, VK_FDIMAGE
62 keyword comboot, pc_kernel, VK_COMBOOT
63 keyword com32, pc_kernel, VK_COM32
64 keyword config, pc_kernel, VK_CONFIG
65 keyword label, pc_label
66 keyword prompt, pc_setint16, ForcePrompt
68 keyword serial, pc_serial
69 keyword console, pc_setint16, DisplayCon
70 keyword timeout, pc_timeout, KbdTimeout
71 keyword totaltimeout, pc_timeout, TotalTimeout
72 keyword ontimeout, pc_ontimeout
73 keyword onerror, pc_onerror
74 keyword allowoptions, pc_setint16, AllowOptions
75 keyword noescape, pc_setint16, NoEscape
76 keyword f1, pc_fkey, FKeyN(1)
77 keyword f2, pc_fkey, FKeyN(2)
78 keyword f3, pc_fkey, FKeyN(3)
79 keyword f4, pc_fkey, FKeyN(4)
80 keyword f5, pc_fkey, FKeyN(5)
81 keyword f6, pc_fkey, FKeyN(6)
82 keyword f7, pc_fkey, FKeyN(7)
83 keyword f8, pc_fkey, FKeyN(8)
84 keyword f9, pc_fkey, FKeyN(9)
85 keyword f10, pc_fkey, FKeyN(10)
86 keyword f0, pc_fkey, FKeyN(10)
88 keyword ipappend, pc_ipappend
90 %if IS_PXELINUX || IS_ISOLINUX
91 keyword localboot, pc_localboot
94 keywd_count equ ($-keywd_table)/keywd_size