Commit Graph

743 Commits

Author SHA1 Message Date
Markus Fröschle
eb1cbc64be replaced mmu.S with mmu.c 2013-11-19 11:39:22 +00:00
Markus Fröschle
cb1278acc9 as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file 2013-11-19 11:38:29 +00:00
Markus Fröschle
799893c2eb rewritten completely (including MMU TLB exception handler) in C.
Besides the save of fp registers, the gcc generated code is at least as efficient than the asm.
2013-11-19 11:36:43 +00:00
Markus Fröschle
edd6bc80d5 fixed comments 2013-11-15 07:55:23 +00:00
Markus Fröschle
07adf3c209 added chip_errata() to word and byte config space writes 2013-11-14 22:57:49 +00:00
Markus Fröschle
6c592ee3d6 fixex wrong parentheses in pci_write_config_longword() 2013-11-13 21:08:52 +00:00
Markus Fröschle
590647db30 XL bus master priorities were the wrong way round 2013-11-13 12:46:00 +00:00
Markus Fröschle
e776ab350d updated with some PCI code lend from the Linux BSP for Coldfire boards 2013-11-13 11:34:35 +00:00
Markus Fröschle
4693c68342 added programmed XLBUS arbiter master priorities 2013-11-12 09:50:17 +00:00
Markus Fröschle
6240affc27 added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
fcdd552d9f enable device after configuration 2013-11-11 17:08:40 +00:00
Markus Fröschle
6b82bea379 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
b45a4dbd3d do DMA from SDRAM to SDRAM 2013-11-10 19:47:42 +00:00
Markus Fröschle
7ace528d04 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
c68995804f still nothing but target aborts 2013-11-10 06:45:26 +00:00
Markus Fröschle
a3b8764ae9 still hangs, unfortunately 2013-11-09 19:57:16 +00:00
Markus Fröschle
f10e1b5d3a hang on USB hc reset 2013-11-09 18:09:01 +00:00
Markus Fröschle
1920872503 USB chip registers seem to be visible now 2013-11-09 17:35:49 +00:00
Markus Fröschle
de8cc17760 2013-11-09 08:46:32 +00:00
Markus Fröschle
380b68bbc7 more consistant file name 2013-11-09 08:46:01 +00:00
Markus Fröschle
ffec658d1e USB controller detected on FireBee - needs a long wait time for config access there... 2013-11-09 08:33:26 +00:00
Markus Fröschle
92df5834fd moved code around to try and determine why PCI memory mapping doesn't work as expected 2013-11-08 17:34:08 +00:00
Markus Fröschle
3d816b8ba8 added interrupt service routine for PCI errors. Fixed XLB macros (contained double undescores for _MBAR) 2013-11-08 13:59:39 +00:00
Markus Fröschle
35cb15896d detects and displays S0 field correctly now 2013-11-08 08:18:03 +00:00
Markus Fröschle
b3cfd3e81d modified pci_device_config() to support byteswapped config access functions 2013-11-08 06:45:51 +00:00
Markus Fröschle
7356021ae3 cleanly finish configuration access cycle in pci_write_config_longword 2013-11-08 05:45:12 +00:00
Markus Fröschle
5c297f85b3 cleanly finish PCI configuration access in pci_read_config_longword 2013-11-08 05:43:29 +00:00
Markus Fröschle
1dd565dda9 added missing newline 2013-11-07 20:53:43 +00:00
Markus Fröschle
ba277cd6a2 added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
4110d5afb6 made ram location of bas_ram dependend on overall memory size 2013-11-07 19:59:53 +00:00
Markus Fröschle
22409ef96e added removal of libraries on make clean target 2013-11-07 19:51:44 +00:00
Markus Fröschle
1e59309aa8 finally found and fixed P&E problem - you just need to wait after execute, otherwise the P&E interface sooner or later issues a reset 2013-11-07 19:51:04 +00:00
Markus Fröschle
0db3b63cc2 fixed swapw() 2013-11-07 19:49:56 +00:00
Markus Fröschle
43f4c22e08 modified for M5484LITE 2013-11-07 19:49:35 +00:00
Markus Fröschle
93395a6f7d removed unneeded printouts 2013-11-07 19:49:01 +00:00
Markus Fröschle
fc03249d9c fixed PCIxxx() macros for little endian PCIBIOS routines 2013-11-07 19:48:21 +00:00
Markus Fröschle
e6618bfc0f removed unused variables 2013-11-07 19:47:21 +00:00
Markus Fröschle
68cf4cdb85 fixed for little endian PCIBIOS routines. Fixed bus enumeration 2013-11-07 19:46:44 +00:00
Markus Fröschle
87691040ca fixed init_usb() for little endian PCI routines 2013-11-07 19:45:36 +00:00
Markus Fröschle
2702fa0407 (temporarily) disabled EmuTOS copy for m5484LITE 2013-11-07 19:44:16 +00:00
Markus Fröschle
c5523093e6 added .indent.pro to enable indent source code formatting
modified s19header to printout the current header
modified Makefile to build s19header.c in utils directory
2013-11-07 14:46:10 +00:00
Markus Fröschle
0a1212d649 modified PCI access routines to closer follow pcibios standard 2013-11-07 11:31:10 +00:00
Markus Fröschle
87817f54fc fixed config space register offsets 2013-11-07 07:46:27 +00:00
Markus Fröschle
122cbcefc4 (nearly) fixed pci_find_device() 2013-11-07 07:45:54 +00:00
Markus Fröschle
e70b6b257e added diagnostic printout on exceptions - except common traps 2013-11-07 06:16:44 +00:00
Markus Fröschle
cc1586da72 fixed multi-function devices 2013-11-07 06:03:49 +00:00
Markus Fröschle
6a7eef56e1 cleaned up pci_find_device() 2013-11-07 06:00:30 +00:00
Markus Fröschle
87561b9bd5 modified tags target to work with MacOSX ctags variant 2013-11-07 05:59:27 +00:00
Markus Fröschle
4c4d1d7fba printout vector number during exception 2013-11-06 15:29:59 +00:00
Markus Fröschle
eb72afb8c4 removed unused code 2013-11-06 14:31:52 +00:00