From b7e67e9e36833431e3ae993e0ce482115de1ff45 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 25 Jul 2021 14:03:12 +0000 Subject: [PATCH] kernel: page counts a ulong, not usize --- sys/src/9/bcm/dat.h | 4 ++-- sys/src/9/bcm64/dat.h | 4 ++-- sys/src/9/cycv/dat.h | 4 ++-- sys/src/9/kw/dat.h | 4 ++-- sys/src/9/omap/dat.h | 4 ++-- sys/src/9/teg2/dat.h | 4 ++-- sys/src/9/zynq/dat.h | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sys/src/9/bcm/dat.h b/sys/src/9/bcm/dat.h index 75db62a52..dec4e5860 100644 --- a/sys/src/9/bcm/dat.h +++ b/sys/src/9/bcm/dat.h @@ -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 */ diff --git a/sys/src/9/bcm64/dat.h b/sys/src/9/bcm64/dat.h index fc27e351f..79dbd95b3 100644 --- a/sys/src/9/bcm64/dat.h +++ b/sys/src/9/bcm64/dat.h @@ -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 */ diff --git a/sys/src/9/cycv/dat.h b/sys/src/9/cycv/dat.h index 1e08c3dab..a685eca58 100644 --- a/sys/src/9/cycv/dat.h +++ b/sys/src/9/cycv/dat.h @@ -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 */ diff --git a/sys/src/9/kw/dat.h b/sys/src/9/kw/dat.h index bf1dcdaff..3c42501f7 100644 --- a/sys/src/9/kw/dat.h +++ b/sys/src/9/kw/dat.h @@ -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 */ diff --git a/sys/src/9/omap/dat.h b/sys/src/9/omap/dat.h index 3c3792524..741712be6 100644 --- a/sys/src/9/omap/dat.h +++ b/sys/src/9/omap/dat.h @@ -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 */ diff --git a/sys/src/9/teg2/dat.h b/sys/src/9/teg2/dat.h index 0f0ead822..ac4d9b606 100644 --- a/sys/src/9/teg2/dat.h +++ b/sys/src/9/teg2/dat.h @@ -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 */ diff --git a/sys/src/9/zynq/dat.h b/sys/src/9/zynq/dat.h index c3a632177..116ca2982 100644 --- a/sys/src/9/zynq/dat.h +++ b/sys/src/9/zynq/dat.h @@ -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 */