3 * \brief Arch independent accessor functions for use in generic code.
4 * Generic include for userland
8 * Copyright (c) 2010, ETH Zurich.
11 * This file is distributed under the terms in the attached LICENSE file.
12 * If you do not find this file, copies can be found by writing to:
13 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
16 #ifndef ARCH_X86_64_BARRELFISH_REGISTERS_H
17 #define ARCH_X86_64_BARRELFISH_REGISTERS_H
19 #include <barrelfish_kpi/registers_arch.h>
20 #include <target/k1om/registers_target.h>
23 registers_set_initial(arch_registers_state_t *regs, struct thread *thread,
24 lvaddr_t entry, lvaddr_t stack, uint64_t arg1,
25 uint64_t arg2, uint64_t arg3, uint64_t arg4)
27 registers_x86_64_set_initial(regs, thread, entry, stack, arg1, arg2, arg3, arg4);
30 #endif // ARCH_X86_64_BARRELFISH_REGISTERS_H