Commit Diff
Diff:
7f5b8e74d9d3183f6f097f4ea0113042088d41a5
3714142405dcd4deb099172fe5908798180ea3d3
Commit:
3714142405dcd4deb099172fe5908798180ea3d3
Tree:
2c9ef4092175f4e5d31aaa64cb7d1e26eff96464
Author:
powerpc64 <powerpc64@localhost>
Committer:
powerpc64 <powerpc64@localhost>
Date:
Fri Jul 20 14:33:41 2018 UTC
Message:
add a FIX ME #error, I see sr segment registers being used but I'm too tired to look into it now.
blob - fc64451a15c7322b4b1e9cc7b9835804527d85be
blob + 9df8ea2347cf6d15b5950f045fafc44d10752352
--- powerpc64/vm_machdep.c
+++ powerpc64/vm_machdep.c
@@ -124,6 +124,7 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack
sf = (struct switchframe *)stktop2;
bzero((void *)sf, sizeof *sf); /* just in case */
sf->sp = (int)cf;
+#error FIX ME
sf->user_sr = pmap_kernel()->pm_sr[PPC_USER_SR]; /* just in case */
pcb->pcb_sp = (int)stktop2;
}
repomaster@centroid.eu