My Kernel v0.1.0
memory.h
Go to the documentation of this file.
1
13#ifndef KERNEL_ARCH_I686_MEMORY_H
14#define KERNEL_ARCH_I686_MEMORY_H
15
16#ifndef KERNEL_MEMORY_H
17#error <kernel/arch/i686/memory.h> must not be used as a standalone header. Please include <kernel/memory.h> instead.
18#endif
19
21#define PAGE_SHIFT 12
23#define PAGE_SIZE (1 << PAGE_SHIFT)
24
31#define PHYSICAL_MEMORY_START 0x500
32
34#define PHYSICAL_MEMORY_END 0xFFFFFFFF
35
40#define ADDRESS_SPACE_SIZE (0x100000000UL)
41#define ADDRESS_SPACE_END (0xFFFFFFFFUL)
42
43#endif /* KERNEL_ARCH_I686_MEMORY_H */