mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
- Chenged Puts() syscall to Write() - Improved syscalls.h - added a new header in terminal/terminal.h - moved gfxMode into screen/gfxmode.h
28 lines
698 B
C
28 lines
698 B
C
#ifndef ADDRESSES_H
|
|
#define ADDRESSES_H
|
|
|
|
// TODO: Don't let these be just random numbers?
|
|
|
|
// Locations
|
|
#define KERNEL_LOC 0x100000
|
|
#define FILETABLE_LOC 0x7000
|
|
#define TERMINAL_INFO_LOC 0x2000
|
|
#define MODE_INFO_BLOCK_LOC 0x9000
|
|
|
|
// Font
|
|
#define FONT_LOC 0x6000
|
|
#define FONT_WIDTH (FONT_LOC)
|
|
#define FONT_HEIGHT (FONT_LOC + 1)
|
|
|
|
// Physical memory manager
|
|
#define MEMMAP_AREA 0x30000
|
|
#define SMAP_ENTRY_COUNT 0x8500
|
|
#define SMAP_ENTRIES 0x8504
|
|
#define PHYS_MEM_MAX_BLOCKS 0x1804
|
|
#define PHYS_MEM_USED_BLOCKS 0x1808
|
|
|
|
// Virtual memory manager
|
|
#define CURRENT_PAGE_DIR_ADDR 0x1800
|
|
|
|
#endif
|