fix: make Bank.spsrIndex public

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-12-27 18:52:02 -06:00
parent aad3bdc9ea
commit 580e7baca9
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ pub fn Arm32(comptime isa: Architecture) type {
return (idx * 2) + if (kind == .R14) @as(usize, 1) else 0;
}
inline fn spsrIdx(mode: Mode) usize {
pub inline fn spsrIdx(mode: Mode) usize {
return switch (mode) {
.Supervisor => 0,
.Abort => 1,