Commit Graph

119879 Commits

Author SHA1 Message Date
scw 84c17a8163 Enable alignment faults on arm32 for both kernel and userland.
If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.
2003-10-25 19:44:42 +00:00
christos 987510aee5 KASSERT takes 2 arguments here. 2003-10-25 19:41:44 +00:00
mycroft ca57a40612 Remove bogus initializers. 2003-10-25 19:38:18 +00:00
mycroft 8fd2d44a41 Add a missing default. 2003-10-25 19:37:47 +00:00
christos b3ae88ff5d Fix uninitialized variable warning. 2003-10-25 19:12:08 +00:00
christos 79b169b7aa Fix typo. 2003-10-25 19:10:34 +00:00
matt 69d23a06d1 Add a dummy fpset for gdb. 2003-10-25 19:05:39 +00:00
matt da19615924 Switch VAX to GDB 5.3 2003-10-25 19:02:55 +00:00
matt 6e23d936ae More fixes. 2003-10-25 19:02:07 +00:00
matt 91f24c5034 Try dealing with sigtramps better. 2003-10-25 19:01:45 +00:00
mycroft 823500c484 Eliminate nested functions.
(There are a billion better ways to abstract this...)
2003-10-25 18:56:48 +00:00
christos 65235b9eb5 Fix uninitialized variable warnings 2003-10-25 18:40:37 +00:00
christos e5d9888ff1 Fix uninitialized variable warning 2003-10-25 18:39:40 +00:00
christos 4bec333ae4 Fix uninitialized variable warnings 2003-10-25 18:37:49 +00:00
kleink 72315d3199 Update for FPA 80-bit extended-precision format. 2003-10-25 18:37:43 +00:00
christos 8bfd5e3292 Fix uninitialized variable warnings 2003-10-25 18:34:14 +00:00
christos bbda852cff FIx uninitialized variable warnings 2003-10-25 18:33:37 +00:00
christos 2017bf9a94 Fix uninitialized variable warning 2003-10-25 18:31:59 +00:00
christos 125ccd91b1 Fix uninitialized variable warnings 2003-10-25 18:29:12 +00:00
christos 1cb1045a68 Fix uninitialized variable warnings. 2003-10-25 18:28:31 +00:00
mycroft f5d3beb305 Fix atapibus definition. 2003-10-25 18:28:10 +00:00
christos 372f57e757 Fix uninitialized variable warnings. 2003-10-25 18:26:46 +00:00
matt 7819efde3c GDB 5.3 support for VAX 2003-10-25 18:26:07 +00:00
matt 17aa9b0c9b Use gregset_t/fpregset_t since that's what is really wanted. 2003-10-25 18:25:42 +00:00
matt 1b7561a047 Add VAX GDB 5.3 support. 2003-10-25 18:24:58 +00:00
kleink f6ec7cebf1 Update for FPA long double being 80-bit extended-precision format. 2003-10-25 18:24:28 +00:00
matt 3e45a9f0c7 Fix library order so that -static will work. 2003-10-25 18:24:23 +00:00
kleink a68b9ea2bd G/c the 128-bit extended-precision format, which is not applicable to
this platform.  Name the 80-bit version the extended format, which it
is for the FPA case according to the ARM7500FE manual.
2003-10-25 18:19:10 +00:00
mycroft fd8bb946a3 Update for GCC3 (basically, use the __builtin_va_* implementation). 2003-10-25 18:14:48 +00:00
mycroft ac20c30bcb Fix typo. 2003-10-25 18:04:34 +00:00
mycroft 981f659f4e Token-pasting nits for GCC 3. 2003-10-25 17:59:16 +00:00
kleink 25de9f5e2a Swap VFP and FPA sections to match the style of most other code;
no functional change.
2003-10-25 17:57:15 +00:00
jdolecek e0e20eea52 add majors for ses 2003-10-25 17:50:30 +00:00
jdolecek 690bfc89f6 g/c #if 0'ed (and empty) cpu_wait() 2003-10-25 17:49:57 +00:00
cl 342cbd284f replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
2003-10-25 17:13:57 +00:00
jdolecek faee5c3866 bump version to 1.6ZE - struct sigctx change 2003-10-25 17:00:35 +00:00
jdolecek 0c303462c5 modify sigtimedwait(2) to return full siginfo if available, and pass the wait
set using a pointer, to save couple bytes in struct sigctx

also fix fallout from recent lwp_wakeup() change, where we failed to properly
detect if tsleep() returned as result of lwp_wakeup() or signal outside
our wait set; could have caused problems for threaded apps using sigwait(2)
et.al.
2003-10-25 16:50:37 +00:00
chs 17a42a3dd3 make this compile again. 2003-10-25 16:33:00 +00:00
chs cac49e5cf0 clear pcb_onfault before calling uvm_fault() and restore it afterward.
if the fault handler generates a pagefault, we'd like to panic rather
than invoking the onfault handler.
2003-10-25 16:31:39 +00:00
chs 359e5c8c2e regen 2003-10-25 16:28:09 +00:00
chs b9a4f8c809 allow COMPAT_SUNOS without COMPAT_43. 2003-10-25 16:27:25 +00:00
chs 7bd0896538 regen 2003-10-25 16:24:44 +00:00
chs ae220470c0 add some missing. uncomment some. alphabetize. 2003-10-25 16:24:30 +00:00
chs 7d1b5d21fd regen 2003-10-25 16:22:25 +00:00
chs 897a586840 add some misc cards I've got. 2003-10-25 16:21:31 +00:00
cl 54641460eb make m68k/gdb53 compile as a crossgdb
- catch up tm-nbsd.h with gnu/usr.bin/gdb53/arch/m68k/tm.h
- only use nbsd-thread.o in m68k nbsd-host case
2003-10-25 16:20:58 +00:00
kleink bb5e0820bc Redo the VFP/endianness conditional logic of this file, making it easier
to read.  No functional change except for the side-effect of fixing the
ARMEB FPA case, which wasn't supported anyway.
2003-10-25 16:17:44 +00:00
chs 0e9360f160 NULL -> 0 2003-10-25 16:15:07 +00:00
simonb 919b362849 Switch from intrcnt interrupt account to event counters. 2003-10-25 15:52:38 +00:00
simonb 49a8cd4e3a Rename the "strtc" device to "m41t81rtc" so that it doesn't conflict with
the MI i2c "strtc" device.
XXX: This should use the MI "strtc" device - the M41T81 should be
     compatible enough with the M41ST84 currently supported by that
     driver.
2003-10-25 15:05:00 +00:00