30 lines
947 B
C
30 lines
947 B
C
/**
|
|
* \file
|
|
* \brief arm-specific system calls implementation.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich.
|
|
* All rights reserved.
|
|
*
|
|
* This file is distributed under the terms in the attached LICENSE file.
|
|
* If you do not find this file, copies can be found by writing to:
|
|
* ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
|
|
*/
|
|
|
|
#ifndef KERNEL_ARM_SYSCALL_H
|
|
#define KERNEL_ARM_SYSCALL_H
|
|
|
|
#include <capabilities.h>
|
|
|
|
// needed because to resume an interrupted IT block, there literally is only one way:
|
|
// exiting handler mode, restoring the context
|
|
// if the dispatcher has to restore a context with IT-bits set, it can only do so with help
|
|
// from the kernel.
|
|
// XXX: registers is an area in the userspace of the currently executing process,
|
|
// it is NOT the set of arguments given to the syscall
|
|
errval_t sys_resume_context(arch_registers_state_t *registers);
|
|
|
|
#endif // KERNEL_ARM_SYSCALL_H
|
|
|