more x86_64 work. started to put the mmu bits together in the (former) stage2 loader.
[newos.git] / boot / arm / stage1.h
bloba12b0fbf0c425c2b3fb78163fff0e3a25b53986d
1 /*
2 ** Copyright 2001-2004, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _STAGE1_H
6 #define _STAGE1_H
8 #define LED_DISPLAY(pos, c) \
9 (*(char *)(0x08000100 + (3-pos)*2) = (c))
11 extern void _start(unsigned int mem, void *ext_mem_block, int ext_mem_count, int in_vesa, unsigned int vesa_ptr);
12 extern void clearscreen(void);
13 extern void puts(const char *str);
14 extern int dprintf(const char *fmt, ...);
15 extern void *kmalloc(unsigned int size);
16 extern void kfree(void *ptr);
17 extern int panic(const char *fmt, ...);
20 #endif