History log of /netbsd-src/sys/arch/i386/stand/lib/bootinfo_memmap.c (Results 1 – 8 of 8)
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 ...


# 5e073c03 13-Sep-2019 manu <manu@NetBSD.org>

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 201

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h

show more ...


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

ANSI and KNF from Anon Ymous


# 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


# c3748d91 07-Jul-2001 perry <perry@NetBSD.org>

b*()->mem*()


# 743494ae 08-Mar-1999 drochner <drochner@NetBSD.org>

add a function to pass the "memory map" ie the outcome of INT15/0xe820,
to the kernel