mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
baremetal: some quick fixes
This commit is contained in:
@@ -9,6 +9,7 @@ main:
|
||||
|
||||
/* Read cpu id into x1.
|
||||
* TODO: cores beyond 4th?
|
||||
* Mnemonic: Main Processor ID Register
|
||||
*/
|
||||
mrs x1, mpidr_el1
|
||||
ands x1, x1, 3
|
||||
|
||||
Reference in New Issue
Block a user