coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cpu.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __ARCH_CPU_H__
4 #define __ARCH_CPU_H__
5 
6 #include <device/device.h>
7 
8 static inline void cpu_relax(void) { }
9 
10 #define asmlinkage
11 
12 struct cpu_driver {
13  struct device_operations *ops;
14  const struct cpu_device_id *id_table;
15 };
16 
17 struct cpuinfo_ppc64 {
18  uint8_t ppc64; /* CPU family */
19  uint8_t ppc64_vendor; /* CPU vendor */
21 };
22 
23 #endif /* __ARCH_CPU_H__ */
static void cpu_relax(void)
Definition: cpu.h:8
unsigned char uint8_t
Definition: stdint.h:8
Definition: cpu.h:13
const struct cpu_device_id * id_table
Definition: cpu.h:15
struct device_operations * ops
Definition: cpu.h:14
uint8_t ppc64_model
Definition: cpu.h:20
uint8_t ppc64
Definition: cpu.h:18
uint8_t ppc64_vendor
Definition: cpu.h:19