arm: Implement native code execution backend

This commit is contained in:
Liam
2023-11-17 23:44:53 +02:00
committed by t895
parent 4838837620
commit 9f91ba1f73
31 changed files with 1803 additions and 51 deletions

View File

@ -75,11 +75,20 @@ struct CodeSet final {
return segments[2];
}
Segment& PatchSegment() {
return patch_segment;
}
const Segment& PatchSegment() const {
return patch_segment;
}
/// The overall data that backs this code set.
Kernel::PhysicalMemory memory;
/// The segments that comprise this code set.
std::array<Segment, 3> segments;
Segment patch_segment;
/// The entry point address for this code set.
KProcessAddress entrypoint = 0;