entry.S (05668381140309088443bf5dc53add4104610fbb) entry.S (4b3f686d4aa8ad815dc68a4e8fabd05b1ebb9f2c)
1/*
2 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
3 *
4 * kernel entry points (interruptions, system call wrappers)
5 * Copyright (C) 1999,2000 Philipp Rumpf
6 * Copyright (C) 1999 SuSE GmbH Nuernberg
7 * Copyright (C) 2000 Hewlett-Packard (John Marvin)
8 * Copyright (C) 1999 Hewlett-Packard (Frank Rowand)

--- 927 unchanged lines hidden (view full) ---

936 STREG %r19,PT_PSW(%r16)
937
938 /*
939 * If we aren't being traced, we never saved space registers
940 * (we don't store them in the sigcontext), so set them
941 * to "proper" values now (otherwise we'll wind up restoring
942 * whatever was last stored in the task structure, which might
943 * be inconsistent if an interrupt occured while on the gateway
1/*
2 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
3 *
4 * kernel entry points (interruptions, system call wrappers)
5 * Copyright (C) 1999,2000 Philipp Rumpf
6 * Copyright (C) 1999 SuSE GmbH Nuernberg
7 * Copyright (C) 2000 Hewlett-Packard (John Marvin)
8 * Copyright (C) 1999 Hewlett-Packard (Frank Rowand)

--- 927 unchanged lines hidden (view full) ---

936 STREG %r19,PT_PSW(%r16)
937
938 /*
939 * If we aren't being traced, we never saved space registers
940 * (we don't store them in the sigcontext), so set them
941 * to "proper" values now (otherwise we'll wind up restoring
942 * whatever was last stored in the task structure, which might
943 * be inconsistent if an interrupt occured while on the gateway
944 * page) Note that we may be "trashing" values the user put in
945 * them, but we don't support the the user changing them.
944 * page). Note that we may be "trashing" values the user put in
945 * them, but we don't support the user changing them.
946 */
947
948 STREG %r0,PT_SR2(%r16)
949 mfsp %sr3,%r19
950 STREG %r19,PT_SR0(%r16)
951 STREG %r19,PT_SR1(%r16)
952 STREG %r19,PT_SR3(%r16)
953 STREG %r19,PT_SR4(%r16)

--- 1496 unchanged lines hidden ---
946 */
947
948 STREG %r0,PT_SR2(%r16)
949 mfsp %sr3,%r19
950 STREG %r19,PT_SR0(%r16)
951 STREG %r19,PT_SR1(%r16)
952 STREG %r19,PT_SR3(%r16)
953 STREG %r19,PT_SR4(%r16)

--- 1496 unchanged lines hidden ---