Thomas Moestl
9300cb7db7
Save/restore the %y register around calls to the C user trap handler;
...
gcc emits the deprecated sparc v8 instructions that use this register
when optimizing for UltraSparc machines because they are apparetly
faster then their v9 counterpars there.
2002-03-11 02:53:03 +00:00
Thomas Moestl
4895e965c3
Add userland floating point emulator code for sparc64. This is a port
...
of the (never committed) in-kernel version (with some optimizations and
cleanups), which in turn was ported from NetBSD.
2002-02-23 21:37:18 +00:00
Jake Burkholder
3b16ee2c6c
Fix wrong offsets. Add offsets for %fsr and %tstate.
...
Submitted by: tmm
2002-02-23 19:01:22 +00:00
Jake Burkholder
d1497824f0
Add space for %fsr and %tstate to utrapframe. Save them in the generic
...
user trap entry code. Restore %asi and %ccr from the saved %tstate before
returning to the trapping user code.
Submitted by: tmm
2002-02-23 19:00:30 +00:00
Jake Burkholder
29c3ea8424
Connect user trap code to the build.
2002-01-01 21:59:53 +00:00
Jake Burkholder
6ce4e876a7
Add libc side of user trap handling.
...
Add support for handling floating point disabled traps mostly in userland
for the simple single threaded case. Not yet enabled by default.
Implement __sparc_utrap_install as specified by the sparc abi.
2002-01-01 21:58:32 +00:00
Jake Burkholder
1b46a084f3
Make sure curbrk is well aligned.
2001-12-29 06:40:58 +00:00
Jake Burkholder
b6d97b0c52
Need .type and .size here too.
2001-11-18 04:48:34 +00:00
Jake Burkholder
29e5109c5f
Remove fork and vfork wrappers. The kernel does the right thing.
2001-11-18 04:31:36 +00:00
Jake Burkholder
e74ea2d01a
Minimal libc for sparc64.
...
Reviewed by: obrien
2001-10-26 05:40:07 +00:00