Commit Graph

189 Commits

Author SHA1 Message Date
is d5793c310d add DCIA prototype. 1996-05-16 16:02:15 +00:00
mhitch 8afe5318ba Used by the new libkvm and kernel coredump. 1996-05-12 02:47:46 +00:00
is f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +00:00
veego ba1ef888e9 removed the define for cdev_ss_init 1996-05-05 16:17:27 +00:00
veego 2c2a65b39e Add a __noreturn__ attribute for doboot 1996-04-27 20:55:08 +00:00
veego 463c504dc7 The prototyp for cpu_set_kpc is now in sys/systm.h 1996-04-23 22:54:49 +00:00
veego a922ebfb8b - Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:13:16 +00:00
is 62dcb879c0 Typo squished. 1996-03-30 16:22:55 +00:00
is 77e56e826d Yet more MC68060 bits. 1996-03-26 16:55:37 +00:00
is ed24bc5ba8 AMIGA_68060 flag in cpu.h and genassym.c. 1996-03-15 19:47:45 +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
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
chopps e717f326d5 remove MAXPARTITIONS, closes #1923 1996-01-28 19:12:46 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
chopps 319c531354 move 040 to hp300 style, use new MI lance ethernet driver
a few minor fixes WRT prototypes.
if_le from Charles rest from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-29 13:51:30 +00:00
chopps 34373365cb Add minimal dumpfile support.
Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions.
Change siop drivers to better handle sync.
Remove diag. done for ide -- its redundant as the ROM does similar.
fixed ite_filter to not panic if typing before the device is fully setup
All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-16 16:11:03 +00:00
chopps 2208782633 SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-08-18 15:27:29 +00:00
mycroft 79cecdbce0 Replace splnet() with splsoftnet(). Add splnet(). 1995-08-13 00:20:52 +00:00
chopps f1e1796cf4 misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-07-04 18:06:40 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +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
chopps 0282985f87 PS_STRINGS in A2. Add fputype, remove cpuspeed. switch to new coredump 1995-05-16 20:59:07 +00:00
chopps c7b33abd2d enable swapping of process 1995-05-12 00:21:54 +00:00
chopps 35785d310e remove double mapping of kernel stack. created cpu_set_kpc() 1995-05-11 23:04:18 +00:00
jtc 8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +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
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
chopps 85bd6c5e30 cleanup SG4_, fix magnum interrupts, gvp hack for ziii, new gvp configs, 4066
4066 interrupt fix, add baudrate gen and don't clear other port lines for mfc
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-04-02 20:38:09 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +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
chopps 32dc3c5832 Many changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
Now use amiga HW for soft interrupts, non-contig options (2 or many chunks),
interrupt handler lists, 4066 ethernet, 1291 scsi, option to defer level 6
interrupts to level 4 (deal with icky built-in serial port)
1995-02-12 19:18:33 +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
chopps 95d96c3bec support for recent changes (non-contig mem..)
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-12-28 09:08:41 +00:00
cgd e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
chopps c169980753 add typedefs for pte's and ste's. 1994-12-03 12:26:50 +00:00
cgd ec77f0b327 new RCS ID format. 1994-10-26 02:01:24 +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
chopps b6bd104b70 add USPACE 1994-08-24 20:50:35 +00:00
chopps 39be43d67f move to new disk minor encoding (parts have lowest 4 bits instead of 3)
remove multiple inclusions protection from varargs.h
1994-07-04 19:39:59 +00:00
chopps 983c19d69d increase SYSPTSIZE to 2 to accommodate zthreebus devices. 1994-07-02 21:16:36 +00:00
chopps 6729c03f86 some cleanup and various fixes for new fs code. plus some general
fixes from from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-06-13 08:12:30 +00:00
chopps f72a7d2c92 put back simple replacement for pte and ste structs to make code work for now. 1994-06-08 04:14:39 +00:00
chopps cd5921a72f started out cleaning up amiga_init.c ended up touching alot of files. 1994-06-04 11:58:35 +00:00
chopps 7eca9aa5d4 fix long standing "bug" with pmap. Basically logic/misunderstanding
error commited when it was ported from hp300 (mach?).  All
8M + amigas now gain ~1M of physical ram (4M hack removed).
Some minor cleanup.  HAVEVAC code removed as it is for the hp300.
1994-06-04 05:24:48 +00:00
chopps 1756d741f7 bring some good ideas over from hp300 port. 1994-06-01 19:34:32 +00:00
chopps 62843870cc update to work with new m68k frame and recent vm changes. 1994-05-25 07:59:57 +00:00
chopps 3e38213ded add md_coredump 1994-05-21 10:07:04 +00:00
chopps 4b420ae51e just include common m68k version 1994-05-16 05:17:05 +00:00
chopps 0c5b43e133 update for recent sig changes and fix clock.c and ite.c 1994-05-09 06:38:37 +00:00
chopps 571ade5c16 resistance is futile, you will be assimilated.
amiga goes: config.new *and* /sys/scsi.
clock code coerced into a single .c file adding an accurate usec delay().
disklabel.c updated to DTRT, code to write RDB's to be added soon.
sbic (old scsi) converted over to new scsi and config this covers about
90% of users.  Other drivers soon.
1994-05-08 05:53:56 +00:00
chopps 36de8a074d update to match current proc flags. 1994-05-04 07:35:33 +00:00
chopps 172b2ced90 also conform to standard style 1994-04-10 02:28:14 +00:00
chopps c1a4ced691 protect against multiple inclusion (and be consitent) 1994-04-10 02:06:32 +00:00
chopps 4b6943214f add some very usefull debug stuff to spl inline macros. 1994-02-23 19:07:57 +00:00
chopps c94a9739fd added KUSER_AREA for gdb like things. removed HIGHPAGES 1994-02-23 06:47:39 +00:00
hpeyerl 0b6d7b4726 Move some arch dependant stuff in here. 1994-02-23 03:18:34 +00:00
chopps 2803afecbc amiga now has USRSTACK at 0x0e000000 for further sun compat. 1994-02-17 09:11:52 +00:00
chopps 276eff6bd9 Add missing Id's 1994-02-11 07:00:37 +00:00
chopps 6dd465d0be remove redef of SIZE_T, logically same, lexically different. 1994-02-07 15:16:17 +00:00
chopps c7d3c021db swap ps and pc to match m68k:struct frame. 1994-02-03 04:24:03 +00:00
chopps 86f46b3c14 fetch m68k asm macros. 1994-02-01 11:53:56 +00:00
jtc 5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +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
mw 28b8a3907b Updated headers from current amiga branch. 1994-01-26 21:12:12 +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
mycroft f67ccd2bf0 Move #define of NIPCREG outside #fidef. 1993-12-08 22:46:15 +00:00
mw f6ea0d0d1c Define new flag MDP_STACKADJ to back out of a stack adjustment in
syscall() in case of ERESTART.
1993-10-31 01:52:12 +00:00
mw 10e446bf72 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:41:47 +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
mycroft 0b3f240c49 Ditto. 1993-09-02 19:05:40 +00:00
mw 3b2546cf2e new source release integrated from amiga-release. 1993-09-02 18:05:24 +00:00
jtc c41b22b4f6 Removed CLK_TCK, it's value is not machine dependant.
It's supposed to be defined in <time.h>, not <limits.h> anyway.
1993-08-18 00:22:44 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mw 33e84123f7 sys/arch/amiga tree. This is the machdep part required to get the kernel
up on an A3000. There are still (very) few changes required outside the
arch/amiga tree, so you can't recompile the kernel yet. Support for
third party SCSI controllers for the A2000 is on its way. The kernel is
fully functional (except for a missing ethernet-driver ...). This
tree is based on my version #390.
1993-07-05 19:19:43 +00:00
mw d8da9afb3a Initial revision 1993-07-05 19:19:42 +00:00
mw adfe768529 sys/arch/amiga tree. This is the machdep part required to get the kernel
up on an A3000. There are still (very) few changes required outside the
arch/amiga tree, so you can't recompile the kernel yet. Support for
third party SCSI controllers for the A2000 is on its way. The kernel is
fully functional (except for a missing ethernet-driver ...). This
tree is based on my version #390.
1993-07-05 19:19:41 +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