seL4/libsel4/include/api/syscall.xml
Adrian Danis 1287590e97 Correct separation of printing and debug builds
Fixes some build issues with 541289a326
as well as further allowing debugging (via the capdl interface) to
happen when printing is turned off.
2016-05-17 15:10:08 +10:00

47 lines
1.6 KiB
XML

<?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" />
</config>
<config condition="defined CONFIG_PRINTING">
<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>