19b449e56f4f5a94dd5a71d22dc1d86286b90eba
3 * Copyright (C) 1999, 2000 Brian Palmer <brianp@sginet.com>
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; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #define PACKED __attribute__((packed))
29 void LoadAndBootReactOS(int nOSToBoot
);
30 void ReactOSMemInit(void);
31 void ReactOSBootKernel(void);
32 BOOL
ReactOSLoadPEImage(FILE *pImage
);
33 void enable_a20(void);
38 // This structure is prototyped here but allocated in ros.S
39 // if you change this prototype make sure to update ros.S
43 * Magic value (useless really)
54 * Number of files (including the kernel) loaded
56 unsigned int nr_files
;
59 * Range of physical memory being used by the system
61 unsigned int start_mem
;
65 * List of module lengths (terminated by a 0)
67 unsigned int module_lengths
[64];
70 * Kernel parameter string
72 char kernel_parameters
[256];
75 #endif // defined __ROSBOOT_H