Path: blob/master/arch/sh/boards/mach-hp6xx/pm_wakeup.S
26481 views
/* SPDX-License-Identifier: GPL-2.01*2* Copyright (c) 2006 Andriy Skulysh <[email protected]>3*/45#include <linux/linkage.h>6#include <cpu/mmu_context.h>78/*9* Kernel mode register usage:10* k0 scratch11* k1 scratch12* For more details, please have a look at entry.S13*/1415#define k0 r016#define k1 r11718ENTRY(wakeup_start)19! clear STBY bit20mov #-126, k121and #127, k022mov.b k0, @k123! enable refresh24mov.l 5f, k125mov.w 6f, k026mov.w k0, @k127! jump to handler28mov.l 4f, k129jmp @k130nop3132.align 2334: .long handle_interrupt345: .long 0xffffff68356: .word 0x05243637ENTRY(wakeup_end)38nop394041