1/*
2 * Copyright (c) 2014 Travis Geiselbrecht
3 *
4 * Use of this source code is governed by a MIT-style
5 * license that can be found in the LICENSE file or at
6 * https://opensource.org/licenses/MIT
7 */
8
9#include <lk/asm.h>
10
11.section .text
12
13/* used to call into PSCI firmware (Power State Coordination Firmware) */
14FUNCTION(psci_call)
15    hvc     #0
16#if ARCH_ARM
17    bx      lr
18#else
19    ret
20#endif
21
22.ltorg
23
24