Commit Graph

1055 Commits

Author SHA1 Message Date
Markus Fröschle
bb378a5cd0 fixed bug in determining if access error hit in TLB (checked bit 0 instead of 1). 2014-01-20 14:23:55 +00:00
Markus Fröschle
25280c9684 modified MMU mapping table to use symbolic constants from include file 2014-01-19 19:26:52 +00:00
Markus Fröschle
f9578cc665 simplified MMU code. Still hangs somewhere in EmuTOS 2014-01-19 18:27:05 +00:00
Markus Fröschle
2806d76b35 removed locked MMU pages 2014-01-18 20:59:42 +00:00
Markus Fröschle
a612252d9a removed inlining in wait.c, added (simple) map-based MMU handling 2014-01-18 14:03:25 +00:00
Markus Fröschle
6d0643b885 modified to map memory dynamically based on a static memory map 2014-01-18 08:04:44 +00:00
Markus Fröschle
5412297687 moved ACR register handling macros to include file 2014-01-17 06:45:33 +00:00
Markus Fröschle
ea843725eb modified access_error to do all MMU mappings dynamically 2014-01-16 20:42:04 +00:00
Markus Fröschle
8cebb6e8de extended mmu_map_page() by size and flags args 2014-01-16 16:29:29 +00:00
Markus Fröschle
fb37837727 modified ACRs to cover complete SDRAM 2014-01-16 16:18:43 +00:00
Markus Fröschle
90a4b60289 test using ACR0 & ACR2 to provide supervisor stack access 2014-01-15 16:03:54 +00:00
Markus Fröschle
64127d5d2f fixed typo in strcmp() 2014-01-15 07:17:21 +00:00
Markus Fröschle
06386a8872 fixed formatting 2014-01-14 21:39:05 +00:00
Markus Fröschle
f53d4b4a67 modified comments 2014-01-14 21:15:56 +00:00
Markus Fröschle
cdaefc9343 moved page alignment responsibility to caller 2014-01-14 20:28:13 +00:00
Markus Fröschle
3d9a5e9627 fixed missing parameter in debug print 2014-01-14 18:18:20 +00:00
Markus Fröschle
40aa08464d removed type field from isr_register_handler() and friends 2014-01-14 07:48:38 +00:00
Markus Fröschle
e8f4626b65 fixed comments 2014-01-13 22:05:20 +00:00
Markus Fröschle
071631b36f added vim modeline to asm sources. Needs "set modeline:set modeline=5" in .vimrc 2014-01-13 21:34:24 +00:00
Markus Fröschle
635a22595b cleaned up debug printouts 2014-01-13 21:30:39 +00:00
Markus Fröschle
71ae318675 renamed mmutr_miss() to mmu_map_page() (that's what its doing) 2014-01-13 21:26:42 +00:00
Markus Fröschle
84a63c1554 corrected FASTRAM_END comparision 2014-01-13 21:20:24 +00:00
Markus Fröschle
9c1befe977 refactored assembler routines from exceptions.S into mmu.c (access exception handler). Seems to be better, but still hang. 2014-01-13 19:39:42 +00:00
Markus Fröschle
e0f61b3afc implemented safe stack for access exception handler 2014-01-13 15:13:29 +00:00
Markus Fröschle
0a47c044c2 switch to a safe stack in access_exception.
Assembles, but not tested yet.
2014-01-13 07:19:09 +00:00
Markus Fröschle
9851a49477 added better matching descriptive text to debug messages 2014-01-08 13:57:35 +00:00
Markus Fröschle
faa7c7c38e FEC interrupts to level 1 2014-01-08 09:59:44 +00:00
Markus Fröschle
12b2f99caf fixed - carelessly choosen - interrupt level for FEC interrupts 2014-01-08 09:01:43 +00:00
Markus Fröschle
bd309348bf changed MAC address to original address dbug assigns 2014-01-07 10:50:22 +00:00
Markus Fröschle
347a629096 cleaned up 2014-01-07 05:57:17 +00:00
Markus Fröschle
1a82f294ac networking works (sort of). For some reason, the Firebee packets don't cross my switch (or only very few of them do). If I put a Linux box in between (cross cable), using it as router, everything works flawlessly. 2014-01-06 18:44:36 +00:00
Markus Fröschle
62923a645f removed a few leftover DPRINT..s 2014-01-04 16:09:42 +00:00
Markus Fröschle
37d3befb44 fixed undefined value in X86 pci bios emulation 2014-01-04 12:58:28 +00:00
Markus Fröschle
2857b525ba removed unused code 2014-01-04 09:23:32 +00:00
Markus Fröschle
d2f9d70d60 x86emu now compiles with DBG_X86EMU 2014-01-04 09:09:20 +00:00
Markus Fröschle
34281aa232 added missing files 2014-01-04 09:07:09 +00:00
Markus Fröschle
64b24ba73c forgot file. Only half way finished. 2014-01-03 21:04:12 +00:00
Markus Fröschle
47d7e8e965 cleaned up. X86emu does not work with debug trace on currently. 2014-01-03 21:03:35 +00:00
Markus Fröschle
087851d22f cleanup, more diagnostics 2014-01-03 07:19:36 +00:00
Markus Fröschle
32eb3a3c96 implemented PHY, but still only occasionly transmitted packets. Obviously, there's a bug somewhere ;) 2014-01-02 21:33:27 +00:00
Markus Fröschle
8952e35ae1 disable interrupts in lowlevel_isr_handler 2014-01-02 15:00:15 +00:00
Markus Fröschle
40e83e47ee enabled PSC3 interrupt again 2014-01-02 13:46:23 +00:00
Markus Fröschle
d9bcbf73c2 removed unused code 2014-01-02 13:16:50 +00:00
Markus Fröschle
053c5bef39 modified svn-ignore properties 2014-01-02 13:05:12 +00:00
Markus Fröschle
91cd008a65 removed #warning directive (leftover from previous bug hunting) 2014-01-02 11:49:09 +00:00
Markus Fröschle
5961c7da22 repaired compilation with m68k-atari-mint toolchain. Somewhere in the process, some (.text) entries got lost which causes the linker to fail (with an "Invalid operation" error message only, nothing else) 2014-01-02 11:46:15 +00:00
Markus Fröschle
4d3546b287 more cleanup 2014-01-02 10:35:56 +00:00
Markus Fröschle
eb7ec25b4e cleanup, formatting, unified dbg() diagnostic printouts 2014-01-02 09:47:46 +00:00
Markus Fröschle
3766d0b2be cleaned up 2014-01-02 07:11:56 +00:00
Markus Fröschle
26dd172843 removed hexdump() as bios detection does now work 2014-01-02 07:10:40 +00:00