moved .data where it belongs (to RAM)
This commit is contained in:
@@ -69,14 +69,16 @@ SECTIONS {
|
||||
.bas _Bas_base : AT (ADDR(.text) + SIZEOF(.text))
|
||||
{
|
||||
objs/BaS.o(.text)
|
||||
# put other routines into the same segment (RAM) as BaS.o
|
||||
/* put other routines into the same segment (RAM) as BaS.o */
|
||||
objs/sd_card.o(.text)
|
||||
objs/mmu.o(.text)
|
||||
objs/exceptions.o(.text)
|
||||
objs/supervisor.o(.text)
|
||||
objs/ewf.o(.text)
|
||||
objs/illegal_instruction.o(.text)
|
||||
|
||||
|
||||
*(.data)
|
||||
|
||||
_bas_end = ABSOLUTE(.);
|
||||
} > ram
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ void BaS(void)
|
||||
MCF_PSC0_PSCTB_8BIT = MCF_PSC3_PSCRB_8BIT;
|
||||
MCF_PSC0_PSCTB_8BIT = MCF_PSC3_PSCRB_8BIT;
|
||||
MCF_PSC0_PSCTB_8BIT = 0x0d0a;
|
||||
|
||||
MCF_PSC3_PSCTB_8BIT = 0x01; /* request RTC data */
|
||||
|
||||
if (MCF_PSC3_PSCRB_8BIT == 0x81)
|
||||
|
||||
@@ -551,7 +551,7 @@ non_acsi_dma:
|
||||
irq6_1:
|
||||
lea MCF_GPIO_PODR_FEC1L,a5
|
||||
bclr.b #4,(a5) // led on
|
||||
lea blinker(pc),a5
|
||||
lea blinker,a5
|
||||
addq.l #1,(a5) // +1
|
||||
move.l (a5),d0
|
||||
and.l #0x80,d0
|
||||
@@ -612,8 +612,13 @@ sev_sup6:
|
||||
move.l (a5),12(a7) // hier gehts weiter
|
||||
movem.l (a7),d0/a5 // register zur<EFBFBD>ck
|
||||
rts
|
||||
|
||||
.data
|
||||
blinker:.long 0
|
||||
|
||||
|
||||
.text
|
||||
|
||||
/*
|
||||
* pseudo dma */
|
||||
*/
|
||||
|
||||
@@ -356,7 +356,7 @@ void init_PCI(void) {
|
||||
MCF_PCI_PCICR2 = MCF_PCI_PCICR2_MINGNT(16) + MCF_PCI_PCICR2_MAXLAT(16);
|
||||
|
||||
// Turn on error signaling
|
||||
MCF_PCI_PCIICR = MCF_PCI_PCIICR_TAE + MCF_PCI_PCIICR_TAE * MCF_PCI_PCIICR_REE + 32;
|
||||
MCF_PCI_PCIICR = MCF_PCI_PCIICR_TAE + MCF_PCI_PCIICR_TAE + MCF_PCI_PCIICR_REE + 32;
|
||||
MCF_PCI_PCIGSCR |= MCF_PCI_PCIGSCR_SEE;
|
||||
|
||||
/* Configure Initiator Windows */
|
||||
|
||||
Reference in New Issue
Block a user