Reply 400 of 406, by mr.cat
I followed the breadcrumbs and found the cause for the Minix3 boot panic 😁
Looks like the problem is with TLB handling, so maybe this explains some Windows issues too?
In my previous post, I found the main suspect on the Minix side to be reload_cr3().
Now taking a look at UniPCemu's source, we see this line in Paging_clearTLB():
for (TLB_set = 0; TLB_set < 8; ++TLB_set) //Process all possible sets!
However, the TLB_usedlist_head array is defined as having 16 entries both in headers/cpu/paging.h and in cpu/paging.c (via the setsize variable).
I just went and changed that loop size from 8 to 16 and whaddya know, that did the trick 😁