A few improvements suggested by Ingo.

This commit is contained in:
Alex Smith
2012-07-06 14:34:50 +01:00
parent 84bf29f97b
commit 15feb60325
7 changed files with 37 additions and 30 deletions
+4
View File
@@ -15,6 +15,10 @@
#include <arch_config.h>
#ifndef KERNEL_LOAD_BASE
# define KERNEL_LOAD_BASE KERNEL_BASE
#endif
// macro to check whether an address is in the kernel address space (avoid
// always-true checks)
#if KERNEL_BASE == 0