kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
is
7a0f63f982
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
...
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
is
6a6812fd92
Move M680[2346]0 to opt_m68kcpu.h.
...
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
dbj
4d7d7e4b9d
Fixed stack trace address printing lossage when no symbols are available.
1998-05-14 10:15:44 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
scottr
0dfa8582c5
Make type explicit for egcs, from Erik Bertelsen in PR 5287.
...
Dump the register qualifier while we're here, as suggested in the PR.
1998-04-13 02:51:32 +00:00
thorpej
f766e521be
In kcopy(), make sure we save and restore the old fault handler; kcopy()
...
is called from uiomove(), which may be in the code path of servicing
a non-fatal page fault caused by a copyin() or copyout().
Originally suggested by Steve Woodford.
1998-03-04 06:39:14 +00:00
veego
b6ca941200
Sync it with the i386 version so lint doesn't complains about an syntax
...
error for __warn_references.
1998-02-28 12:20:25 +00:00
thorpej
11490942aa
Nuke memcpy() from here; it's in libkern.
1998-02-27 21:38:31 +00:00
scw
ef52501a4f
Implement changes for UVM.
1998-02-22 11:33:10 +00:00
mycroft
065e369ab5
Remove random.s.
1998-02-22 08:35:33 +00:00
mycroft
8776736cea
Move to libkern.
1998-02-22 08:34:35 +00:00
mycroft
d47ec6f1ae
Include correct information for long doubles (mc68881 extended precision).
1998-02-18 10:24:45 +00:00
thorpej
2b06ffd5f9
Add support for UVM.
1998-02-15 21:19:34 +00:00
thorpej
8559f25d47
Implement kcopy(), like bcopy(), but aborts if a fault is encountered.
...
Required for UVM.
1998-02-15 21:18:45 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
is
b3fa451227
Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
...
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +00:00
is
5d5c1cd59e
- avoid system stack underflow when calling sigreturn via trap #0
...
- make sure all sigreturn error conditions are reported to the caller,
instead of the place jumped to.
This is the bugfix part of pr 4628 by ITOH Yasufumi.
The performance optimization part will be handled seperately, after evaluating
its implications.
Testing on 68040 and removing the performance change from the proposed patch
by scottr. Half of the Amiga machdep.c change had to be done manually by me,
as the patchfile didn't apply cleanly.
XXX Yes, Amiga should be changed to use the common sig_machdep.c instead.
XXX Really soon now. I promise.
1998-01-07 22:46:00 +00:00
is
d002f566b3
Support 68060 (and, for the Amiga, even 68040 buserr frames) in the sendsig()
...
and, indirectly, sigreturn() functions.
XXX The Amiga should be switched to using sig_machdep.c instead.
1998-01-06 20:50:22 +00:00
thorpej
c2768af3d4
Garbage-collect cpu_set_init_frame(); it hasn't been needed for some time
...
now.
1998-01-06 08:06:45 +00:00
thorpej
8cbc5caabb
The user segment table pointer is no longer kept here. Change it to
...
a spare field.
1998-01-06 06:46:05 +00:00
perry
b46484bb8a
RCSID Police.
1998-01-05 20:51:25 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
kleink
66c2794142
Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
...
cleanup
1997-11-23 20:20:53 +00:00
thorpej
0b04d28454
Mark uses of long long with /* LONGLONG */ for lint. From
...
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej
53a8f81b2f
inline -> __inline
1997-11-05 04:13:24 +00:00
thorpej
b868a7c2ab
asm -> __asm__, volatile -> __volatile
1997-11-05 03:57:52 +00:00
thorpej
4730a8cbec
Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
...
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
by the way it's used).
The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.) The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
is
5c7d3c3f2c
Back out last change, which was a thinko.
1997-11-03 11:10:41 +00:00
is
2ee51585ba
Add ftwotox emulation, by using the fscale emulation routine (preload
...
destination register bit pattern with 1.0), which automatically provides
corner case handling.
Missing ftwotox emulation originally reported by Norman Mackenzie in PR 4237,
but he proposed a different implementation.
1997-11-02 22:02:46 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
gwr
5665df7a14
comments
1997-10-21 19:15:33 +00:00
gwr
0e5142a525
Move the (boiled down) interface declarations into m68k.h
...
Too late for the release, unfortunately...
1997-10-21 18:03:56 +00:00
gwr
10f5adfd00
Fix warnings on the sun3 caused by the fact that sun3/include/cpu.h
...
does not (and should not) declare stuff like getsfc(). Instead,
include <m68k/m68k.h> for those declarations.
1997-10-21 17:30:15 +00:00
gwr
9215c4253e
Declarations for things exported by sources in this directory.
...
(i.e. stuff that does not belong in <machine/cpu.h>)
1997-10-21 17:23:23 +00:00
briggs
acbf52300f
Include vm/vm.h.
1997-10-17 02:50:50 +00:00
carrel
5f5ee7f57b
Need to include vm/vm.h
1997-10-16 18:23:38 +00:00
leo
a1025a03cc
Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
...
Ignatios).
1997-10-13 11:21:12 +00:00
leo
49867b6097
Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
...
Ignatios).
1997-10-13 11:21:09 +00:00
mycroft
448c9be261
Common stuff, like mips/Makefile.inc.
1997-10-11 09:10:09 +00:00
is
9f6d6708f4
Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
...
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
1997-10-09 20:40:18 +00:00
is
eb54c04b14
Don't forget to set the scale variable even if we dont need to sign-extend it.
...
From PR 4236 by Norman Mackenzie.
1997-10-09 19:19:01 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
thorpej
0e22d3b5a3
Copyright assigned to The NetBSD Foundation.
1997-10-04 17:34:08 +00:00
is
3f894ade50
- only convert real hex constants to 0x form, not $NetBSD...
...
- protect comment lines from future uses of CPP by putting a | in front
1997-09-30 21:47:22 +00:00
is
81fb4c961d
Forgot to remove this yesterday... this was renamed to netbsd060sp.S.
1997-09-29 22:28:14 +00:00
is
d5e867bb03
Build the 68060 support package in the kernel build dir.
...
XXX PCB_ONFAULT is still hardwired to 64 in netbsd060sp.S.
1997-09-28 20:49:56 +00:00