History log of /src/sys/arch/i386/stand/lib/getextmemx.c |
Revision | | Date | Author | Comments |
1.12 |
| 24-Aug-2024 |
riastradh | i386/stand/lib: Nix trailing whitespace and tidy comments a bit.
No functional change intended.
PR port-amd64/49470: NetBSD 7 BETA reboots after bootloader (HP 2133)
|
1.11 |
| 17-Aug-2024 |
andvar | Allocate buf[6] instead of buf[5] to work around buggy firmware, which may write mementry to 24 bytes instead 20 requested with ACPI 3.0 enabled, causing corrupted stack and wrong marks[] values in common_load_kernel(). This in turn was leading to erroneous caluclations and memory addresses. This eventually may result in null pointer dereference in the kernel and sudden reboot for VIA based systems.
Commit should fix boot issues for VIA C7-M based HP 2133 Mini-Note, mentioned in the original bug report. For AMD based HP Compaq 6005 Pro discussed in a separate thread, the issue may be different.
Tested on my VIA C7-D based Biostar Viotech 3100+ motherboard.
needs-pullups to 9, 10.
PR install/49470
|
1.10 |
| 16-Jun-2011 |
joerg | branches: 1.10.58; 1.10.84; 1.10.90; Add an optional MD calling convention flag for use in libsa when space optimisation is critical. Use this on i386 to switch to register passing calling convention for the file system entry points and most assembler call backs that have to preserve at least 3 registers.
|
1.9 |
| 14-Dec-2008 |
christos | branches: 1.9.2; 1.9.12; ANSI and KNF from Anon Ymous
|
1.8 |
| 25-Dec-2007 |
perry | branches: 1.8.6; 1.8.10; 1.8.18; Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h
|
1.7 |
| 11-Dec-2005 |
christos | branches: 1.7.50; 1.7.56; 1.7.60; 1.7.64; merge ktrace-lwp.
|
1.6 |
| 24-Mar-2004 |
drochner | branches: 1.6.16; remove license clauses 3 and 4 from my cpoyright notices
|
1.5 |
| 07-Nov-2003 |
dsl | Adjust location of 'extmem2' diagnostic print.
|
1.4 |
| 16-Apr-2003 |
dsl | branches: 1.4.2; Add some debug prints to the memory size code
|
1.3 |
| 23-Jan-2003 |
jdolecek | add another memory size detection routine, using int15, function 0xc7, which is supported on later IBM PS/2 models; this is necessary to detect memory over 64MB thanks go to Pavel Cahyna for testing on his IBM PS/2 machine with 128MB
bump biosboot version to 2.15
|
1.2 |
| 08-Mar-1999 |
drochner | change the interface for getmementry() to hold the iterator in an argument and to return success or error explicitely. Now we can "error" and "end of list" cleanly; this should fix the problem where the last list element was ignored.
|
1.1 |
| 14-Aug-1997 |
drochner | branches: 1.1.2; New, optional, method to get size of extended memory. It will be used for getextmem() if EXTENDED_MEMDETECT is defined. Worked on all tested machines. Thanks to all testers, especially Martin Husemann!
|
1.1.2.2 |
| 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.1.2.1 |
| 14-Aug-1997 |
thorpej | file getextmemx.c was added on branch marc-pcmcia on 1997-08-23 07:09:40 +0000
|
1.4.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.6.16.1 |
| 21-Jan-2008 |
yamt | sync with head
|
1.7.64.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.7.60.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.7.56.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.7.50.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.8.18.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.8.10.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.8.6.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.9.12.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.9.2.1 |
| 27-Aug-2011 |
jym | Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen work of cherry@.
No regression observed on suspend/restore.
|
1.10.90.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
1.10.84.1 |
| 03-Sep-2024 |
martin | Pull up following revision(s) (requested by andvar in ticket #815):
sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.7 sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.8 sys/arch/i386/stand/lib/getextmemx.c: revision 1.11 sys/arch/i386/stand/lib/getextmemx.c: revision 1.12 sys/arch/i386/stand/lib/biosmemx.S: revision 1.12 sys/arch/i386/stand/lib/biosmemx.S: revision 1.13
Allocate buf[6] instead of buf[5] to work around buggy firmware, which may write mementry to 24 bytes instead 20 requested with ACPI 3.0 enabled, causing corrupted stack and wrong marks[] values in common_load_kernel().
This in turn was leading to erroneous caluclations and memory addresses.
This eventually may result in null pointer dereference in the kernel and sudden reboot for VIA based systems.
Commit should fix boot issues for VIA C7-M based HP 2133 Mini-Note, mentioned in the original bug report. For AMD based HP Compaq 6005 Pro discussed in a separate thread, the issue may be different.
Tested on my VIA C7-D based Biostar Viotech 3100+ motherboard. PR install/49470
i386/stand/lib: Nix trailing whitespace and tidy comments a bit. No functional change intended. PR port-amd64/49470: NetBSD 7 BETA reboots after bootloader (HP 2133)
|
1.10.58.1 |
| 03-Sep-2024 |
martin | Pull up following revision(s) (requested by andvar in ticket #1884):
sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.7 sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.8 sys/arch/i386/stand/lib/getextmemx.c: revision 1.11 sys/arch/i386/stand/lib/getextmemx.c: revision 1.12 sys/arch/i386/stand/lib/biosmemx.S: revision 1.12 sys/arch/i386/stand/lib/biosmemx.S: revision 1.13
Allocate buf[6] instead of buf[5] to work around buggy firmware, which may write mementry to 24 bytes instead 20 requested with ACPI 3.0 enabled, causing corrupted stack and wrong marks[] values in common_load_kernel().
This in turn was leading to erroneous caluclations and memory addresses.
This eventually may result in null pointer dereference in the kernel and sudden reboot for VIA based systems.
Commit should fix boot issues for VIA C7-M based HP 2133 Mini-Note, mentioned in the original bug report. For AMD based HP Compaq 6005 Pro discussed in a separate thread, the issue may be different.
Tested on my VIA C7-D based Biostar Viotech 3100+ motherboard. PR install/49470
i386/stand/lib: Nix trailing whitespace and tidy comments a bit. No functional change intended. PR port-amd64/49470: NetBSD 7 BETA reboots after bootloader (HP 2133)
|