arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot
[linux/fpc-iii.git] / arch / arm / mach-bcm / bcm_kona_smc.h
blob2e29ec67e414fb29cc9c3b8d431688d0b7b1c8d6
1 /*
2 * Copyright (C) 2013 Broadcom Corporation
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation version 2.
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
9 * kind, whether express or implied; without even the implied warranty
10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef BCM_KONA_SMC_H
15 #define BCM_KONA_SMC_H
17 #include <linux/types.h>
19 /* Broadcom Secure Service API service IDs, return codes, and exit codes */
20 #define SSAPI_ENABLE_L2_CACHE 0x01000002
21 #define SEC_ROM_RET_OK 0x00000001
22 #define SEC_EXIT_NORMAL 0x1
24 extern int __init bcm_kona_smc_init(void);
26 extern unsigned bcm_kona_smc(unsigned service_id,
27 unsigned arg0,
28 unsigned arg1,
29 unsigned arg2,
30 unsigned arg3);
32 #endif /* BCM_KONA_SMC_H */