]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/bcm64/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / bcm64 / dat.h
index fc27e351f24824cdaf46f7e878042a5015fd22ca..79dbd95b3da5c0f3d721c44653ab833fabdedcb2 100644 (file)
@@ -88,7 +88,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -100,7 +100,7 @@ struct Conf
        ulong   nproc;          /* processes */
        Confmem mem[4];         /* physical memory */
        ulong   npage;          /* total physical pages of memory */
-       usize   upages;         /* user page pool */
+       ulong   upages;         /* user page pool */
        ulong   copymode;       /* 0 is copy on write, 1 is copy on reference */
        ulong   ialloc;         /* max interrupt time allocation in bytes */
        ulong   pipeqsize;      /* size in bytes of pipe queues */