briggs
37163421a3
Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
...
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
scottr
c1c09c75e2
Add v2IRQ0 define for IIci-style internal video.
1996-04-04 06:55:29 +00:00
briggs
8326aadde5
via.h -> machine/viareg.h.
1996-03-29 02:27:42 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
briggs
db2f33c640
Clean out some unneeded constants.
1996-02-27 03:23:42 +00:00
scottr
738faf922f
Add ^^ and ^_ codes to default keyboard layout
1996-02-23 05:43:48 +00:00
briggs
f851e3e8b3
Move spl stuff from param.h to psl.h. Prototype delay() in param.h.
1996-02-17 14:50:40 +00:00
mycroft
9d9a70a5a2
Fix #includes.
1996-02-02 18:05:36 +00:00
briggs
46c929801f
Move splimp to 2 and spltty to 1.
1996-01-13 01:41:05 +00:00
briggs
1b99515858
Add #defines for some more machines.
1996-01-09 15:26:02 +00:00
mycroft
ce000f04ef
Remove deprecated cpu_setstack().
1995-12-21 05:01:32 +00:00
briggs
13c1f2d48b
Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
...
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
7d55e1196e
Document spl()s a bit, order the splfoo()s in splX() order.
1995-08-13 01:52:16 +00:00
mycroft
7a9cad50cd
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:23:56 +00:00
briggs
1fd03600dd
Get rid of cpu040 for good.
1995-08-12 04:08:29 +00:00
briggs
84ee954356
Change NBSBASE to 0x90000000 and let it and NBSTOP be defined.
1995-07-06 13:25:30 +00:00
briggs
1040af3492
Add missing interface for getting a grfmode structure from kernel.
1995-07-02 05:26:27 +00:00
briggs
af7f31e30a
Add a couple elements to the grfmode structure.
1995-07-02 00:29:03 +00:00
briggs
303845a487
Remove this define--we're using the new dump type.
1995-07-01 18:47:51 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs
4f05f7e8f6
pmap_page_index isn't a macro.
1995-06-24 16:18:50 +00:00
briggs
4a9e8ef39f
Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
...
Remove unused mapin() macro. Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs
5dd8297b11
Cleanup some and make these look more like hp300 versions.
1995-06-21 03:14:06 +00:00
briggs
23622438bf
Get rid of pcb_cmap2.
1995-06-21 03:10:44 +00:00
briggs
c2184f6f5b
Update to look more like hp300. Clean up a lot.
1995-06-21 03:08:29 +00:00
briggs
04834fb800
Remove cpu_set_init_frame() define.
...
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
briggs
0521ad83a0
Make comment fit reality.
1995-05-17 00:45:55 +00:00
briggs
a43ca9e742
Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
...
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
briggs
59b4da2b39
Add new nubus handling that's much more robust.
...
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs
74b3f483db
Define DELAY.
1995-04-22 13:17:51 +00:00
jtc
4d37095e31
Fix typo: ieefp.h -> ieeefp.h.
1995-04-16 16:47:03 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
e957423a98
Move fp_except and fp_rnd definitions to machine/include.
1995-04-09 21:31:58 +00:00
briggs
7a557178ba
Get rid of some BARFs and assign some semi-reasonable spl()s...
1995-03-29 07:35:35 +00:00
briggs
bb035dee62
KERNEL -> _KERNEL
1995-03-23 20:19:16 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +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
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
briggs
1c47e24828
Mac ROM Glue changes from grantham@tenon.com.
1994-12-03 23:33:55 +00:00
briggs
fc3961284c
Raise MCLBYTES to 2048.
1994-11-01 03:53:28 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
cgd
f501e4e128
make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
1994-10-15 04:57:29 +00:00
cgd
49c34d3337
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
1994-10-14 18:26:22 +00:00
jtc
23ece5babc
asm -> __asm (PR #463 ).
1994-09-16 02:39:36 +00:00
briggs
cdcb12bf54
Add USPACE.
1994-08-23 20:48:09 +00:00
briggs
60df0b6e97
Add a serial console flag that's passed in from the booter.
1994-07-31 14:03:58 +00:00
lkestel
faf8faf32f
Added a few macros for keys; cleaned up; only define key array
...
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92
Different pa_index() ifdef MACHINE_NONCONTIG.
1994-07-31 06:26:34 +00:00
lkestel
f3c8dbbd87
Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
...
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
briggs
8fc0b8b26e
Add a field for cpu-dependent structure to flag if SONIC is on-board.
1994-07-21 00:33:54 +00:00
briggs
f8d560f187
Be somewhat better at machine dependence.
1994-07-10 16:55:53 +00:00
briggs
c99467f6d1
Add a constant for masking off the scsi phase from the status register.
1994-07-08 11:36:59 +00:00
briggs
938fc1f67d
Apparently the registers for the NCR 53c96 in the mac are laid out
...
the same as they arefor the 5380--15 bytes of padding between each
reg. Define a structure for that here, now.
1994-07-07 00:29:37 +00:00
briggs
b144a7a279
Revert back to old HP MMU defines so we can use fpsp w/o changes.
1994-07-07 00:24:10 +00:00
briggs
984ca4e84d
Oops. w/ 4k pages, PTSIZE is larger.
1994-06-29 04:55:57 +00:00
briggs
ef1af9fc59
Cleanup a lot and bring in line w/ 4.4-lite.
1994-06-26 13:25:16 +00:00
briggs
f5c81ba898
Add md_coredump.
1994-06-26 13:24:44 +00:00
briggs
4d315aa38f
Fix warnings...
1994-06-26 13:23:46 +00:00
briggs
a9cda66bb3
PG_CC -> PG_CCB
1994-06-26 13:23:01 +00:00
briggs
96f45a2901
First pass at a header file for the NCR 53C96 driver (still under
...
construction).
1994-06-26 13:22:32 +00:00
briggs
e606973964
Cleanup some. Deprecate a few defines that are no longer needed.
1994-06-26 13:21:49 +00:00
briggs
1d8170c29b
Copied from Amiga. Just include m68k/profile.h.
1994-05-23 03:54:52 +00:00
briggs
fbc2a6679b
Get things to compile with latest changes.
1994-05-06 17:39:19 +00:00
briggs
8f39772f16
Make external definition for cpu040.
1994-04-22 12:10:36 +00:00
briggs
e12ec2b7de
'040 changes from Amiga.
...
Protect against multiple inclusion.
Swap arguments in struct clockframe.
1994-04-21 23:18:55 +00:00
briggs
16e14ee983
'040 changes from Amiga.
...
Protect against multiple inclusion.
1994-04-21 23:17:15 +00:00
briggs
7b7dcf1c14
'040 changes from Amiga.
1994-04-21 23:16:15 +00:00
briggs
c563009035
Add '040 stuff from Amiga pte.h.
...
Also protect against multiple inclusion.
1994-04-21 23:15:32 +00:00
cgd
3df116ff20
add comment for consistency.
1994-03-14 02:11:09 +00:00
briggs
8505642469
At least recognize different machine types.
1994-03-01 15:22:47 +00:00
briggs
4474958dd0
Add LCII machine id.
1994-02-27 16:42:33 +00:00
briggs
bedc2847a2
Add MDP_STACKADJ for compat_sunos.
1994-02-27 16:41:41 +00:00
briggs
b9fe737afd
Add a few new defined machine type constants and a few new globals.
1994-02-22 01:00:44 +00:00
briggs
4795851aeb
Moved PTBASE from 60000000 to 60100000 for PowerBooks. From grantham.
1994-02-22 00:59:34 +00:00
briggs
4d3096f778
Get rid of DELAY defines. These are bogus. There has to be a better
...
way. And there will be.
1994-01-30 00:53:07 +00:00
mycroft
6a50b26e15
Pointer to common version.
1994-01-27 15:26:31 +00:00
cgd
c9c3b2abbe
HP300 -> MACHINE
1994-01-27 02:12:44 +00:00
cgd
36a23c4ad8
stub
1994-01-23 00:23:02 +00:00
mycroft
0df1b00481
Clean up deleted files.
1994-01-17 01:04:42 +00:00
briggs
b05de50fc1
We aren't a VAX.
1994-01-17 01:04:08 +00:00
briggs
af6d2f067d
Fixup to use m68k headers, now. Thanks, Chris.
1994-01-10 23:55:20 +00:00
cgd
b38fa5acf8
stubs which pint to m68k include
1994-01-08 12:41:41 +00:00
mycroft
ed95321df9
Still need old #defines for now.
1994-01-06 17:05:34 +00:00
mycroft
f76fdd7722
Implement `struct reg'.
1994-01-06 16:50:13 +00:00
briggs
0658adaa44
Added for ddb support. I think it's at least partially wrong. This and
...
the files in mac68k/db_* started off as the sun3 files...
1993-12-15 03:30:27 +00:00
briggs
93726fb753
Change constants and comments to reflect the current MACHINE value.
...
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
mycroft
f67ccd2bf0
Move #define of NIPCREG outside #fidef.
1993-12-08 22:46:15 +00:00
briggs
54614538ca
Dumb typo. Must be dyslexic. Changed MACHINE_MID to MID_MACHINE.
1993-12-06 04:11:47 +00:00
briggs
dcbf82a3fe
Move MID_MACHINE to param.h from exec.h and get rid of bogus includes.
1993-12-06 04:09:20 +00:00
briggs
1fd099189d
Change USRTEXT to 8192 in vmparam.h.
...
Add MACHINE_ARCH (m68k) to param.h.
1993-12-04 03:49:01 +00:00
briggs
25e937c41a
Added struct relocation_info_mac68k. Copied from hp300.
1993-12-03 22:29:48 +00:00
briggs
9c873e424c
Update MACHINE to mac68k in param.h.
...
Update MACHINE_MID to MID_M68K -- untested.
Add __LDPGSZ as 8192 -- untested.
1993-12-02 18:36:35 +00:00
briggs
0c925f177c
Add symbols for quads to limits and endian and protect endian from mult.
...
inclusion.
1993-12-02 15:02:50 +00:00
briggs
e8aefd0760
Get rid of CLK_TCK. Theo reminds me that the value isn't
...
machine-dependent, which is why it's defined in time.h.
1993-12-02 07:40:14 +00:00
briggs
9995ea306b
Added signal.h for -current. The rest is formatting changes.
1993-11-29 00:37:54 +00:00
pk
14e6ea89aa
Put definition of __LDPGSZ and `struct relocation_info' where they belong:
...
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
briggs
8ae7f8bceb
The current MacBSD architecture sub-directory for NetBSD-0.9--more or
...
less. It needs some help to get to be -current. Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
1993-09-29 06:08:37 +00:00
mycroft
0b3f240c49
Ditto.
1993-09-02 19:05:40 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
cgd
6dedb5151c
add hp300 kernel files. generic kernel files might need some help...
1993-05-13 13:56:20 +00:00