1/**
2 * \file
3 * \brief Argument processing
4 */
5
6/*
7 * Copyright (c) 2007-2011, 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 __ARGS_H__
16#define __ARGS_H__
17
18struct args {
19    char *path;
20    coreid_t *cores;
21    int cores_len;
22    coreid_t *exclude;
23    int exclude_len;
24    int num_cores;
25    bool all_cores;
26    bool master;
27    genpaddr_t ram;
28};
29
30struct args process_args(int argc, char *argv[]);
31char *list_to_string(coreid_t *list, size_t l_len);
32
33#endif
34
35