|
@@ -10,11 +10,13 @@
|
|
* we simulate an x86-style page table for the linux mm code
|
|
* we simulate an x86-style page table for the linux mm code
|
|
*/
|
|
*/
|
|
|
|
|
|
-#include <linux/mm.h> /* for vm_area_struct */
|
|
|
|
#include <linux/bitops.h>
|
|
#include <linux/bitops.h>
|
|
|
|
+#include <linux/spinlock.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/cache.h>
|
|
#include <asm/cache.h>
|
|
|
|
|
|
|
|
+struct vm_area_struct;
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel
|
|
* kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel
|
|
* memory. For the return value to be meaningful, ADDR must be >=
|
|
* memory. For the return value to be meaningful, ADDR must be >=
|