<?xml version="1.0" ?>
<!--
     Copyright 2014, NICTA

     This software may be distributed and modified according to the terms of
     the BSD 2-Clause license. Note that NO WARRANTY is provided.
     See "LICENSE_BSD2.txt" for details.

     @TAG(NICTA_BSD)
  -->
<!-- Please see syscalls.xsd to see the format of this file -->
<syscalls>
    <!-- official API syscalls -->
    <api>
        <config>
            <syscall name="Call"      />
            <syscall name="ReplyRecv" />
            <syscall name="Send"      />
            <syscall name="NBSend"    />
            <syscall name="Recv"      />
            <syscall name="Reply"     />
            <syscall name="Yield"     />
            <syscall name="NBRecv"      />
        </config>
    </api>
    <!-- Syscalls on the unknown syscall path. These definitions will be wrapped in #ifdef name -->
    <debug>
        <config condition="defined DEBUG">
            <syscall name="DebugPutChar"  />
            <syscall name="DebugHalt"     />
            <syscall name="DebugCapIdentify"   />
            <syscall name="DebugSnapshot" />
            <syscall name="DebugNameThread"/>
        </config>
        <config condition="defined DANGEROUS_CODE_INJECTION">
            <syscall name="DebugRun"/>
        </config>
        <config condition="CONFIG_MAX_NUM_TRACE_POINTS > 0">
            <syscall name="BenchmarkResetLog" />
            <syscall name="BenchmarkDumpLog"  />
            <syscall name="BenchmarkLogSize"  />
            <syscall name="BenchmarkFinalizeLog"  />
        </config>
    </debug>
</syscalls>
