aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2002-04-27 02:39:35 +0000
committerhpa <hpa>2002-04-27 02:39:35 +0000
commit09f23d80a2697f8f536711f32cdc05f8751f1fe4 (patch)
treef6ada992a69dc90786527b884fbcf939f8918714
parent036ec7064006336b8f7b5fde30991feb573a418f (diff)
downloadsyslinux.git-09f23d80a2697f8f536711f32cdc05f8751f1fe4.tar.gz
syslinux.git-09f23d80a2697f8f536711f32cdc05f8751f1fe4.tar.xz
syslinux.git-09f23d80a2697f8f536711f32cdc05f8751f1fe4.zip
Complete conversion to new config file parser
-rw-r--r--keywords.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/keywords.inc b/keywords.inc
new file mode 100644
index 00000000..ddab5dd0
--- /dev/null
+++ b/keywords.inc
@@ -0,0 +1,29 @@
+;; $Id$
+;; -----------------------------------------------------------------------
+;;
+;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved
+;;
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+;; Bostom MA 02111-1307, USA; either version 2 of the License, or
+;; (at your option) any later version; incorporated herein by reference.
+;;
+;; -----------------------------------------------------------------------
+
+;;
+;; keywords.inc
+;;
+;; Common header file for the handling of keyword hash and macros
+;;
+
+%ifndef DEPEND ; Generated file
+%include "kwdhash.inc"
+%endif
+
+%macro keyword 2
+ dd hash_%1 ; Hash value
+ dw %2 ; Entrypoint
+%endmacro
+
+keywd_size equ 6 ; Bytes per keyword