| History log of /src/sys/arch/i386/stand/lib/Makefile |
| Revision | | Date | Author | Comments |
| 1.53 |
| 01-Jul-2024 |
rin | i386: stand: G/C `I386_INCLUDE_DOS` leftover
Anyway, `I386_INCLUDE_DISK` is enabled for dosboot.
|
| 1.52 |
| 29-Jun-2024 |
rin | branches: 1.52.2; i386: stand: Adjust for DOS-routine migration
|
| 1.51 |
| 29-Jun-2024 |
rin | i386: stand: G/C `I386_INCLUDE_BUS`; only used by netboot
|
| 1.50 |
| 29-Jun-2024 |
rin | i386: stand: G/C unused `printmemlist`, NFC
|
| 1.49 |
| 03-Jun-2023 |
lukem | bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.48 |
| 06-Sep-2020 |
mrg | add support for new GCC 9 warnings that may be too much to fix right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.
apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
|
| 1.47 |
| 13-Sep-2019 |
manu | 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
|
| 1.46 |
| 18-Aug-2019 |
manu | Add GPT and RAIDframe support to bootloaders
Classic BIOS (/boot) and EFI bootloaders can now name devices using the NAME=gpt_label syntax, or using raid partitions. Here are examples: boot NAME=root:/netbsd boot raid0e:/netbsd
|
| 1.45 |
| 02-Feb-2018 |
mrg | branches: 1.45.4; 1.45.8; convert HAVE_GCC handling to modern GCC release numbering: - HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for GCC 5.4 and GCC 5.5.) - remove some more GCC 4.8 code. we don't support GCC 4 here. - adjust set lists to gcc=5 from gcc=53.
add some basic HAVE_GCC=6 handling (totally unused so far.)
|
| 1.44 |
| 22-Mar-2016 |
mrg | branches: 1.44.10; remove a bunch of "@echo done" from the tail of rules. these messages were vaguely useful back when we didn't run make -j, but now you end up with a single line "done" every so often, with no idea what it is for. very few other targets claim they're done so just remove these.
|
| 1.43 |
| 07-Sep-2015 |
uebayasi | Order library object build.
|
| 1.42 |
| 07-Sep-2015 |
uebayasi | Sprinkle more done messages.
|
| 1.41 |
| 16-Apr-2015 |
mrg | remove HAVE_GCC=45 fragment.
|
| 1.40 |
| 08-Apr-2014 |
christos | branches: 1.40.4; make this more attractive (to me).
|
| 1.39 |
| 08-Apr-2014 |
joerg | Unbreak clang build by restricting -O0 hack to gcc.
|
| 1.38 |
| 07-Apr-2014 |
christos | XXX: gcc-4.8 bug. Passes wrong arguments to biosdisk_read(). Turn optimization off.
|
| 1.37 |
| 14-Feb-2014 |
joerg | branches: 1.37.2; Only realprot.S still needs to be built with GNU as.
|
| 1.36 |
| 10-Aug-2012 |
joerg | branches: 1.36.2; 1.36.4; Don't depend on HAVE_GCC being always present.
|
| 1.35 |
| 22-Jun-2011 |
mrg | branches: 1.35.2; apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not very trivial.
|
| 1.34 |
| 07-Jun-2011 |
joerg | Catch up with addition of putstr32.S.
|
| 1.33 |
| 02-Jun-2011 |
dsl | Add C stubs to allow prints early in the boot code.
|
| 1.32 |
| 20-May-2011 |
joerg | branches: 1.32.2; Disable integrated assembler for files that use .code16 or .code32 for now. Disable Clang completely for bootxx and netboot for now until the size issue has been sorted out.
|
| 1.31 |
| 05-Jan-2011 |
jakllsch | branches: 1.31.2; Teach BIOS disk driver about GPT partition tables. Inspired by Mike Volokhov's GPT booting GSoC project.
|
| 1.30 |
| 20-Dec-2010 |
jakllsch | MI libsa provides panic() and exit() functions, no need to provide our own. As MI libsa exit() calls panic() with a "exit" message, don't use it if we print our own farewell or have already panic()ed.
|
| 1.29 |
| 19-Nov-2009 |
dsl | branches: 1.29.4; Add 32 bit versions of message and dump_eax that write directly to the serial port. Useful for debugging - especially real_to_prot!
|
| 1.28 |
| 30-Mar-2009 |
tsutsui | Remove extra trailing slash in ${S} path.
|
| 1.27 |
| 16-Feb-2009 |
jmcneill | Bootloader modifications for generic framebuffer console support on i386 and amd64 where VESA VBE 2.0+ is available.
* Add helper library and stubs to invoke VBE bioscalls. * Bump HEAP_START as we were already dangerously close to our limits. * bootdataseg now allows access > 16MB so in the future we can scribble on the framebuffer. * Pass BTINFO_FRAMEBUFFER parameters to kernel when configured. * VBE modes are configured with the new 'vesa' command. Usage, when present: * vesa {enabled|disabled} Enable / disable linear framebuffer, default mode is 640x480x8. May be changed in the future to determine mode based on VBE/DDC where available. * vesa list List modes supported by the firmware that meet the following criteria: * linear framebuffer * packed pixel or direct colour mode * vesa {modenum|modestr} Enable specific VBE mode. The mode can be specified either as a VBE mode number (eg. 0x101) or as a string (eg. 800x600x16).
|
| 1.26 |
| 25-Nov-2008 |
ad | branches: 1.26.4; Make pxeboot understand boot.cfg.
|
| 1.25 |
| 11-Oct-2008 |
joerg | branches: 1.25.2; Add "multiboot" command to boot multiboot compliant kernels like Xen. Patch provided by Robert Swindell with fixes for the command line parsing and addition of passing module options from me. The kernel now always gets the full string for modules like for the command line, everything before the first space/tab is the path name of the module.
|
| 1.24 |
| 17-Oct-2007 |
garbled | branches: 1.24.16; 1.24.20; 1.24.26; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
| 1.23 |
| 26-Sep-2007 |
ad | - Make it compile again. - Don't use (very dodgy) inline assembly.
|
| 1.22 |
| 16-Apr-2003 |
dsl | branches: 1.22.18; 1.22.60; 1.22.68; 1.22.78; 1.22.80; 1.22.82; Add functions needed by new boot code
|
| 1.21 |
| 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.20 |
| 12-Dec-2001 |
tv | branches: 1.20.2; MKfoo=no -> NOfoo
|
| 1.19 |
| 14-Nov-2001 |
tv | Work around <bsd.lib.mk> used for kernel libs in other places. Clean up include paths.
|
| 1.18 |
| 19-May-2001 |
jdolecek | branches: 1.18.4; Add biosmca.S if I386_INCLUDE_PS2 variable is "yes" (default, overridable)
|
| 1.17 |
| 24-Sep-2000 |
jdolecek | branches: 1.17.4; netbsd_opts.c was removed as part of bootverbose/bootquiet changes Pointed out by Lennart Augustsson in private e-mail.
|
| 1.16 |
| 13-May-2000 |
jdolecek | remove now redundant comment regarding IBM_L40 define
|
| 1.15 |
| 11-May-2000 |
jdolecek | add commented out CPPFLAGS+= -DIBM_L40 - needed for PS/2 bootblocks
|
| 1.14 |
| 23-Apr-2000 |
tsarna | Addredd port-i386/9897, but differently. Since the effect of resetting the video mode on machines with ancient or no video cards is not clear, for safety's sake a I created a new biosboot variant, biosboot_resetvideo that does the call.
Anyway, now I can boot my i-opener without hitting Tab. Thanks Andrew!
|
| 1.13 |
| 21-Dec-1999 |
drochner | add a function which prints out the memory descriptors (for debugging)
|
| 1.12 |
| 28-Apr-1999 |
christos | branches: 1.12.2; 1.12.8; use new loadfile
|
| 1.11 |
| 08-Mar-1999 |
drochner | branches: 1.11.4; add a function to pass the "memory map" ie the outcome of INT15/0xe820, to the kernel
|
| 1.10 |
| 13-Feb-1999 |
lukem | convert from NOxxx= to MKxxx=no. include <bsd.own.mk> if testing a MKxxx variable.
|
| 1.9 |
| 30-Jan-1999 |
christos | Remove exec.c from here. I want to make it obvious that it has to be built with different flags from dosboot and biosboot. Although right now this does not make a difference because we are building the libraries twice, it can make a difference when we share the builds.
|
| 1.8 |
| 29-Jan-1999 |
thorpej | Um, last rev was kind of backwards... actually build exec.o so that the boot block links.
|
| 1.7 |
| 29-Jan-1999 |
christos | exec.c has all the info now.
|
| 1.6 |
| 28-Jan-1999 |
christos | Add loadfile.c (stolen from Jason's alpha/stand/common/loadfile.c) loadfile.h contains macros that are supposed to be MD, but loadfile.c is now MI. Fixes: - a.out support - pass information values via an array not global variables - don't assume that you can access memory directly. - remove MD parts - remove some printfs. XXX: loadfile.c needs to be moved somewhere where other ports can use it. XXX2: read() routines on the i386 don't appear to set errno on failure.
|
| 1.5 |
| 17-Sep-1997 |
drochner | add new files
|
| 1.4 |
| 14-Aug-1997 |
drochner | Build the new memory detection stuff.
|
| 1.3 |
| 13-Apr-1997 |
perry | branches: 1.3.4; 1) Make carriage return start boot immediately. 2) Make "quit" reboot machine. This works by adding a reboot assembler hook that calls INT 19h
|
| 1.2 |
| 14-Mar-1997 |
thorpej | Make this work with obj* dirs.
|
| 1.1 |
| 14-Mar-1997 |
perry | branches: 1.1.1; Initial revision
|
| 1.1.1.1 |
| 14-Mar-1997 |
perry | Initial import of new boot code, created by Matthias Drochner with a little hacking by me. This isn't strictly identical to his 920312 release -- I've hacked it a bit -- but since we are taking over change control it doesn't matter much.
|
| 1.3.4.2 |
| 22-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.3.4.1 |
| 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.11.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
| 1.12.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.12.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
| 1.17.4.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
| 1.17.4.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.18.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.20.2.2 |
| 12-Dec-2001 |
tv | MKfoo=no -> NOfoo
|
| 1.20.2.1 |
| 12-Dec-2001 |
tv | file Makefile was added on branch sommerfeld_i386mp_1 on 2001-12-12 01:49:45 +0000
|
| 1.22.82.1 |
| 06-Oct-2007 |
yamt | sync with head.
|
| 1.22.80.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.22.78.1 |
| 02-Oct-2007 |
joerg | Sync with HEAD.
|
| 1.22.68.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
| 1.22.60.1 |
| 09-Oct-2007 |
ad | Sync with head.
|
| 1.22.18.1 |
| 27-Oct-2007 |
yamt | sync with head.
|
| 1.24.26.2 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.24.26.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.24.20.2 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.24.20.1 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.24.16.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.25.2.3 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.25.2.2 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
| 1.25.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.26.4.4 |
| 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.26.4.3 |
| 29-Mar-2011 |
jym | More sync fixes. And add the mbr_gpt files.
|
| 1.26.4.2 |
| 01-Nov-2009 |
jym | Sync with HEAD.
|
| 1.26.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.29.4.3 |
| 12-Jun-2011 |
rmind | sync with head
|
| 1.29.4.2 |
| 31-May-2011 |
rmind | sync with head
|
| 1.29.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
| 1.31.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.32.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.35.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.35.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.36.4.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.36.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.36.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.37.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.40.4.3 |
| 22-Apr-2016 |
skrll | Sync with HEAD
|
| 1.40.4.2 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
| 1.40.4.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.44.10.2 |
| 18-Sep-2019 |
martin | Pull up following revision(s) [adapted, via patch] (requested by manu in ticket #1382):
sys/arch/i386/include/multiboot2.h: revision 1.1 sys/arch/i386/stand/lib/exec.c: revision 1.74 sys/arch/i386/stand/efiboot/efiboot.c: revision 1.11 sys/arch/i386/stand/efiboot/bootia32/multiboot32.S: revision 1.1 sys/arch/i386/stand/lib/biosdisk.c: revision 1.52 sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.5 distrib/sets/lists/comp/md.amd64: revision 1.273 sys/arch/i386/stand/efiboot/eficons.c: revision 1.7 sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.5 distrib/sets/lists/comp/md.i386: revision 1.191 sys/arch/i386/stand/lib/libi386.h: revision 1.45 sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.6 sys/arch/i386/stand/lib/pread.c: revision 1.8 sys/arch/i386/stand/efiboot/efiboot.h: revision 1.10 sys/arch/i386/stand/efiboot/bootia32/Makefile: revision 1.3 sys/arch/i386/stand/lib/Makefile: revision 1.47 sys/arch/i386/stand/efiboot/bootx64/Makefile: revision 1.2 sys/arch/i386/stand/lib/multiboot.S: revision 1.3 sys/arch/i386/stand/efiboot/bootx64/multiboot64.S: revision 1.1 sys/arch/i386/stand/efiboot/efimemory.c: revision 1.9 sys/arch/i386/stand/efiboot/boot.c: revision 1.16 sys/arch/i386/include/Makefile: revision 1.50 sys/arch/i386/stand/efiboot/Makefile.efiboot: revision 1.16 share/man/man8/man8.x86/boot.8: revision 1.20 sys/arch/i386/stand/boot/Makefile.boot: revision 1.73 sys/arch/i386/stand/pxeboot/Makefile: revision 1.26 sys/arch/i386/stand/lib/exec_multiboot1.c: revision 1.1 sys/arch/i386/stand/netboot/Makefile.netboot: revision 1.11 sys/arch/i386/stand/lib/exec_multiboot2.c: revision 1.1 sys/arch/i386/stand/lib/biosdisk.h: revision 1.12 sys/arch/i386/stand/lib/exec_multiboot2.c: revision 1.2 sys/arch/i386/stand/dosboot/Makefile: revision 1.32 sys/external/bsd/gnu-efi/dist/inc/efiapi.h (apply patch)
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
Remove debug define.
It remained there unseen because it was misspelled!
Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot
Add new multiboot2.h header.
|
| 1.44.10.1 |
| 17-Sep-2019 |
martin | Pull up following revision(s) (requested by manu in ticket #1373):
sys/arch/i386/stand/boot/boot2.c: revision 1.72 (patch) sys/arch/i386/stand/lib/biosdisk.c: revision 1.50 sys/arch/i386/stand/lib/biosdisk.c: revision 1.51 sys/arch/i386/stand/efiboot/devopen.c: revision 1.6 sys/arch/i386/stand/efiboot/devopen.h: revision 1.4 sys/arch/i386/stand/efiboot/devopen.c: revision 1.7 sys/arch/i386/stand/efiboot/efidisk.c: revision 1.8 share/man/man8/man8.x86/boot.8: revision 1.16 share/man/man8/man8.x86/boot.8: revision 1.17 sys/arch/i386/stand/lib/Makefile: revision 1.46 sys/arch/i386/stand/boot/devopen.h: revision 1.5 sys/arch/i386/stand/boot/devopen.c: revision 1.9 sys/arch/i386/stand/efiboot/boot.c: revision 1.14 (patch) sys/arch/i386/stand/efiboot/boot.c: revision 1.15 sys/arch/i386/stand/lib/biosdisk.h: revision 1.11 sys/arch/i386/stand/boot/boot2.c: revision 1.71
Add GPT and RAIDframe support to bootloaders
Classic BIOS (/boot) and EFI bootloaders can now name devices using the NAME=gpt_label syntax, or using raid partitions. Here are examples:
boot NAME=root:/netbsd boot raid0e:/netbsd
Correct the memset(3)'s third argument in i386 biosdisk.c
The size of allocation is the size of the structure biosdisk, not the size of a pointer.
Document new GPT and RAIDframe capacity of bootstrap code While there, also document EFI setup and some bugs
Typo fixes, 'file system'; new sentence, new line; expand IA-32.
Bump date for previous.
Make sure devices names are copied including last byte Fix from M. Levinson.
|
| 1.45.8.2 |
| 17-Sep-2019 |
martin | Pull up following revision(s) (requested by manu in ticket #203):
sys/arch/i386/include/multiboot2.h: revision 1.1 sys/arch/i386/stand/lib/exec.c: revision 1.74 sys/arch/i386/stand/efiboot/efiboot.c: revision 1.11 sys/arch/i386/stand/efiboot/bootia32/multiboot32.S: revision 1.1 sys/arch/i386/stand/lib/biosdisk.c: revision 1.52 sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.5 sys/arch/i386/stand/efiboot/eficons.c: revision 1.7 sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.5 sys/arch/i386/stand/lib/libi386.h: revision 1.45 sys/arch/i386/stand/lib/bootinfo_memmap.c: revision 1.6 sys/arch/i386/stand/lib/pread.c: revision 1.8 sys/arch/i386/stand/efiboot/efiboot.h: revision 1.10 sys/arch/i386/stand/efiboot/bootia32/Makefile: revision 1.3 sys/arch/i386/stand/lib/Makefile: revision 1.47 sys/arch/i386/stand/efiboot/bootx64/Makefile: revision 1.2 sys/arch/i386/stand/lib/multiboot.S: revision 1.3 sys/arch/i386/stand/efiboot/bootx64/multiboot64.S: revision 1.1 sys/arch/i386/stand/efiboot/efimemory.c: revision 1.9 sys/arch/i386/stand/efiboot/boot.c: revision 1.16 sys/arch/i386/include/Makefile: revision 1.50 sys/arch/i386/stand/efiboot/Makefile.efiboot: revision 1.16 share/man/man8/man8.x86/boot.8: revision 1.20 sys/arch/i386/stand/boot/Makefile.boot: revision 1.73 sys/arch/i386/stand/pxeboot/Makefile: revision 1.26 sys/arch/i386/stand/lib/exec_multiboot1.c: revision 1.1 sys/arch/i386/stand/netboot/Makefile.netboot: revision 1.11 sys/arch/i386/stand/lib/exec_multiboot2.c: revision 1.1 sys/arch/i386/stand/lib/biosdisk.h: revision 1.12 sys/arch/i386/stand/lib/exec_multiboot2.c: revision 1.2 sys/arch/i386/stand/dosboot/Makefile: revision 1.32
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
Remove debug define.
It remained there unseen because it was misspelled!
Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot
|
| 1.45.8.1 |
| 13-Sep-2019 |
martin | Pull up following revision(s) (requested by manu in ticket #200):
sys/arch/i386/stand/boot/boot2.c: revision 1.72 sys/arch/i386/stand/lib/biosdisk.c: revision 1.50 sys/arch/i386/stand/lib/biosdisk.c: revision 1.51 sys/arch/i386/stand/efiboot/devopen.c: revision 1.6 sys/arch/i386/stand/efiboot/devopen.h: revision 1.4 sys/arch/i386/stand/efiboot/devopen.c: revision 1.7 sys/arch/i386/stand/efiboot/efidisk.c: revision 1.8 share/man/man8/man8.x86/boot.8: revision 1.16 share/man/man8/man8.x86/boot.8: revision 1.17 sys/arch/i386/stand/lib/Makefile: revision 1.46 sys/arch/i386/stand/boot/devopen.h: revision 1.5 sys/arch/i386/stand/boot/devopen.c: revision 1.9 sys/arch/i386/stand/efiboot/boot.c: revision 1.14 sys/arch/i386/stand/efiboot/boot.c: revision 1.15 sys/arch/i386/stand/lib/biosdisk.h: revision 1.11 sys/arch/i386/stand/boot/boot2.c: revision 1.71
Add GPT and RAIDframe support to bootloaders
Classic BIOS (/boot) and EFI bootloaders can now name devices using the NAME=gpt_label syntax, or using raid partitions. Here are examples:
boot NAME=root:/netbsd boot raid0e:/netbsd
Correct the memset(3)'s third argument in i386 biosdisk.c
The size of allocation is the size of the structure biosdisk, not the size of a pointer.
Document new GPT and RAIDframe capacity of bootstrap code While there, also document EFI setup and some bugs
Typo fixes, 'file system'; new sentence, new line; expand IA-32. Bump date for previous.
Make sure devices names are copied including last byte Fix from M. Levinson.
|
| 1.45.4.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.52.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|