aboutsummaryrefslogtreecommitdiff
path: root/src/include/cpu/cpu.h
blob: e945d0ef9ebe7d5de79537285fe0f7463b398f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CPU_CPU_H
#define CPU_CPU_H

struct device;
// #include <arch/cpu.h>

void cpu_initialize(void);
void initialize_cpus(struct bus *cpu_bus);

#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
/** start of compile time generated pci driver array */
extern struct cpu_driver cpu_drivers[];
/** end of compile time generated pci driver array */
extern struct cpu_driver ecpu_drivers[];

#endif /* CPU_CPU_H */