]> git.lizzy.rs Git - plan9front.git/commitdiff
kernel: page counts a ulong, not usize
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sun, 25 Jul 2021 14:03:12 +0000 (14:03 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sun, 25 Jul 2021 14:03:12 +0000 (14:03 +0000)
sys/src/9/bcm/dat.h
sys/src/9/bcm64/dat.h
sys/src/9/cycv/dat.h
sys/src/9/kw/dat.h
sys/src/9/omap/dat.h
sys/src/9/teg2/dat.h
sys/src/9/zynq/dat.h

index 75db62a52847d95dba0323197ea3d3355cce8aee..dec4e58609e615b8583b8c317b1e87f1a5dd5361 100644 (file)
@@ -99,7 +99,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -111,7 +111,7 @@ struct Conf
        ulong   nproc;          /* processes */
        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 */
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 */
index 1e08c3dab89b5363949348a022b368d0dccba3f0..a685eca586e74b4d9cc127978e18c165e1d80802 100644 (file)
@@ -61,7 +61,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr kbase;
        uintptr klimit;
 };
@@ -72,7 +72,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 */
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 */
index 3c3792524d56aeba80f6435ed2a92a54eae238aa..741712be65d4e000c4a231f8b2ab4ee028e1b317 100644 (file)
@@ -103,7 +103,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -115,7 +115,7 @@ struct Conf
        ulong   nproc;          /* processes */
        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 */
index 0f0ead822048427176f606993bc2bc74c40c3f79..ac4d9b6063e5579a002a937512896e884820b260 100644 (file)
@@ -114,7 +114,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -126,7 +126,7 @@ struct Conf
        ulong   nproc;          /* processes */
        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 */
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 */