Path: blob/master/arch/sh/boards/mach-hp6xx/pm_wakeup.S
15133 views
/*1* Copyright (c) 2006 Andriy Skulysh <[email protected]>2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7*/89#include <linux/linkage.h>10#include <cpu/mmu_context.h>1112/*13* Kernel mode register usage:14* k0 scratch15* k1 scratch16* For more details, please have a look at entry.S17*/1819#define k0 r020#define k1 r12122ENTRY(wakeup_start)23! clear STBY bit24mov #-126, k125and #127, k026mov.b k0, @k127! enable refresh28mov.l 5f, k129mov.w 6f, k030mov.w k0, @k131! jump to handler32mov.l 4f, k133jmp @k134nop3536.align 2374: .long handle_interrupt385: .long 0xffffff68396: .word 0x05244041ENTRY(wakeup_end)42nop434445