1/* 2 * Copyright (c) 2013, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef COREBOOT_H 11#define COREBOOT_H 12 13#include <assert.h> 14#include <barrelfish_kpi/types.h> 15#include <barrelfish_kpi/cpu.h> 16 17typedef uintptr_t (*coreboot_start_fn_t)(hwid_t target, genpaddr_t entry, genpaddr_t context); 18 19void coreboot_set_spawn_handler(enum cpu_type type, coreboot_start_fn_t handler); 20coreboot_start_fn_t coreboot_get_spawn_handler(enum cpu_type); 21 22#endif // COREBOOT_H 23