joshbeitler / mirus-archive

Hobby kernel (NOT maintained)

Home Page:https://github.com/joshbeitler/mirus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPF on trying to assign value from call return

joshbeitler opened this issue · comments

syscall_t func = (syscall_t)location;
func(r->ebx, r->ecx, r->edx, r->esi, r->edi); // works
uint32_t ret = func(r->ebx, r->ecx, r->edx, r->esi, r->edi); // doesn't work