mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 03:12:58 +02:00
Fix TRAP so it receives PIC13 in REAL mode
git-svn-id: file:///home/jj/hercules.svn/trunk@176 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
5
stack.c
5
stack.c
@@ -126,8 +126,9 @@ U32 trap_flags;
|
||||
QWORD trap_psw;
|
||||
int i;
|
||||
|
||||
if(!PRIMARY_SPACE_MODE(&(regs->psw))
|
||||
&& !ACCESS_REGISTER_MODE(&(regs->psw)))
|
||||
if ( REAL_MODE(®s->psw)
|
||||
|| !(PRIMARY_SPACE_MODE(®s->psw)
|
||||
|| ACCESS_REGISTER_MODE(®s->psw)) )
|
||||
ARCH_DEP(program_interrupt) (regs, PGM_SPECIAL_OPERATION_EXCEPTION);
|
||||
|
||||
/* Obtain the DUCT origin from control register 2 */
|
||||
|
||||
Reference in New Issue
Block a user