summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-07-14 17:06:28 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-07-14 17:06:28 +0000
commit4483500f623b24abe1c1dac59b407eb5d83c9c9e (patch)
treeeea13b011ae87ff6b672b853fd234e288914f627
parent1a46b6c19e0e81cd3125a9e026e6aec76ccb110b (diff)
downloadplan9front-4483500f623b24abe1c1dac59b407eb5d83c9c9e.tar.xz
pc, pc64: increase confmem slots to 64
Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation comes up with around 36 separate memory ranges. ridiculous!
-rw-r--r--sys/src/9/pc/dat.h2
-rw-r--r--sys/src/9/pc64/dat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/dat.h b/sys/src/9/pc/dat.h
index 8eb2f280f..63789fcee 100644
--- a/sys/src/9/pc/dat.h
+++ b/sys/src/9/pc/dat.h
@@ -120,7 +120,6 @@ struct Conf
ulong nmach; /* processors */
ulong nproc; /* processes */
ulong monitor; /* has monitor? */
- Confmem mem[16]; /* physical memory */
ulong npage; /* total physical pages of memory */
ulong upages; /* user page pool */
ulong nimage; /* number of page cache image headers */
@@ -130,6 +129,7 @@ struct Conf
ulong ialloc; /* max interrupt time allocation in bytes */
ulong pipeqsize; /* size in bytes of pipe queues */
int nuart; /* number of uart devices */
+ Confmem mem[64]; /* physical memory */
};
struct Segdesc
diff --git a/sys/src/9/pc64/dat.h b/sys/src/9/pc64/dat.h
index b8628db9d..cfa07a0c5 100644
--- a/sys/src/9/pc64/dat.h
+++ b/sys/src/9/pc64/dat.h
@@ -122,7 +122,6 @@ struct Conf
ulong nmach; /* processors */
ulong nproc; /* processes */
ulong monitor; /* has monitor? */
- Confmem mem[16]; /* physical memory */
ulong npage; /* total physical pages of memory */
ulong upages; /* user page pool */
ulong nimage; /* number of page cache image headers */
@@ -132,6 +131,7 @@ struct Conf
ulong ialloc; /* max interrupt time allocation in bytes */
ulong pipeqsize; /* size in bytes of pipe queues */
int nuart; /* number of uart devices */
+ Confmem mem[64]; /* physical memory */
};
struct Segdesc