Magellan Linux

Contents of /trunk/mkinitrd-magellan/isolinux/keywords.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File size: 2790 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 ;; $Id: keywords.inc,v 1.1 2007-09-01 22:44:05 niro Exp $
2 ;; -----------------------------------------------------------------------
3 ;;
4 ;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved
5 ;;
6 ;; This program is free software; you can redistribute it and/or modify
7 ;; it under the terms of the GNU General Public License as published by
8 ;; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 ;; Boston MA 02111-1307, USA; either version 2 of the License, or
10 ;; (at your option) any later version; incorporated herein by reference.
11 ;;
12 ;; -----------------------------------------------------------------------
13
14 ;;
15 ;; keywords.inc
16 ;;
17 ;; Common header file for the handling of keyword hash and macros
18 ;;
19
20 %ifndef DEPEND ; Generated file
21 %include "kwdhash.gen"
22 %endif
23
24 %macro keyword 2
25 dd hash_%1 ; Hash value
26 dw 0 ; No argument
27 dw %2 ; Entrypoint
28 %endmacro
29
30 %macro keyword 3
31 dd hash_%1 ; Hash value
32 dw %3 ; 16-bit argument
33 dw %2 ; Entrypoint
34 %endmacro
35
36 %macro keyword 4
37 dd hash_%1 ; Hash value
38 db %3, %4 ; 2 8-bit arguments
39 dw %2 ; Entrypoint
40 %endmacro
41
42 keywd_size equ 8 ; Bytes per keyword
43
44 align 4, db 0
45
46 keywd_table:
47 keyword menu, pc_comment
48 keyword append, pc_append
49 keyword default, pc_default
50 keyword display, pc_filecmd, get_msg_file
51 keyword font, pc_filecmd, loadfont
52 keyword implicit, pc_setint16, AllowImplicit
53 keyword kbdmap, pc_filecmd, loadkeys
54 keyword kernel, pc_kernel
55 keyword label, pc_label
56 keyword prompt, pc_setint16, ForcePrompt
57 keyword say, pc_say
58 keyword serial, pc_serial
59 keyword console, pc_setint16, DisplayCon
60 keyword timeout, pc_timeout, KbdTimeout
61 keyword totaltimeout, pc_timeout, TotalTimeout
62 keyword ontimeout, pc_ontimeout
63 keyword onerror, pc_onerror
64 keyword allowoptions, pc_setint16, AllowOptions
65 keyword noescape, pc_setint16, NoEscape
66 keyword f1, pc_fkey, FKeyName+(0<<FILENAME_MAX_LG2)
67 keyword f2, pc_fkey, FKeyName+(1<<FILENAME_MAX_LG2)
68 keyword f3, pc_fkey, FKeyName+(2<<FILENAME_MAX_LG2)
69 keyword f4, pc_fkey, FKeyName+(3<<FILENAME_MAX_LG2)
70 keyword f5, pc_fkey, FKeyName+(4<<FILENAME_MAX_LG2)
71 keyword f6, pc_fkey, FKeyName+(5<<FILENAME_MAX_LG2)
72 keyword f7, pc_fkey, FKeyName+(6<<FILENAME_MAX_LG2)
73 keyword f8, pc_fkey, FKeyName+(7<<FILENAME_MAX_LG2)
74 keyword f9, pc_fkey, FKeyName+(8<<FILENAME_MAX_LG2)
75 keyword f10, pc_fkey, FKeyName+(9<<FILENAME_MAX_LG2)
76 keyword f0, pc_fkey, FKeyName+(9<<FILENAME_MAX_LG2)
77 %if IS_PXELINUX
78 keyword ipappend, pc_ipappend
79 %endif
80 %if IS_PXELINUX || IS_ISOLINUX
81 keyword localboot, pc_localboot
82 %endif
83
84 keywd_count equ ($-keywd_table)/keywd_size
85