24 lines
795 B
C
24 lines
795 B
C
/*
|
|
* Copyright 2017, Data61
|
|
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
|
|
* ABN 41 687 119 230.
|
|
*
|
|
* This software may be distributed and modified according to the terms of
|
|
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
|
|
* See "LICENSE_GPLv2.txt" for details.
|
|
*
|
|
* @TAG(DATA61_GPL)
|
|
*/
|
|
#ifndef __API_FAULTS_H
|
|
#define __API_FAULTS_H
|
|
|
|
#include <object/structures.h>
|
|
#include <types.h>
|
|
|
|
word_t setMRs_fault(tcb_t *sender, tcb_t* receiver, word_t *receiveIPCBuffer);
|
|
word_t Arch_setMRs_fault(tcb_t *sender, tcb_t* receiver, word_t *receiveIPCBuffer, word_t faultType);
|
|
|
|
bool_t handleFaultReply(tcb_t *receiver, tcb_t *sender);
|
|
bool_t Arch_handleFaultReply(tcb_t *receiver, tcb_t *sender, word_t faultType);
|
|
|
|
#endif /* __API_FAULTS_H */
|