1/** 2 * \file 3 * \brief 4 */ 5 6/* 7 * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#ifndef SPAWN_H 16#define SPAWN_H 17 18lvaddr_t map_module(struct mem_region *module, size_t *retsize); 19const char *getopt(const char **optstring, char *buf, size_t buflen, 20 size_t *optlen); 21 22errval_t spawn_symval_register(const char *binary, uint32_t idx, 23 const char *symname, genvaddr_t addres); 24errval_t spawn_symval_lookup(const char *binary, uint32_t idx, char **ret_name, 25 genvaddr_t *ret_addr); 26#endif 27