riscv-non-isa / riscv-brs

The Boot and Runtime Services (BRS) specification provides the software requirements for system vendors and Operating System Vendors (OSVs) to interoperate with one another by providing expectations for the Operating System (OS) to utilize in acts of device discovery, system management, and other rich operations provided in this specification.
https://jira.riscv.org/browse/RVG-48
Creative Commons Attribution 4.0 International
42 stars 13 forks source link

List the required UEFI boot and runtime services as well as protocols #89

Closed xiaobo55x closed 1 year ago

xiaobo55x commented 1 year ago

Hi @andreiw, @adurbin-rivos,

Shall we add a section to clearly list all the required and recommended UEFI boot and runtime services as well as related protocols? With that, users can easily get a checklist when implementing their own FW.

Regards, Haibo

adurbin-rivos commented 1 year ago

Section 2.6 in UEFI spec covers the requirements from a UEFI perspective. There is a carveout for EFI_CONFORMANCE_PROFILES_TABLE. We've discussed this in the past, and no one suggested we should deviate from what is in section 2.6.

We didn't want to repeat information in BRS spec that is already covered in existing docs. The things that we call out explicitly are currently captured.

As for a checklist, I think using the test suite would be helpful because those sorts of things would be needed there. We could try to create such a checklist and put it in a non-normative section, but it might be prone to errors.

andreiw commented 1 year ago

Yeah, 2.6 in the UEFI spec is already exhaustive. If that has errors, they need to be fixed (there were a few broken/misplaced links... they are getting fixed). That's for BRS-I. For BRS-B the EBBR spec is your guide.