]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/i386/param.h
xnu-792.tar.gz
[apple/xnu.git] / bsd / i386 / param.h
index f5e43d3f6769d6409d4319dce9a720e9b92dc9b8..6be5ae90a72017ed81ab828c4c994a140117cb6d 100644 (file)
 
 /*
  * Round p (pointer or byte index) up to a correctly-aligned value for all
- * data types (int, long, ...).   The result is u_int and must be cast to
- * any desired pointer type.
+ * data types (int, long, ...).   The result is unsigned int and must be
+ * cast to any desired pointer type.
  */
 #define        ALIGNBYTES      3
-#define        ALIGN(p)        (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
+#define        ALIGN(p)        (((unsigned int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
 
 #define        NBPG            4096            /* bytes/page */
 #define        PGOFSET         (NBPG-1)        /* byte offset into page */
@@ -83,8 +83,6 @@
 #define BLKDEV_IOSIZE  2048
 #define        MAXPHYS         (64 * 1024)     /* max raw I/O transfer size */
 
-#define        STACK_GROWS_UP  0               /* stack grows to lower addresses */
-
 #define        CLSIZE          1
 #define        CLSIZELOG2      0