You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
538 B
26 lines
538 B
![]()
15 years ago
|
/*
|
||
|
* Copyright (C) 2009 ST-Ericsson.
|
||
|
*
|
||
|
* This file is licensed under the terms of the GNU General Public
|
||
|
* License version 2. This program is licensed "as is" without any
|
||
|
* warranty of any kind, whether express or implied.
|
||
|
*/
|
||
|
#ifndef __ASM_ARCH_SYSTEM_H
|
||
|
#define __ASM_ARCH_SYSTEM_H
|
||
|
|
||
|
static inline void arch_idle(void)
|
||
|
{
|
||
|
/*
|
||
|
* This should do all the clock switching
|
||
|
* and wait for interrupt tricks
|
||
|
*/
|
||
|
cpu_do_idle();
|
||
|
}
|
||
|
|
||
|
static inline void arch_reset(char mode, const char *cmd)
|
||
|
{
|
||
|
/* yet to be implemented - TODO */
|
||
|
}
|
||
|
|
||
|
#endif
|