Sorting header files
This commit is contained in:
parent
ebcf155c3a
commit
64df5d2b45
@ -18,11 +18,6 @@
|
||||
#define debug_error(...)
|
||||
#endif
|
||||
|
||||
void debug_printf(char *fmt, ...);
|
||||
void debug_puts(char *s);
|
||||
void debug_putsn(char *s, size_t n);
|
||||
void debug_putsh(char c);
|
||||
|
||||
#define S(x) #x
|
||||
#define S_(x) S(x)
|
||||
#define S__LINE__ S_(__LINE__)
|
||||
@ -37,4 +32,9 @@ void debug_putsh(char c);
|
||||
if(_override) break; \
|
||||
} \
|
||||
}while(0)
|
||||
|
||||
|
||||
// boot/debug.c
|
||||
void debug_printf(char *fmt, ...);
|
||||
void debug_puts(char *s);
|
||||
void debug_putsn(char *s, size_t n);
|
||||
void debug_putsh(char c);
|
@ -24,8 +24,10 @@ struct kernel_boot_data_st{
|
||||
|
||||
#define MMAP_FREE 1
|
||||
|
||||
// boot/kmain.c
|
||||
extern struct kernel_boot_data_st kernel_boot_data;
|
||||
|
||||
// boot/multiboot.c
|
||||
int multiboot_init(uint64_t magic, void *mboot_info);
|
||||
int multiboot_get_memory_area(size_t index, uintptr_t *start, uintptr_t *end, uint32_t *type);
|
||||
#endif
|
@ -3,5 +3,6 @@
|
||||
|
||||
#define VGA_MEMORY P2V(0xB8000)
|
||||
|
||||
// drivers/vga.c
|
||||
void vga_init();
|
||||
void vga_write(char c);
|
Loading…
x
Reference in New Issue
Block a user