]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/zynq/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / zynq / dat.h
index c3a6321775d9fd14a7fb98f2b8d5430ec9e7fb1f..116ca2982737a9483c6e637033cd36568c5bc474 100644 (file)
@@ -60,7 +60,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr kbase;
        uintptr klimit;
 };
@@ -71,7 +71,7 @@ struct Conf
        ulong   nproc;          /* processes */
        Confmem mem[2];         /* 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 */