The NetBSD Project

CVS log for src/sys/arch/arm/arm/efi_runtime.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / arm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 15 11:19:23 2022 UTC (3 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.9: +9 -2 lines
Diff to previous 1.9 (colored)

Add a boot option to disable EFI runtime services.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 18 08:13:44 2022 UTC (7 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Simplify (imo) #ifdefs a little.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 3 09:49:36 2022 UTC (9 months, 4 weeks ago) by martin
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

efi_rtcopy is only used on little endian kernels.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 2 11:16:06 2022 UTC (9 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.6: +15 -6 lines
Diff to previous 1.6 (colored)

Update to support EFI runtime outside the kernel virtual address space
by creating an EFI RT pmap that can be activated / deactivated when
required.

Adds support for EFI RT to ARM_MMU_EXTENDED (ASID) 32-bit Arm machines.

On Arm64 the usage of pmapboot_enter is reduced and the mappings are
created much later in the boot process -- now in cpu_startup_hook.
Backward compatiblity for KVA mapped RT from old bootaa64.efi is
maintained.

Adding support to other platforms should be easier as a result.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 10 13:03:09 2021 UTC (15 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.5: +105 -20 lines
Diff to previous 1.5 (colored)

efi: Add /dev/efi character device

Introduce a /dev/efi character device that provides a means for accessing
UEFI RT variable services from userland. Compatible with the FreeBSD ioctl
interface for ease of porting their libefivar and associated tools.

The ioctl interface is defined in sys/efiio.h.

To enable support for this on an arch, the kernel needs `pseudo-device efi`
and the MD EFI implementation needs to register its backend by calling
efi_ops_register(). This commit includes an implementation for Arm.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:51 2021 UTC (2 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync w/ HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 18 07:40:27 2020 UTC (2 years, 1 month ago) by skrll
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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Make this compile on arm

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 8 17:20:10 2020 UTC (2 years, 4 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.3: +9 -3 lines
Diff to previous 1.3 (colored)

Disable EFI runtime support for BE kernels

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:32 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.1.6.2: +29 -17 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Dec 17 12:36:38 2019 UTC (3 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, netbsd-9-0-RC2
Changes since 1.2: +24 -18 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #558):

	sys/arch/aarch64/aarch64/efi_machdep.c: revision 1.5
	sys/arch/arm/arm/efi_runtime.h: revision 1.3
	sys/arch/arm/arm/efi_runtime.c: revision 1.3

Enable FP access for EFI RT and improve error handling.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 16 00:03:50 2019 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.2: +24 -18 lines
Diff to previous 1.2 (colored)

Enable FP access for EFI RT and improve error handling.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 25 02:00:40 2019 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.1: +9 -3 lines
Diff to previous 1.1 (colored)

Only try to call EFI RT's reset once. If it faults for some reason, just
return an error so the kernel will try to PSCI reset instead. Otherwise
we get stuck in an endless loop..

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:51 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.1.6.1: +128 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.1: +128 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.1.6.1, Sun Oct 28 10:21:42 2018 UTC (4 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.1: +0 -128 lines
FILE REMOVED

file efi_runtime.c was added on branch phil-wifi on 2019-06-10 22:05:51 +0000

Revision 1.1.2.1, Sun Oct 28 10:21:42 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -128 lines
FILE REMOVED

file efi_runtime.c was added on branch pgoyette-compat on 2018-11-26 01:52:17 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 28 10:21:42 2018 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, pgoyette-compat

Add support for EFI runtime services on aarch64.

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>