Added interrupts disabling to the deinit function

Did not cause any issues, but it is better this way
This commit is contained in:
Aurora 2016-03-21 04:58:20 +01:00
parent 61564e5fcf
commit cb84a6c7ea

View File

@ -15,7 +15,8 @@ static const struct fb {
} *const fb = (struct fb *)0x23FFFE00;
void __attribute__((naked)) shutdownLCD(void){
//Disable interrupts
__asm(".word 0xF10C01C0");
vu32 *const arm11 = (u32 *)0x1FFFFFF8;
//Clear ARM11 entry offset