mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +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)
|
||||
{
|
||||
switch (req->req) {
|
||||
case IPC_PPC_BOOT:
|
||||
if (req->args[0]) {
|
||||
// Enqueued from ARM side, do not invalidate mem nor ipc_post
|
||||
powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||
} else {
|
||||
dc_invalidaterange((void *) req->args[1], req->args[2]);
|
||||
int res = powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||
if (res)
|
||||
ipc_post(req->code, req->tag, 1, res);
|
||||
}
|
||||
case IPC_PPC_BOOT:
|
||||
if (req->args[0]) {
|
||||
// Enqueued from ARM side, do not invalidate mem nor ipc_post
|
||||
powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||
} else {
|
||||
dc_invalidaterange((void *) req->args[1], req->args[2]);
|
||||
int res = powerpc_boot_mem((u8 *) req->args[1], req->args[2]);
|
||||
if (res)
|
||||
ipc_post(req->code, req->tag, 1, res);
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
gecko_printf("IPC: unknown SLOW PPC request %04X\n", req->req);
|
||||
break;
|
||||
default:
|
||||
gecko_printf("IPC: unknown SLOW PPC request %04X\n", req->req);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user