Commit Graph

225 Commits

Author SHA1 Message Date
Markus Fröschle
324657ffbc cleaned up 2013-12-15 07:04:54 +00:00
Markus Fröschle
c3829df867 reduced debug printout to a minimum 2013-12-11 20:48:23 +00:00
Markus Fröschle
fe7824eda3 added code to access MIDI and IKBD in mmu.c 2013-12-11 06:26:41 +00:00
Markus Fröschle
22260138fb added include file for ACIA registers 2013-12-11 05:58:19 +00:00
Markus Fröschle
16dab640ab added IKBD queue code 2013-12-11 05:11:06 +00:00
Markus Fröschle
bfaf50a327 rearranged memory init. 2013-12-09 07:11:19 +00:00
Markus Fröschle
9ecbac9765 fixed to run from flash and ram identically. Also fixed to run EmuTOS with BaS on the m5484lite 2013-12-07 21:16:36 +00:00
Markus Fröschle
7197610c76 gcc inline assembly tends to use output registers as input if not explicitely told to avoid is: "=&" as constraint to the output register avoids that. 2013-11-22 10:03:10 +00:00
Markus Fröschle
e4938979de modified register constraints 2013-11-21 20:02:03 +00:00
Markus Fröschle
0f2693bce8 removed __interrupt__ attribute from mmutr_miss() 2013-11-21 19:59:26 +00:00
Markus Fröschle
b0965d2106 modified set_ipl() register constraints (code was overwriting input operand) 2013-11-21 19:45:09 +00:00
Markus Fröschle
523f73a9ae new inline asm version of set_ipl() (was asm_set_ipl()) 2013-11-20 06:54:48 +00:00
Markus Fröschle
22ea939cb9 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
d1bdb72005 updated with some PCI code lend from the Linux BSP for Coldfire boards 2013-11-13 11:34:35 +00:00
Markus Fröschle
b58d383585 added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
8fbceaaf68 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
0c1ea5b610 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
7b6dca54d4 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
735b6a690b added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
4349fb859b fixed swapw() 2013-11-07 19:49:56 +00:00
Markus Fröschle
92ebbe557f fixed PCIxxx() macros for little endian PCIBIOS routines 2013-11-07 19:48:21 +00:00
Markus Fröschle
f5ddbabee5 modified PCI access routines to closer follow pcibios standard 2013-11-07 11:31:10 +00:00
Markus Fröschle
3b5afee7ff fixed config space register offsets 2013-11-07 07:46:27 +00:00
Markus Fröschle
5e6419bcd7 fixed formatting 2013-11-06 13:18:28 +00:00
Markus Fröschle
c6c9fb62b8 renamed "slot" to "device" for better wording 2013-11-05 20:52:20 +00:00
Markus Fröschle
80a7a2384c defined EmuTOS flash address (was defined in linker script before) 2013-11-05 20:19:40 +00:00
Markus Fröschle
7db9dadf9e renamed struct pci_resource_descriptor to struct pci_rd 2013-11-05 05:56:19 +00:00
Markus Fröschle
6af7f6f35b fixed resource descriptors 2013-11-05 05:47:11 +00:00
Markus Fröschle
a3b2371608 fixed a few bugs but still no go.
Seem to have problems with global variables?
2013-11-04 20:58:57 +00:00
Markus Fröschle
459e30beed tried, but did not find the cause of access error during alignment of the TD buffers... 2013-11-04 20:09:32 +00:00
Markus Fröschle
accd53507b 2013-11-04 11:25:33 +00:00
Markus Fröschle
c0cbe38e66 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
07f390ed83 make resource descriptor structures packed 2013-11-03 14:49:08 +00:00
Markus Fröschle
acebfc7067 needed for USB drivers 2013-11-03 14:15:34 +00:00
Markus Fröschle
5dadc3a143 implemented an (ugly) implementation for pci_get_resource(). USB init code still hangs. 2013-11-03 13:38:18 +00:00
Markus Fröschle
f36016f12d code runs until ohci_lowlevel_init() but can't continue since pci_get_resource() is not implemented yet 2013-11-03 11:20:39 +00:00
Markus Fröschle
459722216f fixed more undefined symbols 2013-11-03 09:10:29 +00:00
Markus Fröschle
4105841c65 fixed type mismatches (unsigned long <-> uint32_t) 2013-11-03 08:54:53 +00:00
Markus Fröschle
8039abec46 implemented more helper functions needed by usb 2013-11-03 08:19:19 +00:00
Markus Fröschle
3689373d8d code compiles - not tested yet 2013-11-03 07:07:43 +00:00
Markus Fröschle
07e730cf9d added missing file 2013-11-03 03:59:23 +00:00
Markus Fröschle
22cbc5a23d modified to fit usb driver requirements 2013-11-03 03:40:22 +00:00
Markus Fröschle
7c25bc1124 fixed a few compile errors (still some left) 2013-11-02 20:43:29 +00:00
Markus Fröschle
e2f6c461a9 added usb sources from U-boot, does not compile currently 2013-11-02 20:18:18 +00:00
Markus Fröschle
f9c067956f PCI memory configuration done, still experimental 2013-11-02 07:37:47 +00:00
Markus Fröschle
b0fb66314c changed hardcoded, but SYSCLK dependend values to evaluate correctly for the different platforms 2013-11-01 11:23:52 +00:00
Markus Fröschle
74bc13e0f0 finished converting Makefile and directory structure to support other platforms 2013-11-01 09:20:05 +00:00
Markus Fröschle
d0d052dd7b proceed in porting to m5484l 2013-10-31 14:12:11 +00:00
Markus Fröschle
2197d42fc4 added macros to decrypt configuration space headers 2013-10-31 05:22:07 +00:00
Markus Fröschle
26498694b9 first steps to make Makefile machine independent 2013-10-29 14:43:53 +00:00