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
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
leo
c5ba7a3102
Move the definition of MSGBUFSIZE up to the machine-arch level if
...
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:06:37 +00:00
leo
00a1b6300f
Add DCFA() definitions.
1997-09-15 11:12:13 +00:00
thorpej
b88b183ab5
Don't have kernel vs. non-kernel versions of _ENTRY(); there's no
...
reason to omit the .type directive in the kernel case.
1997-07-14 07:44:56 +00:00
veego
78996821fa
Move the defines of UPAGES and NPTEPG back to the MD param.h, execpt that
...
the sun3[x] doesn't use NPTEPG.
1997-07-10 08:22:09 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
veego
f7d1a9f167
Add the 'Mach derived conversion macros' from <arch>/include/param.h.
1997-06-10 18:21:23 +00:00
veego
451bfcbc85
New MI include file. Based on the param.h from all m68k ports.
1997-06-10 07:51:43 +00:00
leo
6793c446f0
An attempt to make a generic m68k implementation for cache control operations.
...
Not yet completely finished.
1997-06-02 20:26:37 +00:00
mycroft
90f17dd8ab
Oops; put the __attribute__ in the right place.
1997-05-03 12:49:05 +00:00
mycroft
a60739aacf
Make sure struct trapframe is packed tightly.
1997-05-03 10:16:58 +00:00
gwr
7a80e420ed
Remove unused part of sun3_kcore_hdr.
1997-05-01 22:48:09 +00:00
thorpej
658ce85446
Add several useful macros:
...
- ENTRY_NOPROFILE() and ASENTRY_NOPROFILE(), similar to ENTRY() and
ASENTRY(), but without the profiling prologue.
- GLOBAL()/ASGLOBAL() and LOCAL()/ASLOCAL(), for defining global and
local variables with C and ASM labels.
- BSS()/ASBSS(), for defining items in the BSS segment, with C or
ASM labels.
- PANIC("panic message") - shorthand for calling panic() from assembly code.
- VECTOR(), ASVECTOR(), VECTOR_UNUSED - shorthand for defining entries
in the vector table.
Also, change RCSID() to pad out the string to even boundary.
1997-04-24 22:49:39 +00:00
thorpej
e59a1e5e15
Garbage-collect some things no longer needed since there are no longer
...
m68k4k ports.
1997-04-09 23:34:29 +00:00
thorpej
c739bf6e79
New kcore.h for m68k, includes all possible m68k formats in a self-describing
...
layout, facilitating sharing libkvm on all m68ks.
NOTE: This changes the crash dump format of all m68k ports that use the
new libkvm!
1997-04-09 19:25:00 +00:00
thorpej
2f5b398ad4
Prototype regdump().
1997-04-09 19:21:06 +00:00
leo
92b96871ea
Turn the 'extern' definition of mcount() into a full prototype.
1997-04-08 20:39:01 +00:00
gwr
b43ee24829
Need a common <m68k/pcb.h> for gdb.
1997-03-31 21:32:26 +00:00
gwr
0a928acbfc
Remove some unnecessary <vm/*> headers. Have to keep <vm/vm_param.h>,
...
at least until boolean_t moves to <sys/types.h> or someplace...
Also make ddb_regs extern here. Closes PR#3213
1997-02-18 22:29:58 +00:00
gwr
09cc42f318
Add kgdb_reg_t, KGDB_NUMREGS, KGDB_BUFLEN
1997-02-12 00:59:46 +00:00
gwr
ea3925f508
FIXUP_PC_AFTER_BREAK now takes an arg of type db_regs_t *
1997-02-06 21:16:28 +00:00
scottr
6d39698236
db_expr_t is now a long.
1997-02-05 05:10:24 +00:00
thorpej
de70c1051d
prototype mappedcopy{in,out}(), {copy,zero}page().
1997-02-02 06:56:57 +00:00
gwr
b0f4781a3d
Include <machine/frame.h> and typedef db_regs_t using struct trapframe
...
(instead of replicating trapframe here by a different name). Update the
macros that refer to members of db_regs_t to use the trapframe members.
1997-01-27 23:02:55 +00:00
gwr
09fa19ebb5
Protect this agains multiple includes so it can be included by db_machdep.h
1997-01-27 22:58:45 +00:00
gwr
6e961cf5de
Use db_regs_t instead of struct mc68020_saved_state
1997-01-15 23:11:46 +00:00
gwr
661c8f1ae0
CTL_MACHDEP definitions. (Common to all m68k ports.)
...
This should be included by each m68k port's cpu.h so
/usr/sbin/sysctl can be shared on all of them.
1996-12-17 19:26:51 +00:00
gwr
a25e8be772
Add prototypes for process_read_regs, etc. (fix warnings)
1996-12-17 19:24:31 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
christos
cabe1f09ff
use in_addr_t and in_port_t
1996-10-13 02:59:54 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
ws
5804d3f648
PowerPC port
1996-09-30 16:34:14 +00:00
jtc
d137b0e8ba
Added new macro _PROF_PROLOG which contains the code sequence needed
...
to call mcount(). This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument). _PROF_PROLOG is also used in the i386
asm.h.
Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.
I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports. Usually ALTENTRY simply
provides an alternate function entry point. The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled. The m68k behavior is similar to the ENTRY2 macro found in
solaris.
Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
leo
2eccad6548
Add macro's that do bclr/bset in a single instruction.
1996-09-16 06:03:58 +00:00
thorpej
22adc20819
Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU.
1996-09-12 02:52:34 +00:00
thorpej
521a717f6d
Factor out common Motorola 68k CPU definitions from the m68k port
...
cpu.h header files.
Some more work could be done here, but it's a good start.
1996-09-11 00:08:52 +00:00
thorpej
c5e5dec3b7
All of the m68k ports' exec.h's were essentially the same. Merge them.
...
Override the N_PAGSIZ() macro; this one checks the MID of the executable
and returns the appropriate page size.
1996-09-08 00:57:29 +00:00
thorpej
f124a6aaa9
Back out previous; this is a bigger problem than I expected.
1996-08-14 00:32:53 +00:00
thorpej
a05a1045f7
The htonl(), htons(), etc. functions return u_long and u_short. Add
...
casts to the big-endian versions of these calls so that the compiler
won't complain when they're passed as arguments to printf().
1996-08-14 00:07:35 +00:00
is
d3ad3efef5
3 more constants for 68060 access error trap stack frames.
1996-05-16 16:51:30 +00:00
leo
dc05f2d48c
Prototype + -Wall fixes.
1996-04-29 20:50:08 +00:00
briggs
efa0c4d683
Make NTOH[SL] and HTON[SL] (void) (x) instead of (x) to get around
...
compiler warnings. Followed the lead set in the sparc port.
1996-03-29 01:40:31 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
is
905b10d4bc
M68060 additional frame formats and bits. Closes PR 1174.
...
This shouldn't break anything; I find ... grep ... all the relevant
kernel sources subdirecotry trees I could think of for the defines
that don't use the new FSLW or FPF6 prefix. But in case it does anyway,
tell me immediately.
1996-03-12 22:21:51 +00:00
leo
2273338717
Add the include files and the atari kernel support for new format panic
...
dumps.
1996-03-10 21:54:44 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00