summaryrefslogtreecommitdiff
path: root/pcnet32/vm_param.h
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2009-11-14 00:15:08 +0100
committerZheng Da <zhengda1936@gmail.com>2009-11-14 00:15:08 +0100
commit6c25f97b8e9171eb399d56549cded82d29d05924 (patch)
treed4870807926dcba2a27fb55f705f8af1424d77b1 /pcnet32/vm_param.h
parentea13a76596f0a980fad58b83a6b50917d65b67c0 (diff)
A working user-level pcnet32 driver.user-level_pcnet32
Diffstat (limited to 'pcnet32/vm_param.h')
-rw-r--r--pcnet32/vm_param.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcnet32/vm_param.h b/pcnet32/vm_param.h
new file mode 100644
index 000000000..7b615c8a0
--- /dev/null
+++ b/pcnet32/vm_param.h
@@ -0,0 +1,7 @@
+#ifndef __VM_PARAM_H__
+#define __VM_PARAM_H__
+
+#define PAGE_SIZE __vm_page_size
+#define PAGE_MASK (PAGE_SIZE-1)
+
+#endif