diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/salis-v1.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/arch/salis-v1.c b/src/arch/salis-v1.c index 0e8f202..9268d50 100644 --- a/src/arch/salis-v1.c +++ b/src/arch/salis-v1.c @@ -200,7 +200,15 @@ void arch_on_proc_kill(Core *core) { void arch_anc_init(Core *core, u64 size) { assert(core); - proc_fetch(core, 0)->mb0s = size; + Proc *panc = proc_fetch(core, 0); + +#if ANC_HALF == 1 + panc->mb0a = U64_HALF; + panc->ip = U64_HALF; + panc->sp = U64_HALF; +#endif + + panc->mb0s = size; } #endif |