mirror of
https://github.com/wiiu-env/KernelModule.git
synced 2024-11-08 11:05:09 +01:00
Add support for writing SR 6 and 7
This commit is contained in:
parent
71e4a7dcd1
commit
dc6d6f9957
@ -105,12 +105,15 @@ void KernelWriteSRsInternalFunc(sr_table_t *table) {
|
||||
asm volatile("mtsr 3, %0" : : "r" (table->value[i])); i++;
|
||||
asm volatile("mtsr 4, %0" : : "r" (table->value[i])); i++;
|
||||
asm volatile("mtsr 5, %0" : : "r" (table->value[i])); i++;*/
|
||||
//asm volatile("mtsr 6, %0" : : "r" (table->value[6])); i++;
|
||||
/*asm volatile("mtsr 7, %0" : : "r" (table->value[i])); i++;*/
|
||||
asm volatile("mtsr 6, %0"
|
||||
:
|
||||
: "r"(table->value[6]));
|
||||
asm volatile("mtsr 7, %0"
|
||||
:
|
||||
: "r"(table->value[7]));
|
||||
asm volatile("mtsr 8, %0"
|
||||
:
|
||||
: "r"(table->value[8]));
|
||||
//i++;
|
||||
/*asm volatile("mtsr 9, %0" : : "r" (table->value[i])); i++;
|
||||
asm volatile("mtsr 10, %0" : : "r" (table->value[i])); i++;
|
||||
asm volatile("mtsr 11, %0" : : "r" (table->value[i])); i++;
|
||||
|
Loading…
Reference in New Issue
Block a user