added version numbering

This commit is contained in:
Markus Fröschle
2012-12-09 14:02:50 +00:00
parent abac8b3627
commit c34bae81df

View File

@@ -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();