| History log of /src/sys/dev/efi |
| Revision | Date | Author | Comments |
| 1.3 | 22-May-2023 |
riastradh | efi(4): Move error macros to efi.h.
PR kern/57076
XXX pullup-10
|
| 1.2 | 22-Sep-2022 |
riastradh | branches: 1.2.4; efi(9): Set correct calling convention for EFI runtime services.
No functional change intended -- this only affects x86, which currently doesn't support EFI runtime services.
|
| 1.1 | 20-Aug-2022 |
riastradh | machine/efi.h: Migrate common definitions to dev/efi/efi.h.
|
| 1.2.4.1 | 01-Aug-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #292):
sys/arch/arm/arm/efi_runtime.c: revision 1.11 sys/dev/efi/efi.h: revision 1.3 sys/arch/x86/x86/efi_machdep.c: revision 1.5 sys/arch/x86/x86/efi_machdep.c: revision 1.6 sys/dev/efi.c: revision 1.5 sys/dev/efi.c: revision 1.6 sys/dev/efi.c: revision 1.7 sys/dev/efi.c: revision 1.8 sys/dev/efi.c: revision 1.9 sys/dev/efivar.h: revision 1.2 sys/sys/efiio.h: revision 1.3
efi(4): Parenthesize EFIERR argument out of paranoia. PR kern/57076
efi(4): Move error macros to efi.h. PR kern/57076
efi(4): Implement MI parts of EFIIOC_GET_TABLE. Intended to be compatible with FreeBSD. Not yet supported on any architectures. PR kern/57076
efi(4): Implement EFIIOC_GET_TABLE on x86. PR kern/57076
efi(4): Translate between size_t and unsigned long. Fixes i386 build. PR kern/57076
efi(4): Fix logic to handle buffer sizing.
Can't KASSERT(datasize <= databufsize) because the caller is allowed to pass in a too-small size and get ERR_BUFFER_TOO_SMALL back, with the actual size returned so it can resize its buffer. So just clamp the size to the smaller of what the caller provided and what the firwmare provided, instead of asserting anything.
PR kern/57076
|