summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 02:40:12 +0100
committerMichael Brown2007-01-12 02:40:12 +0100
commit2c66588f3e0b6f48ec1d19bd4d6eb4804ed940e7 (patch)
treea0905f5913e9d72c9f6e5d03e7b606beb37c6d2a /src/include/gpxe
parentFix typo (diff)
downloadipxe-2c66588f3e0b6f48ec1d19bd4d6eb4804ed940e7.tar.gz
ipxe-2c66588f3e0b6f48ec1d19bd4d6eb4804ed940e7.tar.xz
ipxe-2c66588f3e0b6f48ec1d19bd4d6eb4804ed940e7.zip
Add UNULL
Diffstat (limited to 'src/include/gpxe')
-rw-r--r--src/include/gpxe/uaccess.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/uaccess.h b/src/include/gpxe/uaccess.h
index 38853bfbc..05f89e031 100644
--- a/src/include/gpxe/uaccess.h
+++ b/src/include/gpxe/uaccess.h
@@ -21,4 +21,7 @@
#include <bits/uaccess.h>
+/** Equivalent of NULL for user pointers */
+#define UNULL ( ( userptr_t ) 0 )
+
#endif /* _GPXE_UACCESS_H */