2023-02-25 17:58:23 +00:00
|
|
|
#include <unistd.h>
|
2024-11-02 11:31:51 +00:00
|
|
|
#include <mango/machine/cpu.h>
|
2023-02-25 17:58:23 +00:00
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|