all kernel headers have been moved from include/mango to include/kernel and include definitions that are only relevant to kernel-space. any definitions that are relevant to both kernel- and user-space (i.e. type definitions, syscall IDs) have been moved to include/mango within libmango.
25 lines
261 B
C
25 lines
261 B
C
#include <unistd.h>
|
|
#include <kernel/machine/cpu.h>
|
|
|
|
int ml_init_bootcpu(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int ml_cpu_block_init(ml_cpu_block *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int ml_cpu_block_use(ml_cpu_block *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void ml_halt_cpu(void)
|
|
{
|
|
while (1) {
|
|
sleep(100);
|
|
}
|
|
}
|