diff options
author | dfr <dfr@FreeBSD.org> | 2001-01-31 11:17:00 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-01-31 11:17:00 +0000 |
commit | ba26212fc9f529837d44b0ed7d6f415249ef96ed (patch) | |
tree | 1ce71e80a687b827f4150bd990697fd214866423 /sys/powerpc | |
parent | 9b4aea27e569dab2275cf27f6e41b39ac65a23c3 (diff) | |
download | FreeBSD-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.c | 2 |
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); |