From fc81a3651cf2ecfa26806b3444642c902bff704e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 31 Jul 2016 19:13:16 +0000 Subject: [PATCH] did some beautifying on the code --- BaS_gcc/BaS_gcc.files | 1348 +++++++++++---------- BaS_gcc/BaS_gcc.includes | 95 +- BaS_gcc/include/pci.h | 2 +- BaS_gcc/include/util.h | 14 +- BaS_gcc/pci/pci.c | 21 +- BaS_gcc/sys/mmu.c | 2 +- BaS_gcc/sys/sysinit.c | 10 +- BaS_gcc/tos/fpga_test/sources/fpga_test.c | 12 +- 8 files changed, 817 insertions(+), 687 deletions(-) diff --git a/BaS_gcc/BaS_gcc.files b/BaS_gcc/BaS_gcc.files index 7ac09c3..746e6c8 100644 --- a/BaS_gcc/BaS_gcc.files +++ b/BaS_gcc/BaS_gcc.files @@ -1,614 +1,734 @@ -dma/dma.c -dma/MCD_dmaApi.c -dma/MCD_tasks.c -dma/MCD_tasksInit.c -exe/basflash.c -exe/basflash_start.c -flash/flash.c -flash/s19reader.c -fs/cc932.c -fs/cc936.c -fs/cc949.c -fs/cc950.c -fs/ccsbcs.c -fs/ff.c -fs/unicode.c -if/driver_vec.c -include/acia.h -include/am79c874.h -include/arp.h -include/ati_ids.h -include/bas_printf.h -include/bas_string.h -include/bas_types.h -include/bas_utils.h -include/bcm5222.h -include/bootp.h -include/cache.h -include/diskio.h -include/dma.h -include/driver_mem.h -include/driver_vec.h -include/edid.h -include/ehci.h -include/eth.h -include/exceptions.h -include/fb.h -include/fec.h -include/fecbd.h -include/ff.h -include/ffconf.h -include/firebee.h -include/font.h -include/i2c-algo-bit.h -include/i2c.h -include/icmp.h -include/ikbd.h -include/interrupts.h -include/ip.h -include/m54455.h -include/m5484l.h -include/MCD_dma.h -include/mcd_initiators.h -include/MCD_progCheck.h -include/MCD_tasksInit.h -include/MCF5475.h -include/MCF5475_CLOCK.h -include/MCF5475_CTM.h -include/MCF5475_DMA.h -include/MCF5475_DSPI.h -include/MCF5475_EPORT.h -include/MCF5475_FBCS.h -include/MCF5475_FEC.h -include/MCF5475_GPIO.h -include/MCF5475_GPT.h -include/MCF5475_I2C.h -include/MCF5475_INTC.h -include/MCF5475_MMU.h -include/MCF5475_PAD.h -include/MCF5475_PCI.h -include/MCF5475_PCIARB.h -include/MCF5475_PSC.h -include/MCF5475_SDRAMC.h -include/MCF5475_SEC.h -include/MCF5475_SIU.h -include/MCF5475_SLT.h -include/MCF5475_SRAM.h -include/MCF5475_USB.h -include/MCF5475_XLB.h -include/mmu.h -include/mod_devicetable.h -include/nbuf.h -include/net.h -include/net_timer.h -include/nif.h -include/ohci.h -include/part.h -include/pci.h -include/pci_ids.h -include/queue.h -include/radeon_reg.h -include/radeonfb.h -include/s19reader.h -include/screen.h -include/sd_card.h -include/startcf.h -include/sysinit.h -include/tftp.h -include/udp.h -include/usb.h -include/usb_defs.h -include/usb_hub.h -include/user_io.h -include/util.h -include/version.h -include/videl.h -include/video.h -include/wait.h -include/x86debug.h -include/x86decode.h -include/x86emu.h -include/x86emui.h -include/x86fpu.h -include/x86fpu_regs.h -include/x86ops.h -include/x86pcibios.h -include/x86prim_asm.h -include/x86prim_ops.h -include/x86regs.h -include/xhdi_sd.h -kbd/ikbd.c -net/am79c874.c -net/arp.c -net/bcm5222.c -net/bootp.c -net/fec.c -net/fecbd.c -net/ip.c -net/nbuf.c -net/net_timer.c -net/nif.c -net/queue.c -net/tftp.c -net/udp.c -nutil/s19header.c -pci/ehci-hcd.c -pci/ohci-hcd.c -pci/pci.c -radeon/radeon_accel.c -radeon/radeon_base.c -radeon/radeon_cursor.c -radeon/radeon_monitor.c -spi/dspi.c -spi/mmc.c -spi/sd_card.c -sys/BaS.c -sys/cache.c -sys/driver_mem.c -sys/fault_vectors.c -sys/init_fpga.c -sys/interrupts.c -sys/mmu.c -sys/sysinit.c -tos/bascook/sources/bascook.c -tos/jtagwait/include/bas_printf.h -tos/jtagwait/include/bas_string.h -tos/jtagwait/include/driver_vec.h -tos/jtagwait/include/MCF5475.h -tos/jtagwait/include/MCF5475_CLOCK.h -tos/jtagwait/include/MCF5475_CTM.h -tos/jtagwait/include/MCF5475_DMA.h -tos/jtagwait/include/MCF5475_DSPI.h -tos/jtagwait/include/MCF5475_EPORT.h -tos/jtagwait/include/MCF5475_FBCS.h -tos/jtagwait/include/MCF5475_FEC.h -tos/jtagwait/include/MCF5475_GPIO.h -tos/jtagwait/include/MCF5475_GPT.h -tos/jtagwait/include/MCF5475_I2C.h -tos/jtagwait/include/MCF5475_INTC.h -tos/jtagwait/include/MCF5475_MMU.h -tos/jtagwait/include/MCF5475_PAD.h -tos/jtagwait/include/MCF5475_PCI.h -tos/jtagwait/include/MCF5475_PCIARB.h -tos/jtagwait/include/MCF5475_PSC.h -tos/jtagwait/include/MCF5475_SDRAMC.h -tos/jtagwait/include/MCF5475_SEC.h -tos/jtagwait/include/MCF5475_SIU.h -tos/jtagwait/include/MCF5475_SLT.h -tos/jtagwait/include/MCF5475_SRAM.h -tos/jtagwait/include/MCF5475_USB.h -tos/jtagwait/include/MCF5475_XLB.h -tos/jtagwait/sources/jtagwait.c -usb/usb.c -usb/usb_hub.c -usb/usb_kbd.c -tos/jtagwait/sources/bas_printf.c -tos/jtagwait/sources/bas_string.c -tos/vmem_test/Makefile -tos/vmem_test/sources/bas_printf.c -tos/vmem_test/sources/bas_string.c -tos/vmem_test/sources/printf_helper.S -tos/vmem_test/sources/vmem_test.c -sys/startcf.S -sys/exceptions.S -util/bas_printf.c -util/bas_string.c -util/printf_helper.S -util/wait.c -bas.lk.in -i2c/i2c.c -Makefile -x86emu/x86biosemu.c -x86emu/x86emu.c -x86emu/x86pcibios.c -util/libgcc_helper.S -util/setjmp.c -util/setjmp.S -include/x86emu_regs.h -x86emu/x86emu_util.c -include/setjmp.h -video/video.c -video/fbmem.c -video/fbmodedb.c -video/fbmon.c -video/fnt_st_8x16.c -video/offscreen.c -video/vdi_fill.c -video/videl.c -video/video.c -tos/jtagwait/Makefile -tos/Makefile -dma/dma.c -dma/MCD_dmaApi.c -dma/MCD_tasks.c -dma/MCD_tasksInit.c -exe/basflash.c -exe/basflash_start.c -firebee/bas.elf -firebee/bas.lk -firebee/bas.map -firebee/bas.s19 -firebee/basflash.elf -firebee/basflash.map -firebee/basflash.s19 -firebee/bashflash.lk -firebee/depend -firebee/ram.elf -firebee/ram.lk -firebee/ram.s19 -flash/flash.c -flash/s19reader.c -flash_scripts/flash_firebee_bas.bdm -flash_scripts/flash_firebee_etos.bdm -flash_scripts/flash_firebee_firetos.bdm -flash_scripts/flash_firebee_fpga.bdm -flash_scripts/flash_m548x_bas.bdm -flash_scripts/flash_m548x_dbug.bdm -flash_scripts/flash_m548x_etos.bdm -fs/cc932.c -fs/cc936.c -fs/cc949.c -fs/cc950.c -fs/ccsbcs.c -fs/ff.c -fs/unicode.c -i2c/i2c.c -if/driver_vec.c -include/acia.h -include/am79c874.h -include/arp.h -include/ati_ids.h -include/bas_printf.h -include/bas_string.h -include/bas_types.h -include/bas_utils.h -include/bcm5222.h -include/bootp.h -include/cache.h -include/diskio.h -include/dma.h -include/driver_mem.h -include/driver_vec.h -include/edid.h -include/ehci.h -include/eth.h -include/exceptions.h -include/fb.h -include/fec.h -include/fecbd.h -include/ff.h -include/ffconf.h -include/firebee.h -include/font.h -include/i2c-algo-bit.h -include/i2c.h -include/icmp.h -include/ikbd.h -include/interrupts.h -include/ip.h -include/m54455.h -include/m5484l.h -include/MCD_dma.h -include/mcd_initiators.h -include/MCD_progCheck.h -include/MCD_tasksInit.h -include/MCF5475.h -include/MCF5475_CLOCK.h -include/MCF5475_CTM.h -include/MCF5475_DMA.h -include/MCF5475_DSPI.h -include/MCF5475_EPORT.h -include/MCF5475_FBCS.h -include/MCF5475_FEC.h -include/MCF5475_GPIO.h -include/MCF5475_GPT.h -include/MCF5475_I2C.h -include/MCF5475_INTC.h -include/MCF5475_MMU.h -include/MCF5475_PAD.h -include/MCF5475_PCI.h -include/MCF5475_PCIARB.h -include/MCF5475_PSC.h -include/MCF5475_SDRAMC.h -include/MCF5475_SEC.h -include/MCF5475_SIU.h -include/MCF5475_SLT.h -include/MCF5475_SRAM.h -include/MCF5475_USB.h -include/MCF5475_XLB.h -include/mmu.h -include/mod_devicetable.h -include/nbuf.h -include/net.h -include/net_timer.h -include/nif.h -include/ohci.h -include/part.h -include/pci.h -include/pci_ids.h -include/queue.h -include/radeon_reg.h -include/radeonfb.h -include/s19reader.h -include/screen.h -include/sd_card.h -include/setjmp.h -include/startcf.h -include/sysinit.h -include/tftp.h -include/udp.h -include/usb.h -include/usb_defs.h -include/usb_hub.h -include/user_io.h -include/util.h -include/version.h -include/videl.h -include/video.h -include/wait.h -include/x86emu.h -include/x86emu_regs.h -include/x86pcibios.h -include/xhdi_sd.h -kbd/ikbd.c -m54455/bas.elf -m54455/bas.lk -m54455/bas.map -m54455/bas.s19 -m54455/basflash.elf -m54455/basflash.map -m54455/basflash.s19 -m54455/bashflash.lk -m54455/depend -m54455/ram.elf -m54455/ram.lk -m54455/ram.s19 -m5484lite/bas.elf -m5484lite/bas.lk -m5484lite/bas.map -m5484lite/bas.s19 -m5484lite/basflash.elf -m5484lite/basflash.map -m5484lite/basflash.s19 -m5484lite/bashflash.lk -m5484lite/depend -m5484lite/ram.elf -m5484lite/ram.lk -m5484lite/ram.s19 -net/am79c874.c -net/arp.c -net/bcm5222.c -net/bootp.c -net/fec.c -net/fecbd.c -net/ip.c -net/nbuf.c -net/net_timer.c -net/nif.c -net/queue.c -net/tftp.c -net/udp.c -nutil/s19header.c -pci/ehci-hcd.c -pci/ohci-hcd.c -pci/pci.c -pci/pci_wrappers.S -radeon/radeon_accel.c -radeon/radeon_base.c -radeon/radeon_cursor.c -radeon/radeon_monitor.c -spi/dspi.c -spi/mmc.c -spi/sd_card.c -sys/BaS.c -sys/cache.c -sys/driver_mem.c -sys/exceptions.S -sys/fault_vectors.c -sys/init_fpga.c -sys/interrupts.c -sys/mmu.c -sys/startcf.S -sys/sysinit.c -tos/bascook/sources/bascook.c -tos/bascook/bascook.prg -tos/bascook/depend -tos/bascook/Makefile -tos/bascook/mapfile -tos/jtagwait/include/bas_printf.h -tos/jtagwait/include/bas_string.h -tos/jtagwait/include/driver_vec.h -tos/jtagwait/include/MCF5475.h -tos/jtagwait/include/MCF5475_CLOCK.h -tos/jtagwait/include/MCF5475_CTM.h -tos/jtagwait/include/MCF5475_DMA.h -tos/jtagwait/include/MCF5475_DSPI.h -tos/jtagwait/include/MCF5475_EPORT.h -tos/jtagwait/include/MCF5475_FBCS.h -tos/jtagwait/include/MCF5475_FEC.h -tos/jtagwait/include/MCF5475_GPIO.h -tos/jtagwait/include/MCF5475_GPT.h -tos/jtagwait/include/MCF5475_I2C.h -tos/jtagwait/include/MCF5475_INTC.h -tos/jtagwait/include/MCF5475_MMU.h -tos/jtagwait/include/MCF5475_PAD.h -tos/jtagwait/include/MCF5475_PCI.h -tos/jtagwait/include/MCF5475_PCIARB.h -tos/jtagwait/include/MCF5475_PSC.h -tos/jtagwait/include/MCF5475_SDRAMC.h -tos/jtagwait/include/MCF5475_SEC.h -tos/jtagwait/include/MCF5475_SIU.h -tos/jtagwait/include/MCF5475_SLT.h -tos/jtagwait/include/MCF5475_SRAM.h -tos/jtagwait/include/MCF5475_USB.h -tos/jtagwait/include/MCF5475_XLB.h -tos/jtagwait/m5475/mshort/jtagwait.prg -tos/jtagwait/m5475/jtagwait.prg -tos/jtagwait/sources/bas_printf.c -tos/jtagwait/sources/bas_string.c -tos/jtagwait/sources/jtagwait.c -tos/jtagwait/sources/printf_helper.S -tos/jtagwait/depend -tos/jtagwait/jtagwait.config -tos/jtagwait/jtagwait.creator -tos/jtagwait/jtagwait.creator.user -tos/jtagwait/jtagwait.files -tos/jtagwait/jtagwait.includes -tos/jtagwait/Makefile -tos/jtagwait/mapfile -tos/pci_test/include/bas_printf.h -tos/pci_test/include/bas_string.h -tos/pci_test/include/driver_vec.h -tos/pci_test/include/MCF5475.h -tos/pci_test/include/MCF5475_CLOCK.h -tos/pci_test/include/MCF5475_CTM.h -tos/pci_test/include/MCF5475_DMA.h -tos/pci_test/include/MCF5475_DSPI.h -tos/pci_test/include/MCF5475_EPORT.h -tos/pci_test/include/MCF5475_FBCS.h -tos/pci_test/include/MCF5475_FEC.h -tos/pci_test/include/MCF5475_GPIO.h -tos/pci_test/include/MCF5475_GPT.h -tos/pci_test/include/MCF5475_I2C.h -tos/pci_test/include/MCF5475_INTC.h -tos/pci_test/include/MCF5475_MMU.h -tos/pci_test/include/MCF5475_PAD.h -tos/pci_test/include/MCF5475_PCI.h -tos/pci_test/include/MCF5475_PCIARB.h -tos/pci_test/include/MCF5475_PSC.h -tos/pci_test/include/MCF5475_SDRAMC.h -tos/pci_test/include/MCF5475_SEC.h -tos/pci_test/include/MCF5475_SIU.h -tos/pci_test/include/MCF5475_SLT.h -tos/pci_test/include/MCF5475_SRAM.h -tos/pci_test/include/MCF5475_USB.h -tos/pci_test/include/MCF5475_XLB.h -tos/pci_test/m5475/mshort/pci_test.prg -tos/pci_test/m5475/pci_test.prg -tos/pci_test/sources/bas_printf.c -tos/pci_test/sources/bas_string.c -tos/pci_test/sources/pci_test.c -tos/pci_test/sources/printf_helper.S -tos/pci_test/depend -tos/pci_test/Makefile -tos/pci_test/mapfile -tos/pci_test/pci_test.config -tos/pci_test/pci_test.creator -tos/pci_test/pci_test.files -tos/pci_test/pci_test.includes -tos/vmem_test/include/bas_printf.h -tos/vmem_test/include/bas_string.h -tos/vmem_test/include/driver_vec.h -tos/vmem_test/include/MCF5475.h -tos/vmem_test/include/MCF5475_CLOCK.h -tos/vmem_test/include/MCF5475_CTM.h -tos/vmem_test/include/MCF5475_DMA.h -tos/vmem_test/include/MCF5475_DSPI.h -tos/vmem_test/include/MCF5475_EPORT.h -tos/vmem_test/include/MCF5475_FBCS.h -tos/vmem_test/include/MCF5475_FEC.h -tos/vmem_test/include/MCF5475_GPIO.h -tos/vmem_test/include/MCF5475_GPT.h -tos/vmem_test/include/MCF5475_I2C.h -tos/vmem_test/include/MCF5475_INTC.h -tos/vmem_test/include/MCF5475_MMU.h -tos/vmem_test/include/MCF5475_PAD.h -tos/vmem_test/include/MCF5475_PCI.h -tos/vmem_test/include/MCF5475_PCIARB.h -tos/vmem_test/include/MCF5475_PSC.h -tos/vmem_test/include/MCF5475_SDRAMC.h -tos/vmem_test/include/MCF5475_SEC.h -tos/vmem_test/include/MCF5475_SIU.h -tos/vmem_test/include/MCF5475_SLT.h -tos/vmem_test/include/MCF5475_SRAM.h -tos/vmem_test/include/MCF5475_USB.h -tos/vmem_test/include/MCF5475_XLB.h -tos/vmem_test/m5475/mshort/vmem_test.prg -tos/vmem_test/m5475/vmem_test.prg -tos/vmem_test/sources/bas_printf.c -tos/vmem_test/sources/bas_string.c -tos/vmem_test/sources/printf_helper.S -tos/vmem_test/sources/vmem_test.c -tos/vmem_test/depend -tos/vmem_test/Makefile -tos/vmem_test/mapfile -tos/vmem_test/vmem_test.config -tos/vmem_test/vmem_test.creator -tos/vmem_test/vmem_test.files -tos/vmem_test/vmem_test.includes -tos/Makefile -usb/usb.c -usb/usb_hub.c -usb/usb_kbd.c -usb/usb_mouse.c -util/bas_printf.c -util/bas_string.c -util/libgcc_helper.S -util/printf_helper.S -util/setjmp.S -util/wait.c -video/fbmem.c -video/fbmodedb.c -video/fbmon.c -video/fnt_st_8x16.c -video/offscreen.c -video/vdi_fill.c -video/videl.c -video/video.c -x86emu/x86biosemu.c -x86emu/x86emu.c -x86emu/x86emu_util.c -x86emu/x86pcibios.c -xhdi/xhdi_interface.c -xhdi/xhdi_sd.c -xhdi/xhdi_vec.S -bas.lk.in -bas_firebee.bdm -BaS_gcc.config -BaS_gcc.creator -BaS_gcc.creator.user -BaS_gcc.creator.user.3.2-pre1 -BaS_gcc.creator.user.ori -BaS_gcc.files -BaS_gcc.includes -bas_m5484.bdm -basflash.lk.in -check.bdm -COPYING -COPYING.LESSER -Doxyfile -dump.bdm -Makefile -mcf5474.gdb -svn-commit.tmp -tos/pci_test/include/bas_printf.h -tos/pci_test/include/bas_string.h -tos/pci_test/include/driver_vec.h -tos/pci_test/include/MCF5475_CLOCK.h -tos/pci_test/include/MCF5475_CTM.h -tos/pci_test/include/MCF5475_DMA.h -tos/pci_test/include/MCF5475_DSPI.h -tos/pci_test/include/MCF5475_EPORT.h -tos/pci_test/include/MCF5475_FBCS.h -tos/pci_test/include/MCF5475_FEC.h -tos/pci_test/include/MCF5475_GPIO.h -tos/pci_test/include/MCF5475_GPT.h -tos/pci_test/include/MCF5475_I2C.h -tos/pci_test/include/MCF5475_INTC.h -tos/pci_test/include/MCF5475_MMU.h -tos/pci_test/include/MCF5475_PAD.h -tos/pci_test/include/MCF5475_PCI.h -tos/pci_test/include/MCF5475_PCIARB.h -tos/pci_test/include/MCF5475_PSC.h -tos/pci_test/include/MCF5475_SDRAMC.h -tos/pci_test/include/MCF5475_SEC.h -tos/pci_test/include/MCF5475_SIU.h -tos/pci_test/include/MCF5475_SLT.h -tos/pci_test/include/MCF5475_SRAM.h -tos/pci_test/include/MCF5475_USB.h -tos/pci_test/include/MCF5475_XLB.h -tos/pci_test/include/MCF5475.h -tos/pci_test/include/pci.h -memory_map.txt -pci/pci_errata.c -include/pci_errata.h +dma/dma.c +dma/MCD_dmaApi.c +dma/MCD_tasks.c +dma/MCD_tasksInit.c +exe/basflash.c +exe/basflash_start.c +flash/flash.c +flash/s19reader.c +fs/cc932.c +fs/cc936.c +fs/cc949.c +fs/cc950.c +fs/ccsbcs.c +fs/ff.c +fs/unicode.c +if/driver_vec.c +include/acia.h +include/am79c874.h +include/arp.h +include/ati_ids.h +include/bas_printf.h +include/bas_string.h +include/bas_types.h +include/bas_utils.h +include/bcm5222.h +include/bootp.h +include/cache.h +include/diskio.h +include/dma.h +include/driver_mem.h +include/driver_vec.h +include/edid.h +include/ehci.h +include/eth.h +include/exceptions.h +include/fb.h +include/fec.h +include/fecbd.h +include/ff.h +include/ffconf.h +include/firebee.h +include/font.h +include/i2c-algo-bit.h +include/i2c.h +include/icmp.h +include/ikbd.h +include/interrupts.h +include/ip.h +include/m54455.h +include/m5484l.h +include/MCD_dma.h +include/mcd_initiators.h +include/MCD_progCheck.h +include/MCD_tasksInit.h +include/MCF5475.h +include/MCF5475_CLOCK.h +include/MCF5475_CTM.h +include/MCF5475_DMA.h +include/MCF5475_DSPI.h +include/MCF5475_EPORT.h +include/MCF5475_FBCS.h +include/MCF5475_FEC.h +include/MCF5475_GPIO.h +include/MCF5475_GPT.h +include/MCF5475_I2C.h +include/MCF5475_INTC.h +include/MCF5475_MMU.h +include/MCF5475_PAD.h +include/MCF5475_PCI.h +include/MCF5475_PCIARB.h +include/MCF5475_PSC.h +include/MCF5475_SDRAMC.h +include/MCF5475_SEC.h +include/MCF5475_SIU.h +include/MCF5475_SLT.h +include/MCF5475_SRAM.h +include/MCF5475_USB.h +include/MCF5475_XLB.h +include/mmu.h +include/mod_devicetable.h +include/nbuf.h +include/net.h +include/net_timer.h +include/nif.h +include/ohci.h +include/part.h +include/pci.h +include/pci_ids.h +include/queue.h +include/radeon_reg.h +include/radeonfb.h +include/s19reader.h +include/screen.h +include/sd_card.h +include/startcf.h +include/sysinit.h +include/tftp.h +include/udp.h +include/usb.h +include/usb_defs.h +include/usb_hub.h +include/user_io.h +include/util.h +include/version.h +include/videl.h +include/video.h +include/wait.h +include/x86debug.h +include/x86decode.h +include/x86emu.h +include/x86emui.h +include/x86fpu.h +include/x86fpu_regs.h +include/x86ops.h +include/x86pcibios.h +include/x86prim_asm.h +include/x86prim_ops.h +include/x86regs.h +include/xhdi_sd.h +kbd/ikbd.c +net/am79c874.c +net/arp.c +net/bcm5222.c +net/bootp.c +net/fec.c +net/fecbd.c +net/ip.c +net/nbuf.c +net/net_timer.c +net/nif.c +net/queue.c +net/tftp.c +net/udp.c +nutil/s19header.c +pci/ehci-hcd.c +pci/ohci-hcd.c +pci/pci.c +radeon/radeon_accel.c +radeon/radeon_base.c +radeon/radeon_cursor.c +radeon/radeon_monitor.c +spi/dspi.c +spi/mmc.c +spi/sd_card.c +sys/BaS.c +sys/cache.c +sys/driver_mem.c +sys/fault_vectors.c +sys/init_fpga.c +sys/interrupts.c +sys/mmu.c +sys/sysinit.c +tos/bascook/sources/bascook.c +tos/jtagwait/include/bas_printf.h +tos/jtagwait/include/bas_string.h +tos/jtagwait/include/driver_vec.h +tos/jtagwait/include/MCF5475.h +tos/jtagwait/include/MCF5475_CLOCK.h +tos/jtagwait/include/MCF5475_CTM.h +tos/jtagwait/include/MCF5475_DMA.h +tos/jtagwait/include/MCF5475_DSPI.h +tos/jtagwait/include/MCF5475_EPORT.h +tos/jtagwait/include/MCF5475_FBCS.h +tos/jtagwait/include/MCF5475_FEC.h +tos/jtagwait/include/MCF5475_GPIO.h +tos/jtagwait/include/MCF5475_GPT.h +tos/jtagwait/include/MCF5475_I2C.h +tos/jtagwait/include/MCF5475_INTC.h +tos/jtagwait/include/MCF5475_MMU.h +tos/jtagwait/include/MCF5475_PAD.h +tos/jtagwait/include/MCF5475_PCI.h +tos/jtagwait/include/MCF5475_PCIARB.h +tos/jtagwait/include/MCF5475_PSC.h +tos/jtagwait/include/MCF5475_SDRAMC.h +tos/jtagwait/include/MCF5475_SEC.h +tos/jtagwait/include/MCF5475_SIU.h +tos/jtagwait/include/MCF5475_SLT.h +tos/jtagwait/include/MCF5475_SRAM.h +tos/jtagwait/include/MCF5475_USB.h +tos/jtagwait/include/MCF5475_XLB.h +tos/jtagwait/sources/jtagwait.c +usb/usb.c +usb/usb_hub.c +usb/usb_kbd.c +tos/jtagwait/sources/bas_printf.c +tos/jtagwait/sources/bas_string.c +tos/vmem_test/Makefile +sys/startcf.S +sys/exceptions.S +util/bas_printf.c +util/bas_string.c +util/printf_helper.S +util/wait.c +bas.lk.in +i2c/i2c.c +Makefile +x86emu/x86biosemu.c +x86emu/x86emu.c +x86emu/x86pcibios.c +util/libgcc_helper.S +util/setjmp.c +util/setjmp.S +include/x86emu_regs.h +x86emu/x86emu_util.c +include/setjmp.h +video/video.c +video/fbmem.c +video/fbmodedb.c +video/fbmon.c +video/fnt_st_8x16.c +video/offscreen.c +video/vdi_fill.c +video/videl.c +video/video.c +tos/jtagwait/Makefile +tos/Makefile +dma/dma.c +dma/MCD_dmaApi.c +dma/MCD_tasks.c +dma/MCD_tasksInit.c +exe/basflash.c +exe/basflash_start.c +firebee/bas.elf +firebee/bas.lk +firebee/bas.map +firebee/bas.s19 +firebee/basflash.elf +firebee/basflash.map +firebee/basflash.s19 +firebee/bashflash.lk +firebee/depend +firebee/ram.elf +firebee/ram.lk +firebee/ram.s19 +flash/flash.c +flash/s19reader.c +flash_scripts/flash_firebee_bas.bdm +flash_scripts/flash_firebee_etos.bdm +flash_scripts/flash_firebee_firetos.bdm +flash_scripts/flash_firebee_fpga.bdm +flash_scripts/flash_m548x_bas.bdm +flash_scripts/flash_m548x_dbug.bdm +flash_scripts/flash_m548x_etos.bdm +fs/cc932.c +fs/cc936.c +fs/cc949.c +fs/cc950.c +fs/ccsbcs.c +fs/ff.c +fs/unicode.c +i2c/i2c.c +if/driver_vec.c +include/acia.h +include/am79c874.h +include/arp.h +include/ati_ids.h +include/bas_printf.h +include/bas_string.h +include/bas_types.h +include/bas_utils.h +include/bcm5222.h +include/bootp.h +include/cache.h +include/diskio.h +include/dma.h +include/driver_mem.h +include/driver_vec.h +include/edid.h +include/ehci.h +include/eth.h +include/exceptions.h +include/fb.h +include/fec.h +include/fecbd.h +include/ff.h +include/ffconf.h +include/firebee.h +include/font.h +include/i2c-algo-bit.h +include/i2c.h +include/icmp.h +include/ikbd.h +include/interrupts.h +include/ip.h +include/m54455.h +include/m5484l.h +include/MCD_dma.h +include/mcd_initiators.h +include/MCD_progCheck.h +include/MCD_tasksInit.h +include/MCF5475.h +include/MCF5475_CLOCK.h +include/MCF5475_CTM.h +include/MCF5475_DMA.h +include/MCF5475_DSPI.h +include/MCF5475_EPORT.h +include/MCF5475_FBCS.h +include/MCF5475_FEC.h +include/MCF5475_GPIO.h +include/MCF5475_GPT.h +include/MCF5475_I2C.h +include/MCF5475_INTC.h +include/MCF5475_MMU.h +include/MCF5475_PAD.h +include/MCF5475_PCI.h +include/MCF5475_PCIARB.h +include/MCF5475_PSC.h +include/MCF5475_SDRAMC.h +include/MCF5475_SEC.h +include/MCF5475_SIU.h +include/MCF5475_SLT.h +include/MCF5475_SRAM.h +include/MCF5475_USB.h +include/MCF5475_XLB.h +include/mmu.h +include/mod_devicetable.h +include/nbuf.h +include/net.h +include/net_timer.h +include/nif.h +include/ohci.h +include/part.h +include/pci.h +include/pci_ids.h +include/queue.h +include/radeon_reg.h +include/radeonfb.h +include/s19reader.h +include/screen.h +include/sd_card.h +include/setjmp.h +include/startcf.h +include/sysinit.h +include/tftp.h +include/udp.h +include/usb.h +include/usb_defs.h +include/usb_hub.h +include/user_io.h +include/util.h +include/version.h +include/videl.h +include/video.h +include/wait.h +include/x86emu.h +include/x86emu_regs.h +include/x86pcibios.h +include/xhdi_sd.h +kbd/ikbd.c +m54455/bas.elf +m54455/bas.lk +m54455/bas.map +m54455/bas.s19 +m54455/basflash.elf +m54455/basflash.map +m54455/basflash.s19 +m54455/bashflash.lk +m54455/depend +m54455/ram.elf +m54455/ram.lk +m54455/ram.s19 +m5484lite/bas.elf +m5484lite/bas.lk +m5484lite/bas.map +m5484lite/bas.s19 +m5484lite/basflash.elf +m5484lite/basflash.map +m5484lite/basflash.s19 +m5484lite/bashflash.lk +m5484lite/depend +m5484lite/ram.elf +m5484lite/ram.lk +m5484lite/ram.s19 +net/am79c874.c +net/arp.c +net/bcm5222.c +net/bootp.c +net/fec.c +net/fecbd.c +net/ip.c +net/nbuf.c +net/net_timer.c +net/nif.c +net/queue.c +net/tftp.c +net/udp.c +nutil/s19header.c +pci/ehci-hcd.c +pci/ohci-hcd.c +pci/pci.c +pci/pci_wrappers.S +radeon/radeon_accel.c +radeon/radeon_base.c +radeon/radeon_cursor.c +radeon/radeon_monitor.c +spi/dspi.c +spi/mmc.c +spi/sd_card.c +sys/BaS.c +sys/cache.c +sys/driver_mem.c +sys/exceptions.S +sys/fault_vectors.c +sys/init_fpga.c +sys/interrupts.c +sys/mmu.c +sys/startcf.S +sys/sysinit.c +tos/bascook/sources/bascook.c +tos/bascook/bascook.prg +tos/bascook/depend +tos/bascook/Makefile +tos/bascook/mapfile +tos/jtagwait/include/bas_printf.h +tos/jtagwait/include/bas_string.h +tos/jtagwait/include/driver_vec.h +tos/jtagwait/include/MCF5475.h +tos/jtagwait/include/MCF5475_CLOCK.h +tos/jtagwait/include/MCF5475_CTM.h +tos/jtagwait/include/MCF5475_DMA.h +tos/jtagwait/include/MCF5475_DSPI.h +tos/jtagwait/include/MCF5475_EPORT.h +tos/jtagwait/include/MCF5475_FBCS.h +tos/jtagwait/include/MCF5475_FEC.h +tos/jtagwait/include/MCF5475_GPIO.h +tos/jtagwait/include/MCF5475_GPT.h +tos/jtagwait/include/MCF5475_I2C.h +tos/jtagwait/include/MCF5475_INTC.h +tos/jtagwait/include/MCF5475_MMU.h +tos/jtagwait/include/MCF5475_PAD.h +tos/jtagwait/include/MCF5475_PCI.h +tos/jtagwait/include/MCF5475_PCIARB.h +tos/jtagwait/include/MCF5475_PSC.h +tos/jtagwait/include/MCF5475_SDRAMC.h +tos/jtagwait/include/MCF5475_SEC.h +tos/jtagwait/include/MCF5475_SIU.h +tos/jtagwait/include/MCF5475_SLT.h +tos/jtagwait/include/MCF5475_SRAM.h +tos/jtagwait/include/MCF5475_USB.h +tos/jtagwait/include/MCF5475_XLB.h +tos/jtagwait/m5475/mshort/jtagwait.prg +tos/jtagwait/m5475/jtagwait.prg +tos/jtagwait/sources/bas_printf.c +tos/jtagwait/sources/bas_string.c +tos/jtagwait/sources/jtagwait.c +tos/jtagwait/sources/printf_helper.S +tos/jtagwait/depend +tos/jtagwait/jtagwait.config +tos/jtagwait/jtagwait.creator +tos/jtagwait/jtagwait.creator.user +tos/jtagwait/jtagwait.files +tos/jtagwait/jtagwait.includes +tos/jtagwait/Makefile +tos/jtagwait/mapfile +tos/pci_test/include/bas_printf.h +tos/pci_test/include/bas_string.h +tos/pci_test/include/driver_vec.h +tos/pci_test/include/MCF5475.h +tos/pci_test/include/MCF5475_CLOCK.h +tos/pci_test/include/MCF5475_CTM.h +tos/pci_test/include/MCF5475_DMA.h +tos/pci_test/include/MCF5475_DSPI.h +tos/pci_test/include/MCF5475_EPORT.h +tos/pci_test/include/MCF5475_FBCS.h +tos/pci_test/include/MCF5475_FEC.h +tos/pci_test/include/MCF5475_GPIO.h +tos/pci_test/include/MCF5475_GPT.h +tos/pci_test/include/MCF5475_I2C.h +tos/pci_test/include/MCF5475_INTC.h +tos/pci_test/include/MCF5475_MMU.h +tos/pci_test/include/MCF5475_PAD.h +tos/pci_test/include/MCF5475_PCI.h +tos/pci_test/include/MCF5475_PCIARB.h +tos/pci_test/include/MCF5475_PSC.h +tos/pci_test/include/MCF5475_SDRAMC.h +tos/pci_test/include/MCF5475_SEC.h +tos/pci_test/include/MCF5475_SIU.h +tos/pci_test/include/MCF5475_SLT.h +tos/pci_test/include/MCF5475_SRAM.h +tos/pci_test/include/MCF5475_USB.h +tos/pci_test/include/MCF5475_XLB.h +tos/pci_test/m5475/mshort/pci_test.prg +tos/pci_test/m5475/pci_test.prg +tos/pci_test/sources/bas_printf.c +tos/pci_test/sources/bas_string.c +tos/pci_test/sources/pci_test.c +tos/pci_test/sources/printf_helper.S +tos/pci_test/depend +tos/pci_test/Makefile +tos/pci_test/mapfile +tos/pci_test/pci_test.config +tos/pci_test/pci_test.creator +tos/pci_test/pci_test.files +tos/pci_test/pci_test.includes +tos/vmem_test/include/bas_printf.h +tos/vmem_test/include/bas_string.h +tos/vmem_test/include/driver_vec.h +tos/vmem_test/include/MCF5475.h +tos/vmem_test/include/MCF5475_CLOCK.h +tos/vmem_test/include/MCF5475_CTM.h +tos/vmem_test/include/MCF5475_DMA.h +tos/vmem_test/include/MCF5475_DSPI.h +tos/vmem_test/include/MCF5475_EPORT.h +tos/vmem_test/include/MCF5475_FBCS.h +tos/vmem_test/include/MCF5475_FEC.h +tos/vmem_test/include/MCF5475_GPIO.h +tos/vmem_test/include/MCF5475_GPT.h +tos/vmem_test/include/MCF5475_I2C.h +tos/vmem_test/include/MCF5475_INTC.h +tos/vmem_test/include/MCF5475_MMU.h +tos/vmem_test/include/MCF5475_PAD.h +tos/vmem_test/include/MCF5475_PCI.h +tos/vmem_test/include/MCF5475_PCIARB.h +tos/vmem_test/include/MCF5475_PSC.h +tos/vmem_test/include/MCF5475_SDRAMC.h +tos/vmem_test/include/MCF5475_SEC.h +tos/vmem_test/include/MCF5475_SIU.h +tos/vmem_test/include/MCF5475_SLT.h +tos/vmem_test/include/MCF5475_SRAM.h +tos/vmem_test/include/MCF5475_USB.h +tos/vmem_test/include/MCF5475_XLB.h +tos/vmem_test/m5475/mshort/vmem_test.prg +tos/vmem_test/m5475/vmem_test.prg +tos/vmem_test/Makefile +tos/vmem_test/mapfile +tos/vmem_test/vmem_test.config +tos/vmem_test/vmem_test.creator +tos/vmem_test/vmem_test.files +tos/vmem_test/vmem_test.includes +tos/Makefile +usb/usb.c +usb/usb_hub.c +usb/usb_kbd.c +usb/usb_mouse.c +util/bas_printf.c +util/bas_string.c +util/libgcc_helper.S +util/printf_helper.S +util/setjmp.S +util/wait.c +video/fbmem.c +video/fbmodedb.c +video/fbmon.c +video/fnt_st_8x16.c +video/offscreen.c +video/vdi_fill.c +video/videl.c +video/video.c +x86emu/x86biosemu.c +x86emu/x86emu.c +x86emu/x86emu_util.c +x86emu/x86pcibios.c +xhdi/xhdi_interface.c +xhdi/xhdi_sd.c +xhdi/xhdi_vec.S +bas.lk.in +bas_firebee.bdm +BaS_gcc.config +BaS_gcc.creator +BaS_gcc.creator.user +BaS_gcc.creator.user.3.2-pre1 +BaS_gcc.creator.user.ori +BaS_gcc.files +BaS_gcc.includes +bas_m5484.bdm +basflash.lk.in +check.bdm +COPYING +COPYING.LESSER +Doxyfile +dump.bdm +Makefile +mcf5474.gdb +svn-commit.tmp +tos/pci_test/include/bas_printf.h +tos/pci_test/include/bas_string.h +tos/pci_test/include/driver_vec.h +tos/pci_test/include/MCF5475_CLOCK.h +tos/pci_test/include/MCF5475_CTM.h +tos/pci_test/include/MCF5475_DMA.h +tos/pci_test/include/MCF5475_DSPI.h +tos/pci_test/include/MCF5475_EPORT.h +tos/pci_test/include/MCF5475_FBCS.h +tos/pci_test/include/MCF5475_FEC.h +tos/pci_test/include/MCF5475_GPIO.h +tos/pci_test/include/MCF5475_GPT.h +tos/pci_test/include/MCF5475_I2C.h +tos/pci_test/include/MCF5475_INTC.h +tos/pci_test/include/MCF5475_MMU.h +tos/pci_test/include/MCF5475_PAD.h +tos/pci_test/include/MCF5475_PCI.h +tos/pci_test/include/MCF5475_PCIARB.h +tos/pci_test/include/MCF5475_PSC.h +tos/pci_test/include/MCF5475_SDRAMC.h +tos/pci_test/include/MCF5475_SEC.h +tos/pci_test/include/MCF5475_SIU.h +tos/pci_test/include/MCF5475_SLT.h +tos/pci_test/include/MCF5475_SRAM.h +tos/pci_test/include/MCF5475_USB.h +tos/pci_test/include/MCF5475_XLB.h +tos/pci_test/include/MCF5475.h +tos/pci_test/include/pci.h +memory_map.txt +pci/pci_errata.c +include/pci_errata.h +tos/bascook/sources/bascook.c +tos/bascook/Makefile +tos/fpga_test/include/bas_printf.h +tos/fpga_test/include/bas_string.h +tos/fpga_test/include/driver_vec.h +tos/fpga_test/include/MCF5475.h +tos/fpga_test/include/MCF5475_CLOCK.h +tos/fpga_test/include/MCF5475_CTM.h +tos/fpga_test/include/MCF5475_DMA.h +tos/fpga_test/include/MCF5475_DSPI.h +tos/fpga_test/include/MCF5475_EPORT.h +tos/fpga_test/include/MCF5475_FBCS.h +tos/fpga_test/include/MCF5475_FEC.h +tos/fpga_test/include/MCF5475_GPIO.h +tos/fpga_test/include/MCF5475_GPT.h +tos/fpga_test/include/MCF5475_I2C.h +tos/fpga_test/include/MCF5475_INTC.h +tos/fpga_test/include/MCF5475_MMU.h +tos/fpga_test/include/MCF5475_PAD.h +tos/fpga_test/include/MCF5475_PCI.h +tos/fpga_test/include/MCF5475_PCIARB.h +tos/fpga_test/include/MCF5475_PSC.h +tos/fpga_test/include/MCF5475_SDRAMC.h +tos/fpga_test/include/MCF5475_SEC.h +tos/fpga_test/include/MCF5475_SIU.h +tos/fpga_test/include/MCF5475_SLT.h +tos/fpga_test/include/MCF5475_SRAM.h +tos/fpga_test/include/MCF5475_USB.h +tos/fpga_test/include/MCF5475_XLB.h +tos/fpga_test/sources/bas_printf.c +tos/fpga_test/sources/bas_string.c +tos/fpga_test/sources/printf_helper.S +tos/fpga_test/Makefile +tos/jtagwait/include/bas_printf.h +tos/jtagwait/include/bas_string.h +tos/jtagwait/include/driver_vec.h +tos/jtagwait/include/MCF5475.h +tos/jtagwait/include/MCF5475_CLOCK.h +tos/jtagwait/include/MCF5475_CTM.h +tos/jtagwait/include/MCF5475_DMA.h +tos/jtagwait/include/MCF5475_DSPI.h +tos/jtagwait/include/MCF5475_EPORT.h +tos/jtagwait/include/MCF5475_FBCS.h +tos/jtagwait/include/MCF5475_FEC.h +tos/jtagwait/include/MCF5475_GPIO.h +tos/jtagwait/include/MCF5475_GPT.h +tos/jtagwait/include/MCF5475_I2C.h +tos/jtagwait/include/MCF5475_INTC.h +tos/jtagwait/include/MCF5475_MMU.h +tos/jtagwait/include/MCF5475_PAD.h +tos/jtagwait/include/MCF5475_PCI.h +tos/jtagwait/include/MCF5475_PCIARB.h +tos/jtagwait/include/MCF5475_PSC.h +tos/jtagwait/include/MCF5475_SDRAMC.h +tos/jtagwait/include/MCF5475_SEC.h +tos/jtagwait/include/MCF5475_SIU.h +tos/jtagwait/include/MCF5475_SLT.h +tos/jtagwait/include/MCF5475_SRAM.h +tos/jtagwait/include/MCF5475_USB.h +tos/jtagwait/include/MCF5475_XLB.h +tos/jtagwait/sources/bas_printf.c +tos/jtagwait/sources/bas_string.c +tos/jtagwait/sources/jtagwait.c +tos/jtagwait/sources/printf_helper.S +tos/jtagwait/Makefile +tos/pci_test/include/bas_printf.h +tos/pci_test/include/bas_string.h +tos/pci_test/include/driver_vec.h +tos/pci_test/include/MCF5475.h +tos/pci_test/include/MCF5475_CLOCK.h +tos/pci_test/include/MCF5475_CTM.h +tos/pci_test/include/MCF5475_DMA.h +tos/pci_test/include/MCF5475_DSPI.h +tos/pci_test/include/MCF5475_EPORT.h +tos/pci_test/include/MCF5475_FBCS.h +tos/pci_test/include/MCF5475_FEC.h +tos/pci_test/include/MCF5475_GPIO.h +tos/pci_test/include/MCF5475_GPT.h +tos/pci_test/include/MCF5475_I2C.h +tos/pci_test/include/MCF5475_INTC.h +tos/pci_test/include/MCF5475_MMU.h +tos/pci_test/include/MCF5475_PAD.h +tos/pci_test/include/MCF5475_PCI.h +tos/pci_test/include/MCF5475_PCIARB.h +tos/pci_test/include/MCF5475_PSC.h +tos/pci_test/include/MCF5475_SDRAMC.h +tos/pci_test/include/MCF5475_SEC.h +tos/pci_test/include/MCF5475_SIU.h +tos/pci_test/include/MCF5475_SLT.h +tos/pci_test/include/MCF5475_SRAM.h +tos/pci_test/include/MCF5475_USB.h +tos/pci_test/include/MCF5475_XLB.h +tos/pci_test/include/pci.h +tos/pci_test/sources/bas_printf.c +tos/pci_test/sources/bas_string.c +tos/pci_test/sources/pci_test.c +tos/pci_test/sources/printf_helper.S +tos/pci_test/Makefile +tos/vmem_test/include/bas_printf.h +tos/vmem_test/include/bas_string.h +tos/vmem_test/include/driver_vec.h +tos/vmem_test/include/MCF5475.h +tos/vmem_test/include/MCF5475_CLOCK.h +tos/vmem_test/include/MCF5475_CTM.h +tos/vmem_test/include/MCF5475_DMA.h +tos/vmem_test/include/MCF5475_DSPI.h +tos/vmem_test/include/MCF5475_EPORT.h +tos/vmem_test/include/MCF5475_FBCS.h +tos/vmem_test/include/MCF5475_FEC.h +tos/vmem_test/include/MCF5475_GPIO.h +tos/vmem_test/include/MCF5475_GPT.h +tos/vmem_test/include/MCF5475_I2C.h +tos/vmem_test/include/MCF5475_INTC.h +tos/vmem_test/include/MCF5475_MMU.h +tos/vmem_test/include/MCF5475_PAD.h +tos/vmem_test/include/MCF5475_PCI.h +tos/vmem_test/include/MCF5475_PCIARB.h +tos/vmem_test/include/MCF5475_PSC.h +tos/vmem_test/include/MCF5475_SDRAMC.h +tos/vmem_test/include/MCF5475_SEC.h +tos/vmem_test/include/MCF5475_SIU.h +tos/vmem_test/include/MCF5475_SLT.h +tos/vmem_test/include/MCF5475_SRAM.h +tos/vmem_test/include/MCF5475_USB.h +tos/vmem_test/include/MCF5475_XLB.h +tos/vmem_test/sources/fpga_test.c +tos/vmem_test/Makefile +tos/Makefile +tos/fpga_test/sources/fpga_test.c diff --git a/BaS_gcc/BaS_gcc.includes b/BaS_gcc/BaS_gcc.includes index 93dce2c..b9060a5 100644 --- a/BaS_gcc/BaS_gcc.includes +++ b/BaS_gcc/BaS_gcc.includes @@ -1,46 +1,49 @@ -include -tos/jtagwait/include -tos/pci_test/include -/usr/m68k-atari-mint/include -/opt/cross-mint/m68k-atari-mint/include -/opt/gygwin/opt/cross-mint/m68k-atari-mint/include -dma -m54455 -sys -pci -tos/pci_test -tos/jtagwait/m5475/mshort -m5484lite -tos/pci_test/include -tos/bascook -tos/vmem_test/m5475/mshort -i2c -fs -tos/vmem_test/m5475 -tos/pci_test/m5475 -spi -if -tos/jtagwait/m5475 -util -kbd -flash_scripts -video -usb -exe -tos/vmem_test/sources -tos -nutil -tos/jtagwait/sources -x86emu -flash -tos/vmem_test/include -tos/bascook/sources -tos/pci_test/m5475/mshort -. -radeon -net -xhdi -tos/vmem_test -tos/pci_test/sources -firebee -tos/jtagwait +include +tos/jtagwait/include +tos/pci_test/include +/usr/m68k-atari-mint/include +/opt/cross-mint/m68k-atari-mint/include +/opt/gygwin/opt/cross-mint/m68k-atari-mint/include +dma +m54455 +sys +pci +tos/pci_test +tos/jtagwait/m5475/mshort +m5484lite +tos/pci_test/include +tos/bascook +tos/vmem_test/m5475/mshort +i2c +fs +tos/vmem_test/m5475 +tos/pci_test/m5475 +spi +if +tos/jtagwait/m5475 +util +kbd +flash_scripts +video +usb +exe +tos/vmem_test/sources +tos +nutil +tos/jtagwait/sources +x86emu +flash +tos/vmem_test/include +tos/bascook/sources +tos/pci_test/m5475/mshort +. +radeon +net +xhdi +tos/vmem_test +tos/pci_test/sources +firebee +tos/jtagwait +tos/fpga_test/include +tos/fpga_test +tos/fpga_test/sources diff --git a/BaS_gcc/include/pci.h b/BaS_gcc/include/pci.h index 618b970..94f219b 100644 --- a/BaS_gcc/include/pci.h +++ b/BaS_gcc/include/pci.h @@ -195,7 +195,7 @@ typedef struct /* structure of address conversion */ /* register 0x08 macros */ #define PCI_CLASS_CODE(i) ((swpl((i)) & 0xff000000) >> 24) -#define PCI_SUBCLASS(i) ((swpl((i)) & 0xffff0000) >> 16) +#define PCI_SUBCLASS(i) ((swpl((i)) & 0x00ff0000) >> 16) #define PCI_PROG_IF(i) ((swpl((i)) & 0x0000ff00) >> 8) #define PCI_REVISION_ID(i) ((swpl((i)) & 0x000000ff)) diff --git a/BaS_gcc/include/util.h b/BaS_gcc/include/util.h index 004c4c4..d57e359 100644 --- a/BaS_gcc/include/util.h +++ b/BaS_gcc/include/util.h @@ -61,13 +61,13 @@ static inline uint32_t swpl(uint32_t l) __asm__ __volatile__ ( "lea %[input],a0\n\t" \ - "mvz.b 3(a0),%[output]\n\t" \ - "lsl.l #8,%[output]\n\t" \ - "move.b 2(a0),%[output]\n\t" \ - "lsl.l #8,%[output]\n\t" \ - "move.b 1(a0),%[output]\n\t" \ - "lsl.l #8,%[output]\n\t" \ - "move.b (a0),%[output]\n\t" \ + "mvz.b 3(a0),%[output]\n\t" \ + "lsl.l #8,%[output]\n\t" \ + "move.b 2(a0),%[output]\n\t" \ + "lsl.l #8,%[output]\n\t" \ + "move.b 1(a0),%[output]\n\t" \ + "lsl.l #8,%[output]\n\t" \ + "move.b (a0),%[output]\n\t" \ : [output] "=d" (result) /* output */ : [input] "o" (l) /* input */ : "cc", "a0", "memory" /* clobbered */ diff --git a/BaS_gcc/pci/pci.c b/BaS_gcc/pci/pci.c index c2ccff1..235df98 100644 --- a/BaS_gcc/pci/pci.c +++ b/BaS_gcc/pci/pci.c @@ -34,7 +34,7 @@ #include "interrupts.h" #include "wait.h" -//#define DEBUG_PCI +#define DEBUG_PCI #ifdef DEBUG_PCI #define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0) #else @@ -541,9 +541,9 @@ int32_t pci_find_classcode(uint32_t classcode, int index) value = pci_read_config_longword(handle, PCICCR); dbg("classcode to search for=%x\r\n", classcode); - dbg("PCI_CLASSCODE found=%x\r\n", PCI_CLASS_CODE(value)); - dbg("PCI_SUBCLASS found=%x\r\n", PCI_SUBCLASS(value)); - dbg("PCI_PROG_IF found=%x\r\n", PCI_PROG_IF(value)); + dbg("PCI_CLASSCODE found=%02x\r\n", PCI_CLASS_CODE(value)); + dbg("PCI_SUBCLASS found=%02x\r\n", PCI_SUBCLASS(value)); + dbg("PCI_PROG_IF found=%02x\r\n", PCI_PROG_IF(value)); if ((classcode & (1 << 26) ? ((PCI_CLASS_CODE(value) == (classcode & 0xff))) : true) && (classcode & (1 << 25) ? ((PCI_SUBCLASS(value) == ((classcode & 0xff00) >> 8))) : true) && @@ -551,6 +551,7 @@ int32_t pci_find_classcode(uint32_t classcode, int index) { if (n == index) { + dbg("found device at handle %d\r\n", handle); return handle; } n++; @@ -574,12 +575,13 @@ int32_t pci_find_classcode(uint32_t classcode, int index) { value = pci_read_config_longword(handle, PCICCR); - if ((classcode & (1 << 26) ? ((PCI_CLASS_CODE(value) == (classcode & 0xff))) : true) && - (classcode & (1 << 25) ? ((PCI_SUBCLASS(value) == ((classcode & 0xff00) >> 8))) : true) && - (classcode & (1 << 24) ? ((PCI_PROG_IF(value) == ((classcode & 0xff0000) >> 16))) : true)) + if ((classcode & PCI_FIND_BASE_CLASS ? ((PCI_CLASS_CODE(value) == (classcode & 0xff))) : true) && + (classcode & PCI_FIND_SUB_CLASS ? ((PCI_SUBCLASS(value) == ((classcode & 0xff00) >> 8))) : true) && + (classcode & PCI_FIND_PROG_IF ? ((PCI_PROG_IF(value) == ((classcode & 0xff0000) >> 16))) : true)) { if (n == index) { + dbg("found device with handle %d\n", handle); return handle; } n++; @@ -1023,14 +1025,15 @@ void pci_scan(void) value = pci_read_config_longword(handle, PCIIDR); - xprintf(" %02x | %02x | %02x |%04x|%04x|%04x| %s (0x%02x)\r\n", + xprintf(" %02x | %02x | %02x |%04x|%04x|%04x| %s (0x%02x, 0x%04x)\r\n", PCI_BUS_FROM_HANDLE(handle), PCI_DEVICE_FROM_HANDLE(handle), PCI_FUNCTION_FROM_HANDLE(handle), PCI_VENDOR_ID(value), PCI_DEVICE_ID(value), handle, device_class(pci_read_config_byte(handle, PCICCR)), - pci_read_config_byte(handle, PCICCR)); + pci_read_config_byte(handle, PCICCR), + pci_read_config_word(handle, PCICCR)); /* save handle to index value so that we'll be able to later find our resources */ handles[index] = handle; diff --git a/BaS_gcc/sys/mmu.c b/BaS_gcc/sys/mmu.c index 5017931..6994ada 100644 --- a/BaS_gcc/sys/mmu.c +++ b/BaS_gcc/sys/mmu.c @@ -74,7 +74,7 @@ #error "unknown machine!"x #endif /* MACHINE_FIREBEE */ -#define DBG_MMU +//#define DBG_MMU #ifdef DBG_MMU #define dbg(format, arg...) do { xprintf("DEBUG (%s()): " format, __FUNCTION__, ##arg);} while(0) #else diff --git a/BaS_gcc/sys/sysinit.c b/BaS_gcc/sys/sysinit.c index 438b907..197b302 100644 --- a/BaS_gcc/sys/sysinit.c +++ b/BaS_gcc/sys/sysinit.c @@ -580,11 +580,11 @@ void init_usb(void) do { - handle = pci_find_classcode(PCI_CLASS_SERIAL_USB | (1 << 25) | (1 << 26), index++); + handle = pci_find_classcode(PCI_CLASS_SERIAL_USB | PCI_FIND_BASE_CLASS | PCI_FIND_SUB_CLASS, index++); if (handle > 0) { long id; - long class; + long pci_class; xprintf("serial USB found at bus=0x%x, dev=0x%x, fnc=0x%x (0x%x)\r\n", PCI_BUS_FROM_HANDLE(handle), @@ -592,9 +592,9 @@ void init_usb(void) PCI_FUNCTION_FROM_HANDLE(handle), handle); id = pci_read_config_longword(handle, PCIIDR); - class = pci_read_config_longword(handle, PCIREV); + pci_class = pci_read_config_longword(handle, PCIREV); - if (PCI_SUBCLASS(class) == PCI_CLASS_SERIAL_USB_EHCI) + if (PCI_SUBCLASS(pci_class) == PCI_CLASS_SERIAL_USB_EHCI) { board = ehci_usb_pci_table; while (board->vendor) @@ -609,7 +609,7 @@ void init_usb(void) board++; } } - if (PCI_SUBCLASS(class) == PCI_CLASS_SERIAL_USB_OHCI) + if (PCI_SUBCLASS(pci_class) == PCI_CLASS_SERIAL_USB_OHCI) { board = ohci_usb_pci_table; while (board->vendor) diff --git a/BaS_gcc/tos/fpga_test/sources/fpga_test.c b/BaS_gcc/tos/fpga_test/sources/fpga_test.c index c5cd58b..4a943ab 100644 --- a/BaS_gcc/tos/fpga_test/sources/fpga_test.c +++ b/BaS_gcc/tos/fpga_test/sources/fpga_test.c @@ -26,14 +26,18 @@ int i; void do_tests(void) { - long *test_address = (long *) 0xf0000000; + volatile unsigned long *t1 = (volatile unsigned long *) 0xf0000000; + volatile unsigned short *t2 = (volatile unsigned short *) 0xf0000004; + volatile unsigned short *t3 = (volatile unsigned short *) 0xf0000006; long value = 0; while (1) { - - *test_address = value; - xprintf("value written = %ld, value read = %ld\r\n", value, *test_address); + *t1 = value; + *t2 = (short) value; + *t3 = (short) (value >> 16); + xprintf("W: 0x%lx R: 0x%lx W: 0x%04x R: 0x%04x W: 0x%04x R: 0x%04x\r\n", value, *t1, + (unsigned short) value, *t2, (unsigned short)(value >> 16), *t3); value++; } }