libmetal
353
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
12
#ifndef __METAL_X86_64_CPU__H__
13
#define __METAL_X86_64_CPU__H__
14
15
#include <metal/compiler.h>
16
17
static
inline
void
metal_cpu_yield
(
void
)
18
{
19
metal_asm
volatile
(
"rep; nop"
);
20
}
21
22
#endif
/* __METAL_X86_64_CPU__H__ */
metal_asm
#define metal_asm
Definition:
compiler.h:31
metal_cpu_yield
void metal_cpu_yield(void)
Definition:
cpu.c:14
lib
processor
x86_64
cpu.h
Generated on Tue Dec 23 2025 14:41:34 for libmetal by
1.9.1