19 lines
413 B
C
19 lines
413 B
C
#include <mango/bsp.h>
|
|
#include <mango/printk.h>
|
|
#include <mango/sched.h>
|
|
#include <mango/util.h>
|
|
#include <mango/vm-object.h>
|
|
#include <mango/vm-region.h>
|
|
|
|
static struct boot_module bsp_location = {0};
|
|
|
|
void bsp_set_location(const struct boot_module *mod)
|
|
{
|
|
memcpy(&bsp_location, mod, sizeof bsp_location);
|
|
}
|
|
|
|
void bsp_get_location(struct boot_module *out)
|
|
{
|
|
memcpy(out, &bsp_location, sizeof bsp_location);
|
|
}
|