1/** 2 * \file 3 */ 4 5/* 6 * Copyright (c) 2009, ETH Zurich. 7 * All rights reserved. 8 * 9 * This file is distributed under the terms in the attached LICENSE file. 10 * If you do not find this file, copies can be found by writing to: 11 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 12 */ 13 14#ifndef REALMODE_H 15#define REALMODE_H 16 17#include "vmkitmon.h" 18 19#define REALMODE_ERR_OK (0) 20#define REALMODE_ERR_INVLD_ENV (-1) 21#define REALMODE_ERR_NOT_SUPP (-2) 22 23errval_t realmode_init (void); 24void realmode_switch_to (struct guest *g); 25void realmode_switch_from (struct guest *g); 26int realmode_exec (void); 27 28#endif // REALMODE_H 29