- User Since
- Mar 11 2014, 8:46 PM (350 w, 2 d)
Wed, Nov 25
I looked and on x86 we use acpi_identify() for this sort of thing, though a bit later when deciding which nexus driver to attach (on x86, we either use an ACPI "nexus0" device when using ACPI, or we use a legacy "nexus0" device). acpi_identify() honors 'hint.acpi.0.disabled=1' as well as applying sanity checks on the RSDP and RSDT/XSDT. Here, kern.cfg.order seems to duplicate some of that functionality but in a different way.
In the description, do you mean has_acpi is set "before" walking the XDST (rather than "by")? If so, I think Andrew's suggestion of AcpiOsRootPointer() would be good. I think it's a bit more readable than a bare resource_int_fetch, and it more closely matches what OF does for example (calling OF_peer() rather than making use of it's implementation details).
Passes running tests. I'm going to merge this to unbreak the build.
Tue, Nov 24
- Tweak the comment a bit further.
- Use refcount_load().
- Note limitations of CRIOGET compat shim.
This will be useful for Morello (CHERI aarch64) support where these will be capabilities instead of uint64_t for a pure-cap kernel.
RISC-V has similar changes in D27357
Sat, Nov 21
Fri, Nov 20
Thu, Nov 19
- Fix a few nits reported by mandoc.
@gbe Hmm, igor was happy, but mandoc found a couple of nits. tcp.4 has many other existing mandoc complaints but I will let those be.
Wed, Nov 18
Tue, Nov 17
Mon, Nov 16
Fri, Nov 13
Wed, Nov 11
- Reorder to satisfy portlint.
Added a bug for the xcscope.el breakage here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251029
Tue, Nov 10
Sat, Nov 7
Fri, Nov 6
Trimmed ARGSUSED in the followup commit that moves the function.