diff --git a/include/driver_vec.h b/include/driver_vec.h index 5c031bb..7e63f9d 100644 --- a/include/driver_vec.h +++ b/include/driver_vec.h @@ -67,6 +67,8 @@ struct generic_interface 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 */ struct generic_interface *interfaces[]; }; diff --git a/sources/driver_vec.c b/sources/driver_vec.c index 62aadc7..c52c3ec 100644 --- a/sources/driver_vec.c +++ b/sources/driver_vec.c @@ -26,6 +26,7 @@ #include #include #include "driver_vec.h" +#include "version.h" #include "xhdi_sd.h" static struct generic_interface interfaces[] = @@ -51,6 +52,8 @@ static struct generic_interface interfaces[] = */ static struct driver_table drivers = { + .bas_version = MAJOR_VERSION, + .bas_revision = MINOR_VERSION, .remove_handler = NULL, .interfaces = { interfaces } };