system.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
- /*
- * linux/include/asm-arm/arch-arc/system.h
- *
- * Copyright (C) 1996-1999 Russell King and Dave Gilbert
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- static void arch_idle(void)
- {
- while (!current->need_resched && !hlt_counter);
- }
- static inline void arch_reset(char mode)
- {
- /*
- * copy branch instruction to reset location and call it
- */
- *(unsigned long *)0 = *(unsigned long *)0x03800000;
- ((void(*)(void))0)();
- }