for( i = 0; i < MAX_CALLBACKS_PER_IRQ; i++ )
{
if( gIRQ_Handlers[Num][i] == NULL ) {
- Log_Log("IRQ", "Added IRQ%i Cb#%i %p", Num, i, Callback);
+// Log_Log("IRQ", "Added IRQ%i Cb#%i %p", Num, i, Callback);
gIRQ_Handlers[Num][i] = Callback;
gaIRQ_DataPointers[Num][i] = Ptr;
return 1;
if( IsHeap(oldname) ) free( oldname );
cur->ThreadName = strdup(NewName);
- Log_Debug("Threads", "Thread renamed to '%s'", NewName);
+// Log_Debug("Threads", "Thread renamed to '%s'", NewName);
return 0;
}
// Check BGA Version\r
version = BGA_int_ReadRegister(VBE_DISPI_INDEX_ID);\r
LOG("version = 0x%x", version);\r
+ if( version == 0xFFFF ) {\r
+ // Floating bus, nothing there\r
+ return MODULE_ERR_NOTNEEDED;\r
+ }\r
\r
// NOTE: This driver was written for BGA versions >= 0xBOC2\r
// NOTE: However, Qemu is braindead and doesn't return the actual version\r