]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/kw/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / kw / dat.h
index bf1dcdaff78490742d95b40f869a436a39455514..3c42501f7036a4b17b4711cb212ddec9e278d284 100644 (file)
@@ -79,7 +79,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -92,7 +92,7 @@ struct Conf
        ulong   monitor;        /* has monitor? */
        Confmem mem[1];         /* 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 */