added version and revision to drivers table
This commit is contained in:
@@ -67,6 +67,8 @@ struct generic_interface
|
|||||||
|
|
||||||
struct driver_table
|
struct driver_table
|
||||||
{
|
{
|
||||||
|
uint32_t bas_version;
|
||||||
|
uint32_t bas_revision;
|
||||||
uint32_t (*remove_handler)(); /* calling this will disable the BaS' hook into trap #0 */
|
uint32_t (*remove_handler)(); /* calling this will disable the BaS' hook into trap #0 */
|
||||||
struct generic_interface *interfaces[];
|
struct generic_interface *interfaces[];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "driver_vec.h"
|
#include "driver_vec.h"
|
||||||
|
#include "version.h"
|
||||||
#include "xhdi_sd.h"
|
#include "xhdi_sd.h"
|
||||||
|
|
||||||
static struct generic_interface interfaces[] =
|
static struct generic_interface interfaces[] =
|
||||||
@@ -51,6 +52,8 @@ static struct generic_interface interfaces[] =
|
|||||||
*/
|
*/
|
||||||
static struct driver_table drivers =
|
static struct driver_table drivers =
|
||||||
{
|
{
|
||||||
|
.bas_version = MAJOR_VERSION,
|
||||||
|
.bas_revision = MINOR_VERSION,
|
||||||
.remove_handler = NULL,
|
.remove_handler = NULL,
|
||||||
.interfaces = { interfaces }
|
.interfaces = { interfaces }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user