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 */
20
uint8_t
ppc64_model
;
21
};
22
23
#endif
/* __ARCH_CPU_H__ */
cpu_relax
static void cpu_relax(void)
Definition:
cpu.h:8
device.h
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
cpu_device_id
Definition:
cpu.h:216
cpu_driver
Definition:
cpu.h:13
cpu_driver::id_table
const struct cpu_device_id * id_table
Definition:
cpu.h:15
cpu_driver::ops
struct device_operations * ops
Definition:
cpu.h:14
cpuinfo_ppc64
Definition:
cpu.h:17
cpuinfo_ppc64::ppc64_model
uint8_t ppc64_model
Definition:
cpu.h:20
cpuinfo_ppc64::ppc64
uint8_t ppc64
Definition:
cpu.h:18
cpuinfo_ppc64::ppc64_vendor
uint8_t ppc64_vendor
Definition:
cpu.h:19
device_operations
Definition:
device.h:38
src
arch
ppc64
include
arch
cpu.h
Generated by
1.9.1