diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-02 16:43:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-02 16:43:34 +0100 |
commit | 76795abc2f08f180b7a895aaf26e80b971caa81c (patch) | |
tree | e12017fd5856afb1cdcfd9940dbf4661017dba16 /kernel/config.h | |
parent | c7bcf94b1e70721d0f7bfb5ca383d996559c2559 (diff) | |
download | kogata-76795abc2f08f180b7a895aaf26e80b971caa81c.tar.gz kogata-76795abc2f08f180b7a895aaf26e80b971caa81c.zip |
Add physical page (frame) allocator.
Diffstat (limited to 'kernel/config.h')
-rw-r--r-- | kernel/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/config.h b/kernel/config.h index b1a97b2..ad3dfb2 100644 --- a/kernel/config.h +++ b/kernel/config.h @@ -14,10 +14,11 @@ #endif -extern char k_highhalf_addr; // defined in linker script : 0xC0000000 -#define K_HIGHHALF_ADDR ((void*)&k_highhalf_addr) +extern char k_highhalf_addr, k_end_addr; // defined in linker script : 0xC0000000 +#define K_HIGHHALF_ADDR ((size_t)&k_highhalf_addr) +#define K_END_ADDR ((size_t)&k_end_addr) -#define OS_NAME "Macroscope" +#define OS_NAME "macrO.Scope" #define OS_VERSION "0.0.1" // Comment to disable either form of debug log output |