seL4/libsel4/include/api/syscall.xsd
Gerwin Klein 79da079239 Convert license tags to SPDX identifiers
This commit also converts our own copyright headers to directly use
SPDX, but leaves all other copyright header intact, only adding the
SPDX ident. As far as possible this commit also merges multiple
Data61 copyright statements/headers into one for consistency.
2020-03-09 13:21:49 +08:00

48 lines
1.4 KiB
XML

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
SPDX-License-Identifier: BSD-2-Clause
-->
<xsd:annotation>
<xsd:documentation xml:lang="en">
Syscall number generator schema.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="syscalls" type="SyscallListType" />
<xsd:complexType name="SyscallListType">
<xsd:sequence>
<xsd:element name="api-master" type="ApiType" />
<xsd:element name="api-mcs" type="ApiType" />
<xsd:element name="debug" type="DebugType" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ApiType">
<xsd:sequence>
<xsd:element name="config" minOccurs="1" maxOccurs="unbounded" type="ConfigType" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DebugType">
<xsd:sequence>
<xsd:element name="config" type="ConfigType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ConfigType" >
<xsd:sequence>
<xsd:element name="syscall" minOccurs="1" maxOccurs="unbounded" type="SyscallType"/>
</xsd:sequence>
<xsd:attribute name="condition" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="SyscallType">
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:schema>