Page MenuHomeFreeBSD

Move MI bits of efirt to a MI file
ClosedPublic

Authored by andrew on Sep 21 2017, 1:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 5 2024, 6:07 AM
Unknown Object (File)
Nov 3 2024, 6:06 AM
Unknown Object (File)
Oct 2 2024, 5:23 PM
Unknown Object (File)
Oct 2 2024, 9:02 AM
Unknown Object (File)
Oct 1 2024, 4:09 PM
Unknown Object (File)
Sep 30 2024, 2:03 PM
Unknown Object (File)
Sep 30 2024, 1:44 PM
Unknown Object (File)
Sep 28 2024, 11:35 AM
Subscribers
None

Details

Summary

To prepare for adding EFI runtime services support on arm64 move the
machine independent parts of the existing code to a new file that can
be shared between the two architectures.

Test Plan

I've tested on arm64, but don't have an amd64 test machine so haven't tested there.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

So the 1:1 mapping trick is becoming the arch requirement to support RT ?

sys/kern/subr_efi.c
68 ↗(On Diff #33262)

Why is this in MD file ?

  • Move the locking macros to a MD header
  • Ddd subr_efi.c to the module Makefile

I left the name as it all architectures that currently support EFI RT use a 1:1 map.

May be add sys/dev/efirt and move subr_efi.c there ? EFI is not a generic facility, it is MD, just that it exists on both x86 and arm64.

This revision is now accepted and ready to land.Sep 22 2017, 1:12 PM

My eye didn't trip over anything...

Move the MI file under sys/dev/efidev

This revision now requires review to proceed.Sep 24 2017, 11:32 AM

I like this layout better...

This revision is now accepted and ready to land.Sep 24 2017, 2:24 PM
This revision was automatically updated to reflect the committed changes.