I've got the Webpal back out of the closet, and I'd like to explore using the built in 'easy rider' gdb stub. My cygwin cross tools are built and appear to be working just fine, but I really don't understand the 'lay of the land'.
What's the memory map? I'm guessing that the MMU is on, but I can't read the control register to be certain...write buffer, cache, etc.? Looks like the TLB config register is write only as well, or am I all wet?
It appears I've got a very simple startup file working; just enough to set a stack, zero bss, call main, and (maybe) return. I cribbed most of it from Bill's proginit.S file. But my code only appears to run correctly if I set an SWI handler (pseudovector at 0x188) and force an SWI in the startup code, before running main(). Why is that?