ref: b8d3eb98ea92d0420feef324eb54a099465707e3
parent: eb419f93fd5ca6cd199f1bd8223aee694c015fbb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Jul 14 13:06:28 EDT 2021
pc, pc64: increase confmem slots to 64 Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation comes up with around 36 separate memory ranges. ridiculous!
--- a/sys/src/9/pc/dat.h
+++ b/sys/src/9/pc/dat.h
@@ -120,7 +120,6 @@
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 @@
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
--- a/sys/src/9/pc64/dat.h
+++ b/sys/src/9/pc64/dat.h
@@ -122,7 +122,6 @@
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 @@
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
--
⑨