Provisioned from MACHINE/MACHINE_ARCH on the system, expose loader.machine and loader.machine_arch respectively.
These may be used to hide ACPI option on non-applicable archs.
Differential D14446
liblua: Add loader.machine and loader.machine_arch properties kevans on Feb 20 2018, 3:10 AM. Authored by Tags None Referenced Files
Subscribers None
Details
Provisioned from MACHINE/MACHINE_ARCH on the system, expose loader.machine and loader.machine_arch respectively. These may be used to hide ACPI option on non-applicable archs.
Diff Detail
Event TimelineComment Actions These are fine, but I wonder if it might not be better to have a MD module in the loader that exports attributes of the architecture.... If we use this for more than a few things, we should consider that path instead... Comment Actions Right, I've not yet found any machdep things that I care about in lua-land (other than being able to discriminate based on machine/machine_arch =)), so I think this is a good path to go on for the moment and we can change course if we come up with others. |