Path: blob/master/arch/arm/mach-msm/include/mach/system.h
17537 views
/* arch/arm/mach-msm/include/mach/system.h1*2* Copyright (C) 2007 Google, Inc.3*4* This software is licensed under the terms of the GNU General Public5* License version 2, as published by the Free Software Foundation, and6* may be copied, distributed, and modified under those terms.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13*/1415#include <mach/hardware.h>1617void arch_idle(void);1819static inline void arch_reset(char mode, const char *cmd)20{21for (;;) ; /* depends on IPC w/ other core */22}2324/* low level hardware reset hook -- for example, hitting the25* PSHOLD line on the PMIC to hard reset the system26*/27extern void (*msm_hw_reset_hook)(void);282930