build: add a "user" arch to allow the kernel to run as a program on the host machine
This commit is contained in:
15
arch/user/include/socks/machine/cpu.h
Normal file
15
arch/user/include/socks/machine/cpu.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef SOCKS_USER_CPU_H_
|
||||
#define SOCKS_USER_CPU_H_
|
||||
|
||||
typedef struct ml_cpu_block {
|
||||
int cpu_reserved;
|
||||
} ml_cpu_block;
|
||||
|
||||
extern int ml_init_bootcpu(void);
|
||||
|
||||
extern int ml_cpu_block_init(ml_cpu_block *p);
|
||||
extern int ml_cpu_block_use(ml_cpu_block *p);
|
||||
|
||||
extern void ml_halt_cpu(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user