added version numbering
This commit is contained in:
@@ -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 */
|
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
|
* 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.
|
* the number of useconds to wait for hardcoded in their name.
|
||||||
@@ -799,7 +802,7 @@ void initialize_hardware(void) {
|
|||||||
init_serial();
|
init_serial();
|
||||||
init_slt();
|
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");
|
xprintf("initializing hardware...\r\n");
|
||||||
|
|
||||||
init_fbcs();
|
init_fbcs();
|
||||||
@@ -823,6 +826,10 @@ void initialize_hardware(void) {
|
|||||||
init_gpio();
|
init_gpio();
|
||||||
init_serial();
|
init_serial();
|
||||||
init_slt();
|
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_fbcs();
|
||||||
init_ddram();
|
init_ddram();
|
||||||
init_PCI();
|
init_PCI();
|
||||||
|
|||||||
Reference in New Issue
Block a user