os/kernel/cpu/i386/arch_consts.h

14 lines
275 B
C
Raw Normal View History

2020-07-22 19:26:55 -05:00
#ifndef ARCH_CONSTS_H
#define ARCH_CONSTS_H
#define PAGE_SZ 4096
#define FRAME_SZ PAGE_SZ
#define KMALLOC_START 0xFE800000
#define KMALLOC_SZ 16384
#define KSTACKS_START 0xC8000000
#define NUM_FRAMES 1024*1024
#define FRAME_NO_OFFSET 12
#define NUM_KERN_FRAMES 4096
#endif