diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-22 16:14:14 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-22 16:14:14 +0200 |
commit | 752ff17265f23d4fa9084368d2a90f66521a98e2 (patch) | |
tree | 2acad7fc117add49064f261cfbadcd341c7406b6 /src/drivers/hdi | |
parent | 95292027625e905080f37f585402f49ec49bc97f (diff) | |
download | abaos-752ff17265f23d4fa9084368d2a90f66521a98e2.tar.gz abaos-752ff17265f23d4fa9084368d2a90f66521a98e2.tar.bz2 |
separated video driver in a virtual video driver and a specific
VGA video driver
Diffstat (limited to 'src/drivers/hdi')
-rw-r--r-- | src/drivers/hdi/keyboard.c | 6 | ||||
-rw-r--r-- | src/drivers/hdi/mouse.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/drivers/hdi/keyboard.c b/src/drivers/hdi/keyboard.c index dd7ff65..9b9c337 100644 --- a/src/drivers/hdi/keyboard.c +++ b/src/drivers/hdi/keyboard.c @@ -30,15 +30,15 @@ void keyboard_deinit( void *obj ) void keyboard_activate( void *obj ) { - kernel_panic( "Activating generic keyboard driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } void keyboard_deactivate( void *obj ) { - kernel_panic( "Deactivating generic keyboard driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } void keyboard_print_info( void *obj ) { - kernel_panic( "Printing info of generic keyboard driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } diff --git a/src/drivers/hdi/mouse.c b/src/drivers/hdi/mouse.c index 85d4c82..a0b62f9 100644 --- a/src/drivers/hdi/mouse.c +++ b/src/drivers/hdi/mouse.c @@ -32,17 +32,17 @@ void mouse_deinit( void *obj ) void mouse_activate( void *obj ) { - kernel_panic( "Activating generic mouse driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } void mouse_deactivate( void *obj ) { - kernel_panic( "Deactivating generic mouse driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } void mouse_print_info( void *obj ) { - kernel_panic( "Printing info of generic mouse driver should not be called directly." ); + kernel_panic( "Calling abstract method in file %s at line %d.", __FILE__, __LINE__ ); } void mouse_set_resolution( void *obj, const uint32_t res_x, const uint32_t res_y ) |