mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 19:34:47 +02:00
05 Feb 2004 Reverse armode patch - problems with XC mode - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@2179 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
2
xstore.c
2
xstore.c
@@ -477,7 +477,7 @@ BYTE xpkey1 = 0, xpkey2 = 0; /* Expanded storage keys */
|
||||
if (prot || (xpvalid1 && (pte1 & PAGETAB_PROT)))
|
||||
{
|
||||
regs->TEA = vaddr1 | TEA_PROT_AP | stid;
|
||||
regs->excarid = regs->armode ? r1 : 0;
|
||||
regs->excarid = (ACCESS_REGISTER_MODE(®s->psw)) ? r1 : 0;
|
||||
ARCH_DEP(program_interrupt) (regs, PGM_PROTECTION_EXCEPTION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user