alsa.audio: build the bridge link lib only for linux architecture
[AROS.git] / arch / ppc-sam440 / boot / parthenope / src / menu.h
blobbf8622a8a07621273f4b513a0f9759c964a4ab54
1 /* menu.h */
3 /* <project_name> -- <project_description>
5 * Copyright (C) 2006 - 2007
6 * Giuseppe Coviello <cjg@cruxppc.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #ifndef _MENU_H
24 #define _MENU_H
26 #include "context.h"
27 #include "device.h"
29 #define DEFAULT_TYPE 0
30 #define IDE_TYPE 1
31 #define TFTP_TYPE 2
32 #define CD_TYPE 3
34 #define MAX_MODULES 100
36 struct EntryObject {
37 char *name;
38 char *args;
39 char *partition;
42 typedef struct menu {
43 char *title;
44 char *kernel;
45 char *other;
46 char *append;
47 char *initrd;
48 struct EntryObject *modules[MAX_MODULES];
49 /* char *modules[MAX_MODULES]; */
50 int modules_cnt;
51 char *argv[MAX_MODULES];
52 int argc;
53 int device_type;
54 int device_num;
55 int partition;
56 int default_os;
57 int delay;
58 char *server_ip;
59 struct menu *next;
60 } menu_t;
62 menu_t *menu_load(boot_dev_t * boot);
63 menu_t *menu_display(menu_t * self);
64 void menu_free(menu_t * self);
66 #endif /* _MENU_H */