mirror of
https://github.com/fail0verflow/mini.git
synced 2024-12-01 07:34:20 +01:00
indent nonsense
This commit is contained in:
parent
51daa72471
commit
794b203314
26
powerpc.c
26
powerpc.c
@ -81,20 +81,20 @@ void powerpc_reset()
|
|||||||
void powerpc_ipc(volatile ipc_request *req)
|
void powerpc_ipc(volatile ipc_request *req)
|
||||||
{
|
{
|
||||||
switch (req->req) {
|
switch (req->req) {
|
||||||
case IPC_PPC_BOOT:
|
case IPC_PPC_BOOT:
|
||||||
if (req->args[0]) {
|
if (req->args[0]) {
|
||||||
// Enqueued from ARM side, do not invalidate mem nor ipc_post
|
// Enqueued from ARM side, do not invalidate mem nor ipc_post
|
||||||
powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||||
} else {
|
} else {
|
||||||
dc_invalidaterange((void *) req->args[1], req->args[2]);
|
dc_invalidaterange((void *) req->args[1], req->args[2]);
|
||||||
int res = powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
int res = powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||||
if (res)
|
if (res)
|
||||||
ipc_post(req->code, req->tag, 1, res);
|
ipc_post(req->code, req->tag, 1, res);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
gecko_printf("IPC: unknown SLOW PPC request %04X\n", req->req);
|
gecko_printf("IPC: unknown SLOW PPC request %04X\n", req->req);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user