Add UNULL
authorMichael Brown <mcb30@etherboot.org>
Fri, 12 Jan 2007 01:40:12 +0000 (01:40 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 12 Jan 2007 01:40:12 +0000 (01:40 +0000)
src/include/gpxe/uaccess.h

index 38853bf..05f89e0 100644 (file)
@@ -21,4 +21,7 @@
 
 #include <bits/uaccess.h>
 
+/** Equivalent of NULL for user pointers */
+#define UNULL ( ( userptr_t ) 0 )
+
 #endif /* _GPXE_UACCESS_H */