summaryrefslogtreecommitdiffstats
path: root/src/config/defaults
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-05-26 18:55:06 +0200
committerMichael Brown2010-08-19 13:35:28 +0200
commita320085750c421782e64c266c4c3f66a408a35e1 (patch)
tree8bcf417e7a2a7c443ca8aaae0280f75c395787a2 /src/config/defaults
parent[linux] Add timer (diff)
downloadipxe-a320085750c421782e64c266c4c3f66a408a35e1.tar.gz
ipxe-a320085750c421782e64c266c4c3f66a408a35e1.tar.xz
ipxe-a320085750c421782e64c266c4c3f66a408a35e1.zip
[linux] Add uaccess
Add user access API for linux. On linux userspace virtual == user == phys addresses. Physical addresses also being the same is wrong, but there is no general way of converting userspace addresses to physical as what appears to be contiguous in userspace is physically fragmented. Currently only the DMA memory is special-cased, but its conversion to bus addresses is done in phys_to_bus. This is known to break virtio as it is passing phys addresses to the virtual device. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r--src/config/defaults/linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h
index 67f53a38..7f180b50 100644
--- a/src/config/defaults/linux.h
+++ b/src/config/defaults/linux.h
@@ -9,6 +9,7 @@
#define CONSOLE_LINUX
#define TIMER_LINUX
+#define UACCESS_LINUX
#define IMAGE_SCRIPT