18 lines
209 B
C
18 lines
209 B
C
|
#ifndef VM_VM_H
|
||
|
# define VM_VM_H 1
|
||
|
|
||
|
# include "cpu.h"
|
||
|
# include "bus.h"
|
||
|
|
||
|
# define VM_MAX_CPU 8
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
int cpu_count;
|
||
|
Cpu cpus[VM_MAX_CPU];
|
||
|
|
||
|
Bus bus;
|
||
|
} Vm;
|
||
|
|
||
|
#endif /* !VM_VM_H */
|