summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel/vmem.h
blob: 94aa32d3d0085d96a8e0b1f7c054deb344d838dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef I386_VMEM_H
#define I386_VMEM_H

extern uintptr_t _kernel_start;
extern uintptr_t _kernel_end;

#define KSTART          ((uintptr_t)&_kernel_start)
#define KEND            ((uintptr_t)&_kernel_end - 0xC0000000)

#define KHEAP_START     (GET_VADDR(KEND) + 0x2000)
#define KHEAP_STOP      0xFF7FF000

#define PAGE_DIR_MAP    0xFFFFF000
#define PAGE_TAB_MAP    0xFFC00000
#define PAGE_TMP_MAP    0xFFBFF000

#endif