2 * Copyright 2011 Intel Corporation - All Rights Reserved
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
7 * Boston MA 02110-1301, USA; either version 2 of the License, or
8 * (at your option) any later version; incorporated herein by reference.
16 * These values correspond to the "default" and "ui" commands
17 * respectively. "ui" takes precendence over "default".
19 #define LEVEL_DEFAULT 1
22 extern short uappendlen
; //bytes in append= command
23 extern short ontimeoutlen
; //bytes in ontimeout command
24 extern short onerrorlen
; //bytes in onerror command
25 extern short forceprompt
; //force prompt
26 extern short noescape
; //no escape
27 extern short nocomplete
; //no label completion on TAB key
28 extern short allowimplicit
; //allow implicit kernels
29 extern short allowoptions
; //user-specified options allowed
30 extern short includelevel
; //nesting level
31 extern short defaultlevel
; //the current level of default
32 extern short vkernel
; //have we seen any "label" statements?
33 extern short displaycon
; //conio.inc
34 extern short nohalt
; //idle.inc
36 extern const char *default_cmd
; //"default" command line
37 extern const char *onerror
; //"onerror" command line
38 extern const char *ontimeout
; //"ontimeout" command line
40 extern void cat_help_file(int key
);
41 extern struct menu_entry
*find_label(const char *str
);
42 extern void print_labels(const char *prefix
, size_t len
);
44 extern int new_linux_kernel(char *okernel
, char *ocmdline
);
46 extern void pm_load_high(com32sys_t
*regs
);
48 extern void ldlinux_enter_command(void);
49 extern void ldlinux_console_init(void);
50 extern const char *apply_extension(const char *kernel
, const char *ext
);
52 #endif /* __CONFIG_H__ */