]> git.corax.cc Git - corax/commit
kernel/arch: Clean up cpu_get_capabilities() implementation
authorMatthias Kruk <m@m10k.eu>
Thu, 5 Nov 2020 04:03:36 +0000 (13:03 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 5 Nov 2020 04:03:36 +0000 (13:03 +0900)
commitbc29dd7f73bb21c91b19d48ff9291099ffb134f9
treeb0d9c2d03cae5955a6762408facadd4c5db66ccb
parent85bbad165ec49699185ad87db9060c9e04d876e6
kernel/arch: Clean up cpu_get_capabilities() implementation

Reverse the order of the dwords returned so that the most important
features are in the lower dword and add macros that can be used to
test for feature support on the executing processor.
kernel/arch/cpu32.S
kernel/include/arch.h