summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-01-31 11:17:00 +0000
committerdfr <dfr@FreeBSD.org>2001-01-31 11:17:00 +0000
commitba26212fc9f529837d44b0ed7d6f415249ef96ed (patch)
tree1ce71e80a687b827f4150bd990697fd214866423 /sys/powerpc
parent9b4aea27e569dab2275cf27f6e41b39ac65a23c3 (diff)
downloadFreeBSD-src-ba26212fc9f529837d44b0ed7d6f415249ef96ed.zip
FreeBSD-src-ba26212fc9f529837d44b0ed7d6f415249ef96ed.tar.gz
* Move exception_return to exception.s which is a more logical home for it.
* Optimise the return path for syscalls so that they only restore a minimal set of registers instead of performing a full exception_return. A new flag in the trapframe indicates that the frame only holds partial state. When it is necessary to perform a full state restore (e.g. after an execve or signal), the flag is cleared to force a full restore.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/powerpc/genassym.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/powerpc/genassym.c b/sys/powerpc/powerpc/genassym.c
index da8ed74..10bac57 100644
--- a/sys/powerpc/powerpc/genassym.c
+++ b/sys/powerpc/powerpc/genassym.c
@@ -133,6 +133,8 @@ ASSYM(FRAME_RA, FRAME_RA);
ASSYM(FRAME_T12, FRAME_T12);
ASSYM(FRAME_AT, FRAME_AT);
ASSYM(FRAME_SP, FRAME_SP);
+ASSYM(FRAME_FLAGS, FRAME_FLAGS);
+ASSYM(FRAME_FLAGS_SYSCALL, FRAME_FLAGS_SYSCALL);
ASSYM(FRAME_SW_SIZE, FRAME_SW_SIZE);
OpenPOWER on IntegriCloud