Advertisement
Guest User

Untitled

a guest
Mar 20th, 2023
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.35 KB | None | 0 0
  1. // Starts the auxiliary core with the given entry point.
  2. // void aux_core_start(uint64_t entry_point);
  3. aux_core_start:
  4.     // store entry_point to core_start_ptr
  5.     // use atomic store
  6.     adrp x5, core_start_ptr
  7.     add x5, x5, :lo12:core_start_ptr
  8.     stlr x0, [x5] // store entry_point with release ordering
  9.     // wake up the core
  10.     sev
  11.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement