The NetBSD Project

CVS log for src/sys/arch/i386/stand/efiboot/efimemory.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / stand / efiboot

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9.26.1 / (download) - annotate - [select for diffs], Fri Nov 3 10:01:13 2023 UTC (5 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by rin in ticket #452):

	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.7
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.8
	sys/arch/i386/stand/efiboot/boot.c: revision 1.23
	sys/arch/i386/stand/efiboot/efidisk.c: revision 1.10
	sys/arch/i386/stand/efiboot/devopen.c: revision 1.14
	sys/arch/i386/stand/efiboot/efimemory.c: revision 1.10

x86/efiboot: Nix trailing whitespace.

whitespace -> tab, blank line, no binary changes.

``int i'' is used only for SUPPORT_NFS || SUPPORT_TFTP.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 14 09:07:54 2023 UTC (11 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

x86/efiboot: Nix trailing whitespace.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:54 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.5: +157 -51 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.4.10.3 / (download) - annotate - [select for diffs], Wed Sep 18 17:30:05 2019 UTC (4 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.4.10.2: +35 -1 lines
Diff to previous 1.4.10.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

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.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Sep 17 19:32:00 2019 UTC (4 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.8: +35 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 13 02:19:45 2019 UTC (4 years, 7 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-10-base, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-10
Changes since 1.8: +35 -1 lines
Diff to previous 1.8 (colored)

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

Revision 1.4.10.2 / (download) - annotate - [select for diffs], Thu Aug 1 13:22:48 2019 UTC (4 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.4.10.1: +123 -51 lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored)

Pull up following revision(s) (requested by nonaka in ticket #1309):

	sys/arch/i386/stand/lib/exec.c: revision 1.73
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.10
	sys/arch/i386/stand/lib/libi386.h: revision 1.44
	sys/arch/i386/stand/efiboot/efimemory.c: revision 1.6
	sys/arch/i386/stand/efiboot/efimemory.c: revision 1.7
	sys/arch/i386/stand/efiboot/efimemory.c: revision 1.8
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.9
	sys/arch/i386/stand/efiboot/boot.c: revision 1.12
	sys/arch/i386/stand/efiboot/boot.c: revision 1.13
	sys/arch/i386/stand/efiboot/efiboot.h: revision 1.9
	sys/arch/i386/stand/efiboot/Makefile.efiboot: revision 1.15
	sys/arch/i386/stand/efiboot/dev_net.c: revision 1.2

Added tftp support to x86 efiboot.

Pre-allocate memory for the kernel space at startup.

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.

Sync the output of memmap command to the output of stand/efiboot mem command.

Added missing efi_memory_probe() call.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 29 11:33:07 2019 UTC (4 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.7: +28 -46 lines
Diff to previous 1.7 (colored)

Sync the output of memmap command to the output of stand/efiboot mem command.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 29 11:28:51 2019 UTC (4 years, 8 months ago) by nonaka
Branch: MAIN
Changes since 1.6: +84 -6 lines
Diff to previous 1.6 (colored)

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 26 12:09:48 2019 UTC (4 years, 8 months ago) by nonaka
Branch: MAIN
Changes since 1.5: +14 -2 lines
Diff to previous 1.5 (colored)

Pre-allocate memory for the kernel space at startup.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Mon Apr 2 08:50:33 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by nonaka in ticket #685):

	sys/arch/i386/stand/efiboot/efidisk.c: revision 1.4
	sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.4
	sys/arch/i386/stand/efiboot/eficons.c: revision 1.5
	sys/arch/i386/stand/efiboot/efichar.c: revision 1.1
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.4
	sys/arch/i386/stand/efiboot/boot.c: revision 1.8
	sys/arch/i386/stand/efiboot/efimemory.c: revision 1.5
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.6
	sys/arch/i386/stand/efiboot/efidelay.c: revision 1.2
	sys/arch/i386/stand/efiboot/efiboot.h: revision 1.7
	sys/arch/i386/stand/efiboot/Makefile.efiboot: revision 1.11

efiboot: Added serial console support.

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:11 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Resolve conflicts between branch and HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 27 14:15:05 2018 UTC (6 years ago) by nonaka
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)

efiboot: Added serial console support.

Revision 1.4.16.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:18 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.16.1: +336 -0 lines
Diff to previous 1.4.16.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:41 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.2: +23 -37 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:15 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.4.2.1: +336 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Tue Feb 14 13:29:10 2017 UTC (7 years, 2 months ago) by nonaka
Branch: bouyer-socketcan
Changes since 1.4.6.1: +336 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

1210367

Revision 1.4.16.1, Tue Feb 14 13:29:09 2017 UTC (7 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4: +0 -336 lines
FILE REMOVED

file efimemory.c was added on branch tls-maxphys on 2017-12-03 11:36:18 +0000

Revision 1.4.6.1, Tue Feb 14 13:29:09 2017 UTC (7 years, 2 months ago) by nonaka
Branch: bouyer-socketcan
Changes since 1.4: +0 -336 lines
FILE REMOVED

file efimemory.c was added on branch bouyer-socketcan on 2017-02-14 13:29:10 +0000

Revision 1.4.2.1, Tue Feb 14 13:29:09 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.4: +0 -336 lines
FILE REMOVED

file efimemory.c was added on branch pgoyette-localcount on 2017-03-20 06:57:15 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 14 13:29:09 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: tls-maxphys, pgoyette-localcount, pgoyette-compat, netbsd-8, bouyer-socketcan
Changes since 1.3: +15 -3 lines
Diff to previous 1.3 (colored)

Handle persistent memory. Currently only debug output.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 11 10:13:46 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
Changes since 1.2: +9 -35 lines
Diff to previous 1.2 (colored)

efiboot: pass memory map after ExitBootService is called to kernel.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:12 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.1: +350 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.2.1, Fri Feb 3 16:42:26 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -350 lines
FILE REMOVED

file efimemory.c was added on branch nick-nhusb on 2017-02-05 13:40:12 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 3 16:42:26 2017 UTC (7 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: nick-nhusb-base-20170204
Branch point for: nick-nhusb
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

rows is a uint ... it will always be greater than or equal to 0.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 24 11:09:14 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN

Initial commit of native amd64 EFI boot loader.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>