diff --git a/sources/sysinit.c b/sources/sysinit.c index 93dd8ff..b8f5382 100644 --- a/sources/sysinit.c +++ b/sources/sysinit.c @@ -41,6 +41,9 @@ extern void flush_and_invalidate_caches_before_copy(void); extern volatile long _VRAM; /* start address of video ram from linker script */ +static const int MAJOR_VERSION = 0; +static const int MINOR_VERSION = 1; + /* * wait for the specified number of us on slice timer 0. Replaces the original routines that had * the number of useconds to wait for hardcoded in their name. @@ -799,7 +802,7 @@ void initialize_hardware(void) { init_serial(); init_slt(); - xprintf("\r\nBaS_gcc for FireBee v 0.1\r\n", 0, 0); + xprintf("\r\nBaS_gcc for FireBee v %d.%d\r\n", MAJOR_VERSION, MINOR_VERSION); xprintf("initializing hardware...\r\n"); init_fbcs(); @@ -823,6 +826,10 @@ void initialize_hardware(void) { init_gpio(); init_serial(); init_slt(); + + xprintf("\r\nBaS_gcc for FireBee v %d.%d\r\n", MAJOR_VERSION, MINOR_VERSION); + xprintf("initializing hardware...\r\n"); + init_fbcs(); init_ddram(); init_PCI();