Commit Graph

181 Commits

Author SHA1 Message Date
jtc f269c3f49e Fix bug when the second argument of va_start was a char, short or float.
(ie. not promoted); fixes PR# 1193.  Thanks to Bernd Ernesti and Markus
Wild.
1995-09-07 01:20:15 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
mycroft 36a94a031a Lock the process in core before operating on it. 1995-08-13 09:05:51 +00:00
cgd 479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
jtc 1d65cdd4ab #include <sys/cdefs.h>.
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
leo 56dc7b26ad Atari no longer uses the default db_read/write functions. 1995-06-09 20:03:05 +00:00
gwr ea63c8d798 Fix range check for kernel stack pointers. 1995-05-24 20:23:34 +00:00
gwr 31870d2eec Compute value of ssp correctly. 1995-05-24 20:23:05 +00:00
mycroft 3d833a1ab1 Conditionalize the code in process_frame() on the existance of
cpu_set_init_frame().
1995-05-12 12:47:45 +00:00
mycroft c52debae3f Redefine the first part of struct frame to be a struct trapframe, and add a
struct switchframe.
1995-05-12 12:45:24 +00:00
chopps 4567f74662 add stdframe (4-word frame) 1995-05-12 00:01:05 +00:00
chopps 2526492410 fix typo 1995-05-11 23:49:56 +00:00
chopps 1ba39fdfd1 conditional use of kstack, specifically there is no kstack on the amiga 1995-05-11 23:15:13 +00:00
cgd 9b7c37148b new-config files list. missed this yesterday. 1995-04-30 02:44:44 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
chopps 10eb24c459 add needed signal debug stuff so it will compile with DEBUG 1995-04-23 18:22:14 +00:00
briggs 11632db942 Make this actually compile... 1995-04-23 00:27:48 +00:00
christos 00e1cff41a Shared sunos_machdep.c 1995-04-22 23:43:07 +00:00
mycroft 4b5c13c2c7 Shift the bit positions. 1995-04-09 23:29:22 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
jtc 7a5da7fda2 Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-07 00:44:37 +00:00
briggs 71a63538b8 KERNEL -> _KERNEL 1995-03-26 17:08:36 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
gwr d0dba9b2d2 Add missing break in switch (not that it mattered 8^) 1995-03-10 01:43:05 +00:00
gwr 6ca3d5b258 First cut at an mc68881 emulator. Works only for fmovem right now. 1995-03-01 04:56:27 +00:00
chopps 70d3768555 add amiga in here too 1995-02-13 00:44:33 +00:00
mycroft aa166654e0 Fix typos copied from i386 code. 1995-02-11 21:59:29 +00:00
gwr 664fc712cc Make most of the labels local (start with "L")
Remove sun3-specific code (no longer necessary)
Add diagnostic to verify correct sfc/dfc (applies to all m68k).
1995-02-11 20:54:11 +00:00
mycroft bc743704d0 Change comment style to match the rest of locore. 1995-02-08 17:38:03 +00:00
mycroft 989a13ef22 Oops. Change the su*() functions back to using d0, to avoid conflict with
the Sun 3 code.
1995-02-08 17:32:13 +00:00
mycroft 601e2d1b77 Add fu/su functions from hp300, modified for Sun 3. 1995-02-08 14:50:38 +00:00
mycroft 56c0e01a38 The count argument is always unsigned. 1995-02-08 14:26:10 +00:00
mycroft f42e0c3e36 Pull in necessary include files to make the stand-alone. 1995-02-08 14:19:37 +00:00
mycroft 5cd0312141 Minor change. 1995-02-08 14:14:26 +00:00
mycroft b6363586fd Copy hp300 version, with Sun 3 sfc/dfc frobnication added. 1995-02-08 14:11:50 +00:00
jtc 830a53e394 ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
mycroft 0460b0fe44 Fix syntax errors. 1995-01-26 21:28:09 +00:00
mycroft 70442b438d Add struct fpreg. 1995-01-26 19:48:48 +00:00
mycroft e3a9f05f7d Add PT_[GS]ETFPREGS. 1995-01-26 19:47:10 +00:00
mycroft 3f74df614e Add process_{read,write}_fpregs(). 1995-01-26 19:46:17 +00:00
mycroft 1783c9f972 Rearrange struct reg to match what the rest of the world expects. 1995-01-26 18:26:01 +00:00
jtc 9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
gwr cea77bf837 Make kdb_trap return zero for traps that have not been "handled". 1995-01-18 17:10:47 +00:00
mycroft 93cd120f4e Faster version from Michael Schr"oder. 1995-01-15 22:32:35 +00:00
jtc d7a8b2964f Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
cgd 7b8535b554 do the right thing with strange-sized varargs objects. 1994-12-28 22:45:42 +00:00
cgd e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
gwr c2466a5ffa The sun3 port now has its own db_read_bytes() too. 1994-11-28 19:29:14 +00:00
gwr 81839ca1f7 The sun3 needs its own version of db_write_bytes() so just
added #ifndef sun3 around it for now.  This function should
probably be provided by each port (like sun3/db_write.c).
1994-11-17 05:04:35 +00:00