libmetal
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/*
8 * @file cpu.h
9 * @brief CPU specific primatives
10 */
11
12#ifndef __METAL_AARCH64_CPU__H__
13#define __METAL_AARCH64_CPU__H__
14
15#include <metal/compiler.h>
16
17static inline void metal_cpu_yield(void)
18{
19 metal_asm volatile("yield");
20}
21
22#endif /* __METAL_AARCH64_CPU__H__ */
#define metal_asm
Definition: compiler.h:31
static void metal_cpu_yield(void)
Definition: cpu.h:17