Up to [cvs.NetBSD.org] / src / sys / stand / efiboot
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-9
Revision 1.17.2.3 / (download) - annotate - [select for diffs], Wed Feb 12 20:10:09 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE
Changes since 1.17.2.2: +23 -1
lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)
Pull up following revision(s) (requested by riastradh in ticket #705): sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.35 sys/stand/efiboot/efifdt.c: revision 1.20 sys/stand/efiboot/efifdt.h: revision 1.7 sys/arch/aarch64/include/machdep.h: revision 1.9 sys/stand/efiboot/efiboot.h: revision 1.11 sys/arch/arm/arm32/arm32_machdep.c: revision 1.129 sys/arch/arm/include/arm32/machdep.h: revision 1.30 sys/stand/efiboot/exec.c: revision 1.12 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.65 sys/stand/efiboot/version: revision 1.14 sys/stand/efiboot/boot.c: revision 1.19 New function cpu_startup_hook on arm. Called at end of cpu_startup. Can be defined in, e.g., evbarm to do additional stuff after cpu_startup. Defined as a weak alias to a function that does nothing, so optional. ok jmcneill Implement rndseed support in efiboot and fdt arm. The EFI environment variable `rndseed' specifies the path to the random seed. It is loaded only for fdt platforms at the moment. Since the rndseed (an rndsave_t object as defined in <sys/rndio.h>) is 536 bytes long (for hysterical raisins), and to avoid having to erase parts of the fdt tree, we load it into a physical page whose address is passed in the fdt tree, rather than passing the content of the file as an fdt node directly; the kernel then reserves the page from uvm, and maps it into kva to call rnd_seed. For now, the only kernel that does use efiboot with fdt is evbarm, which knows to handle the rndseed. Any new kernels that use efiboot with fdt must do the same; otherwise uvm may hand out the page with the secret key on it for a normal page allocation in the kernel -- which should be OK if there are no kernel memory disclosure bugs, but would lead to worse consequences than simply loading the seed late in userland with /etc/rc.d/random_seed otherwise. ok jmcneill
Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sun Sep 1 13:25:22 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RC2,
netbsd-9-0-RC1
Changes since 1.17.2.1: +9 -6
lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #142): sys/stand/efiboot/efifdt.c: revision 1.19 Only set #address-cells and #size-cells properties on /chosen if we are fabricating a devicetree (ACPI mode). Fixes PR# 54494
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Aug 4 11:37:56 2019 UTC (4 years, 7 months ago) by martin
Branch: netbsd-9
Changes since 1.17: +6 -6
lines
Diff to previous 1.17 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #3): sys/stand/efiboot/efiacpi.c: revision 1.4 sys/stand/efiboot/efifdt.c: revision 1.18 sys/stand/efiboot/version: revision 1.12 sys/arch/arm/acpi/acpi_machdep.c: revision 1.7 sys/arch/arm/acpi/acpi_machdep.c: revision 1.8 Add full UEFI memory map to the /chosen node. - acpi_md_OsMapMemory can be used for both normal and device memory. Use the UEFI memory map to determine how to map a given region. Always map ACPI table memory as normal memory. Always map device memory as device memory.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 25 11:44:14 2019 UTC (4 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
Fix arm build