Skip to content
Snippets Groups Projects
Commit 2dd7acda authored by sof's avatar sof
Browse files

[project @ 1997-11-24 21:11:44 by sof]

RBH_entry: GranSim/GUM fix for invalid InfoPtr
parent d6f8b66b
No related merge requests found
......@@ -161,7 +161,11 @@ STGFUN(RBH_entry)
STGCALL3(void,(),GranSimBlock,CurrentTSO,CurrentProc,Node);
# endif
switch (INFO_TYPE(InfoPtr)) {
/* In GranSim and GUM on 2.04 the InfoPtr seems to be invalid when entering
this routine (exact reason is unknown). This change does the safe
thing instead. -- HWL */
switch (INFO_TYPE(INFO_PTR(Node))) { /* HWL orig: INFO_TYPE(InfoPtr) */
case INFO_SPEC_RBH_TYPE:
TSO_LINK(CurrentTSO) = (P_) SPEC_RBH_BQ(Node);
SPEC_RBH_BQ(Node) = (W_) CurrentTSO;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment