Commit Graph

83 Commits

Author SHA1 Message Date
leo fc0c4cd1b9 Get syscall() code in sync with the rest of the world. 1995-05-21 10:50:41 +00:00
leo de6e84e901 Fixup free_stmem(). 1995-05-21 10:48:53 +00:00
leo d6b3669598 Remove icode, it doesn't seem to be used. 1995-05-21 10:45:59 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
leo 640101f0f8 - Remove double mapping of kernel stack
- Change to new coredump format
1995-05-14 19:09:10 +00:00
leo b78d405c36 Don't mess with SCU on the Falcon. 1995-05-14 15:55:51 +00:00
leo 8360740fdb Change of function params for Falcon SCSI. 1995-05-14 15:47:17 +00:00
leo 84c03e6058 - Remove race condition from DMA interrupt handler
- Add function to get current DMA address for Falcon SCSI.
1995-05-14 15:46:17 +00:00
leo 571c7445e0 Remove double mapping of stack. 1995-05-14 15:44:19 +00:00
leo 1029a77f13 Function proto added. 1995-05-14 15:29:18 +00:00
leo cf6323d778 Fixup comment. 1995-05-14 15:27:51 +00:00
leo e2b044e52f - Remove double mapping of stack
- Change to new coredump format
1995-05-14 15:26:55 +00:00
leo 72472e35b1 Remove double mapping of stack 1995-05-14 15:24:35 +00:00
leo 92d594935c - Remove double mapping of stack
- Change to new coredump format
1995-05-14 15:23:30 +00:00
leo d3e5e6574b Fix double mapping of stack. 1995-05-14 15:20:22 +00:00
leo 7b03e25bf5 Print proper machine type at startup. Use 'vfs_shutdown' to sync the
disks.
1995-05-10 07:07:30 +00:00
leo 9804349e4d Ignore HBL/VBL interrupts instead of reporting them as stray as they
can't be turned off on a Falcon.
1995-05-10 06:33:31 +00:00
leo 18976dc656 Added machine type detection, the presence of the 2nd MFP determines
if the machine is a Falcon or a TT030. The type is added to 'machineid'.
Interrupt  initialisation is now dependend on the machine type.
1995-05-10 05:59:27 +00:00
leo 8b4abb7503 Fix error in handling FPU types. 1995-05-05 16:39:14 +00:00
leo 231b64341e Fix bug on handling HD-floppy's. 1995-05-05 16:38:05 +00:00
leo ec3a1cd9f7 Define dma_drvmode correctly 1995-05-05 16:36:57 +00:00
leo 0d58fa8604 Report "real mem" correctly and make one single module for handling
software interrupts.
1995-05-05 16:35:21 +00:00
leo 0dae8a5da7 Remove some unused defines. 1995-05-05 16:33:11 +00:00
leo 60f4c22869 Shift system clocks from TT-mfp to ST-mfp and remove some dead-code. 1995-05-05 16:31:46 +00:00
leo d64c598f6a Shift system clocks from TT-mfp to ST-mfp for Falcon. 1995-05-05 16:30:33 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
leo 176d4dd6e5 Added -T option. 1995-05-02 05:54:28 +00:00
leo 58cd4c0a1d Get 68040 defines in line with other 68k ports so libkvm/kvm_m68k.c compiles
cleanly.
1995-04-30 14:02:12 +00:00
leo f677a89489 Small changes in dma locking code. 1995-04-30 12:06:01 +00:00
leo 12c60f7bc0 Complete rewrite, made necessary because Falcon SCSI needs to share
NCR5380 and DMA access with floppy.
1995-04-30 12:04:48 +00:00
leo e95337c226 Added lock status bits, update function prototypes. 1995-04-30 12:02:03 +00:00
leo fb4939eddf Moved softint definitions still in cpu.h into mtpr.h and did some minor
cleanups.
1995-04-30 12:00:31 +00:00
leo 8996e3866b - Move softint definitions to mtpr.h
- Add flags for TT/Falcon model for machineid, we definitely need them
1995-04-30 11:56:22 +00:00
leo 9dde470095 - Remove cpuspeed
- Remove dead code  (stmem_steal())
- Use round_page() on st_pool_size before using. This prevents crashes
  when it is 'binpatched' with a value that is not a multiple of the
  page size.
1995-04-28 11:41:53 +00:00
leo d3056f9136 CD-ROM drives added. 1995-04-28 11:36:33 +00:00
leo cd29a7f291 Better way to select a display mode? 1995-04-28 11:34:33 +00:00
leo d3bb44e8f2 Made no_ttram_dma patchable instead of a define. 1995-04-28 11:33:01 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
leo ecec677e0c Removed cpuspeed 1995-04-27 20:34:13 +00:00
christos 843a2a3539 Use new files.sunos 1995-04-27 12:08:54 +00:00
christos 94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos 4bca9bf670 Remove sunos_machdep.c 1995-04-22 23:38:27 +00:00
leo 03df025c9d Change allocation algorithm to best-fit, fix bug in free_stmem. 1995-04-22 22:23:38 +00:00
leo 8e56abf0fa Define DELAY to call delay() 1995-04-22 22:20:36 +00:00
leo 3517d2e5ac - Prefix 'dma-defines' with DMA_
- Add function prototypes
1995-04-22 22:18:57 +00:00
leo dcdee517ef - Remove register access functions from dma.c -> fd.c and inline them
- Add write protect checking (mistereously disapeared during port)
- Make fdclose() return a sensible value
- Prefix 'dma-defines' with DMA_
1995-04-22 22:18:17 +00:00
leo e8312d3ac3 Adapt for new conf.h:
- Add xxxtty() functions
	- Remove xxx_tty array
1995-04-22 22:06:43 +00:00
leo c9a522cd2b Adapt for new conf.h. 1995-04-22 22:05:17 +00:00
christos c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +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