diff options
| author | Alexander Potapenko <glider@google.com> | 2024-09-12 10:35:56 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-09-25 09:05:57 +0000 |
| commit | 46547111bb3121d3c61f7bd2725008c540291bab (patch) | |
| tree | c4310b49e9eda27aab453c91386ed126f0c08ab8 /executor/common_linux.h | |
| parent | 4e0b1d0a9f1fe6044c2113b5b0465cd3f53e29ba (diff) | |
executor: arm64: factor out install_user_code()
Prepare to let multiple (up to 4) CPUs run different pieces of code
by allocating 4 pages for ARM64_ADDR_USER_CODE.
Pass the CPU id to guest_main(), so that it can pick the correct
starting addres.
syz_kvm_setup_cpu() will implicitly use cpuid=0 to retain its current functionality.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
