History log of /netbsd-src/sys/arch/i386/stand/lib/getextmemx.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 1f825b2b 24-Aug-2024 riastradh <riastradh@NetBSD.org>

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)


# 90d347b4 17-Aug-2024 andvar <andvar@NetBSD.org>

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 c

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

show more ...


# c97378d0 16-Jun-2011 joerg <joerg@NetBSD.org>

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

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.

show more ...


# 334f5e8f 14-Dec-2008 christos <christos@NetBSD.org>

ANSI and KNF from Anon Ymous


# b6a2ef75 25-Dec-2007 perry <perry@NetBSD.org>

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 566efeb6 24-Mar-2004 drochner <drochner@NetBSD.org>

remove license clauses 3 and 4 from my cpoyright notices


# a8af3746 07-Nov-2003 dsl <dsl@NetBSD.org>

Adjust location of 'extmem2' diagnostic print.


# 0c5af932 16-Apr-2003 dsl <dsl@NetBSD.org>

Add some debug prints to the memory size code


# 31fcb050 23-Jan-2003 jdolecek <jdolecek@NetBSD.org>

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

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

show more ...


# 0cb921e6 08-Mar-1999 drochner <drochner@NetBSD.org>

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

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.

show more ...


# 2092d92e 14-Aug-1997 drochner <drochner@NetBSD.org>

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 Huseman

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!

show more ...