]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/ppc/param.h
xnu-517.12.7.tar.gz
[apple/xnu.git] / bsd / ppc / param.h
index b0fb62ded5d292796c1dea70cafb942b452e557b..fa8f2cf46b42d021e4fd10672f4ead9b5d0eaad0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -56,7 +56,7 @@
 #define        CLSIZELOG2      0
 
 #define STACKSIZE 4                    /* pages in kernel stack */
-#define        UPAGES  (USIZE+STACKSIZE)       /* total pages in u-area */
+#define        UPAGES  0       /* total pages in u-area */
                                        /* red zone is beyond this */
 
 /*
 #define        bdbtofsb(bn)    ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
 
 /* from machdep/ppc/proc_reg.h */
-#if __BIG_ENDIAN__
+#ifdef __BIG_ENDIAN__
 #define ENDIAN_MASK(val,size) (1 << (size-1 - val))
 #else
 #error code not ported to little endian targets yet