<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16">
  <compounddef id="gen__calls_8c" kind="file" language="C++">
    <compoundname>gen_calls.c</compoundname>
    <includes refid="gen__calls_8h" local="no">sys/gen_calls.h</includes>
    <includes refid="thread_8h" local="no">sys/thread.h</includes>
    <includes refid="gdt_8h" local="no">sys/gdt.h</includes>
    <includes refid="sched_8h" local="no">ubixos/sched.h</includes>
    <includes refid="endtask_8h" local="no">ubixos/endtask.h</includes>
    <includes refid="kprintf_8h" local="no">lib/kprintf.h</includes>
    <includes refid="kmalloc_8h" local="no">lib/kmalloc.h</includes>
    <includes refid="string_8h" local="no">string.h</includes>
    <includes refid="assert_8h" local="no">assert.h</includes>
    <includes refid="descrip_8h" local="no">sys/descrip.h</includes>
    <includes refid="video_8h" local="no">sys/video.h</includes>
    <includes refid="sys_2signal_8h" local="no">sys/signal.h</includes>
    <includes refid="ubixos_2errno_8h" local="no">ubixos/errno.h</includes>
    <includes refid="vmm_8h" local="no">vmm/vmm.h</includes>
    <incdepgraph>
      <node id="39">
        <label>sys/video.h</label>
        <link refid="video_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="38">
        <label>sys/fcntl.h</label>
        <link refid="fcntl_8h"/>
      </node>
      <node id="22">
        <label>ufs/ufs.h</label>
        <link refid="ufs_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="23" relation="include">
        </childnode>
      </node>
      <node id="36">
        <label>sys/descrip.h</label>
        <link refid="descrip_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
        <childnode refid="38" relation="include">
        </childnode>
      </node>
      <node id="31">
        <label>stdarg.h</label>
        <link refid="stdarg_8h"/>
      </node>
      <node id="28">
        <label>sys/tss.h</label>
        <link refid="tss_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="29">
        <label>ubixos/endtask.h</label>
        <link refid="endtask_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
      </node>
      <node id="25">
        <label>sys/gdt.h</label>
        <link refid="gdt_8h"/>
      </node>
      <node id="40">
        <label>ubixos/errno.h</label>
        <link refid="ubixos_2errno_8h"/>
      </node>
      <node id="27">
        <label>ubixos/tty.h</label>
        <link refid="tty_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="34">
        <label>strings.h</label>
        <link refid="strings_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="12">
        <label>i386/cpu.h</label>
        <link refid="i386_2cpu_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>sys/gen_calls.h</label>
        <link refid="gen__calls_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
      </node>
      <node id="42">
        <label>vmm/paging.h</label>
        <link refid="paging_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="15" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
      </node>
      <node id="6">
        <label>sys/select.h</label>
        <link refid="select_8h"/>
        <childnode refid="7" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="8" relation="include">
        </childnode>
        <childnode refid="9" relation="include">
        </childnode>
        <childnode refid="10" relation="include">
        </childnode>
      </node>
      <node id="18">
        <label>vfs/inode.h</label>
        <link refid="inode_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="19" relation="include">
        </childnode>
        <childnode refid="20" relation="include">
        </childnode>
        <childnode refid="21" relation="include">
        </childnode>
        <childnode refid="22" relation="include">
        </childnode>
      </node>
      <node id="10">
        <label>sys/_sigset.h</label>
        <link refid="__sigset_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="41">
        <label>vmm/vmm.h</label>
        <link refid="vmm_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="42" relation="include">
        </childnode>
      </node>
      <node id="32">
        <label>lib/kmalloc.h</label>
        <link refid="kmalloc_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>C:/Dev/git/UbixOS/sys/kernel/gen_calls.c</label>
        <link refid="gen__calls_8c"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="25" relation="include">
        </childnode>
        <childnode refid="26" relation="include">
        </childnode>
        <childnode refid="29" relation="include">
        </childnode>
        <childnode refid="30" relation="include">
        </childnode>
        <childnode refid="32" relation="include">
        </childnode>
        <childnode refid="33" relation="include">
        </childnode>
        <childnode refid="35" relation="include">
        </childnode>
        <childnode refid="36" relation="include">
        </childnode>
        <childnode refid="39" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="40" relation="include">
        </childnode>
        <childnode refid="41" relation="include">
        </childnode>
      </node>
      <node id="24">
        <label>vfs/mount.h</label>
        <link refid="mount_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="14">
        <label>sys/resource.h</label>
        <link refid="resource_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="11">
        <label>sys/trap.h</label>
        <link refid="trap_8h"/>
        <childnode refid="12" relation="include">
        </childnode>
      </node>
      <node id="33">
        <label>string.h</label>
        <link refid="string_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="34" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>sys/types.h</label>
        <link refid="include_2sys_2types_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
      </node>
      <node id="16">
        <label>vfs/file.h</label>
        <link refid="include_2vfs_2file_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="17" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="18" relation="include">
        </childnode>
        <childnode refid="24" relation="include">
        </childnode>
        <childnode refid="22" relation="include">
        </childnode>
      </node>
      <node id="21">
        <label>fs/msdos_fs.h</label>
        <link refid="msdos__fs_8h"/>
      </node>
      <node id="35">
        <label>assert.h</label>
        <link refid="assert_8h"/>
      </node>
      <node id="13">
        <label>sys/signal.h</label>
        <link refid="sys_2signal_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="20">
        <label>fs/pipe_fs.h</label>
        <link refid="pipe__fs_8h"/>
      </node>
      <node id="19">
        <label>ubixos/wait.h</label>
        <link refid="wait_8h"/>
      </node>
      <node id="30">
        <label>lib/kprintf.h</label>
        <link refid="kprintf_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="31" relation="include">
        </childnode>
      </node>
      <node id="3">
        <label>sys/thread.h</label>
        <link refid="thread_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="11" relation="include">
        </childnode>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="14" relation="include">
        </childnode>
      </node>
      <node id="7">
        <label>sys/cdefs.h</label>
        <link refid="cdefs_8h"/>
      </node>
      <node id="26">
        <label>ubixos/sched.h</label>
        <link refid="sched_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
        <childnode refid="27" relation="include">
        </childnode>
        <childnode refid="28" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
      </node>
      <node id="5">
        <label>sys/_types.h</label>
        <link refid="__types_8h"/>
      </node>
      <node id="8">
        <label>sys/_timespec.h</label>
        <link refid="__timespec_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="23">
        <label>sys/device.h</label>
        <link refid="include_2sys_2device_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="15">
        <label>sys/sysproto_posix.h</label>
        <link refid="sysproto__posix_8h"/>
        <childnode refid="13" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="16" relation="include">
        </childnode>
      </node>
      <node id="17">
        <label>ubixfs/dirCache.h</label>
        <link refid="dirCache_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
      <node id="9">
        <label>sys/_timeval.h</label>
        <link refid="__timeval_8h"/>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="37">
        <label>vfs/stat.h</label>
        <link refid="stat_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
      </node>
    </incdepgraph>
      <sectiondef kind="func">
      <memberdef kind="function" id="gen__calls_8c_1a5e545f93bf6f37890415be1fc90815dd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int access</definition>
        <argsstring>(struct thread *td, struct access_args *uap)</argsstring>
        <name>access</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structaccess__args" kindref="compound">access_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="130" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="130" bodyend="134"/>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structaccess__args_1afac3aafb19d6982fffa8cc5a90524ffb" compoundref="sysproto__posix_8h" startline="280">access_args::path</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a2cbc84ec9b68d4c49474049bd74d1bb3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int getgid</definition>
        <argsstring>(struct thread *td, struct getgid_args *uap)</argsstring>
        <name>getgid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structgetgid__args" kindref="compound">getgid_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="70" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="70" bodyend="76"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1aa9363ba2e18b68870b9a7bd42a012fc3" compoundref="sched_8h" startline="73">taskStruct::gid</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a4f4fe0a75329898241b9c7acc0580561" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int getpid</definition>
        <argsstring>(struct thread *td, struct getpid_args *uap)</argsstring>
        <name>getpid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structgetpid__args" kindref="compound">getpid_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="52" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="52" bodyend="58"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1aff04064695f5ad2e284b51a24f351dc9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int gettimeofday_new</definition>
        <argsstring>(struct thread *td, struct gettimeofday_args *uap)</argsstring>
        <name>gettimeofday_new</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structgettimeofday__args" kindref="compound">gettimeofday_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="93" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="93" bodyend="98"/>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a5c560fabc59fcbcc62ce4827d10b222a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int getuid</definition>
        <argsstring>(struct thread *td, struct getuid_args *uap)</argsstring>
        <name>getuid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structgetuid__args" kindref="compound">getuid_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="61" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="61" bodyend="67"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="structtaskStruct_1a2d4f1664132da8b58cc4dfb25ac3509a" compoundref="sched_8h" startline="73">taskStruct::uid</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a51b487cb390afbb6672b34b78c7afa81" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int mprotect</definition>
        <argsstring>(struct thread *td, struct mprotect_args *uap)</argsstring>
        <name>mprotect</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structmprotect__args" kindref="compound">mprotect_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="136" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="136" bodyend="139"/>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a5eff3a25d417fafce7c4f211db219ca2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int read</definition>
        <argsstring>(struct thread *td, struct read_args *uap)</argsstring>
        <name>read</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structread__args" kindref="compound">read_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="100" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="100" bodyend="119"/>
        <references refid="structread__args_1a6ac2e2c0ce3199b14d0c8f0483b93298" compoundref="sysproto__posix_8h" startline="492">read_args::buf</references>
        <references refid="structfile_1af2108e4a1620fe81b2b5e7b6db5d41d4" compoundref="descrip_8h" startline="71">file::fd</references>
        <references refid="structread__args_1a250aa43131c8339cb6af695aa172e3d1" compoundref="sysproto__posix_8h" startline="489">read_args::fd</references>
        <references refid="file_8c_1ac539f57edd90fcd088fd3baa10319166" compoundref="file_8c" startline="291" endline="309">fread</references>
        <references refid="descrip_8h_1a14e228d6e5391a882d3b20ff2466b2ac" compoundref="descrip_8c" startline="214" endline="227">getfd</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structread__args_1a2043b1fbe1d15b40105590c9cb7a192c" compoundref="sysproto__posix_8h" startline="495">read_args::nbyte</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <referencedby refid="dma_8c_1a79162e5c636d27f92e4e2c7c87bb6e22" compoundref="dma_8c" startline="42" endline="55">dmaXfer</referencedby>
        <referencedby refid="fdc_8c_1a4b5fded251628524148377601d44377a" compoundref="fdc_8c" startline="127" endline="198">fdcRw</referencedby>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a111a32074b3f5f68a4fa5585fe8ab3a4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int readlink</definition>
        <argsstring>(struct thread *td, struct readlink_args *uap)</argsstring>
        <name>readlink</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structreadlink__args" kindref="compound">readlink_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="83" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="83" bodyend="91"/>
        <references refid="structreadlink__args_1a1c122ab73c591775ed283f58ac5c3019" compoundref="sysproto__posix_8h" startline="361">readlink_args::count</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structreadlink__args_1a4c97e5cd326ea78adb5c072e6de3c2a4" compoundref="sysproto__posix_8h" startline="355">readlink_args::path</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1ab913b237bff6f29fa58c01d2d0fc7088" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int setitimer</definition>
        <argsstring>(struct thread *td, struct setitimer_args *uap)</argsstring>
        <name>setitimer</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsetitimer__args" kindref="compound">setitimer_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
<para>place holder for now functionality to be added later </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="124" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="124" bodyend="128"/>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1ac94a3863f0a2d89003e5bdfc18baffa0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_exit</definition>
        <argsstring>(struct thread *td, struct sys_exit_args *args)</argsstring>
        <name>sys_exit</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__exit__args" kindref="compound">sys_exit_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="45" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="45" bodyend="49"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="endtask_8h_1a152c1859ada097cc21071f471bfa2e67" compoundref="endtask_8c" startline="44" endline="50">endTask</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a4b9ea4e44afeadecbe639569ef2cc6b4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getegid</definition>
        <argsstring>(struct thread *td, struct sys_getegid_args *args)</argsstring>
        <name>sys_getegid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getegid__args" kindref="compound">sys_getegid_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="233" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="233" bodyend="236"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1aa9363ba2e18b68870b9a7bd42a012fc3" compoundref="sched_8h" startline="73">taskStruct::gid</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a95814d9f34da704d5981360d98e23af9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_geteuid</definition>
        <argsstring>(struct thread *td, struct sys_geteuid_args *args)</argsstring>
        <name>sys_geteuid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__geteuid__args" kindref="compound">sys_geteuid_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="228" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="228" bodyend="231"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="structtaskStruct_1a2d4f1664132da8b58cc4dfb25ac3509a" compoundref="sched_8h" startline="73">taskStruct::uid</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1aa52846421fb6bb39fb090a155cbfbdab" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getlogin</definition>
        <argsstring>(struct thread *thr, struct sys_getlogin_args *args)</argsstring>
        <name>sys_getlogin</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>thr</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getlogin__args" kindref="compound">sys_getlogin_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="360" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="360" bodyend="366"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c">memcpy</references>
        <references refid="structsys__getlogin__args_1ab55f9d96796dc82c094526f794742edc" compoundref="sysproto__posix_8h" startline="770">sys_getlogin_args::namebuf</references>
        <references refid="structsys__getlogin__args_1aa247bed5105660888e9e79622c09395f" compoundref="sysproto__posix_8h" startline="773">sys_getlogin_args::namelen</references>
        <references refid="structtaskStruct_1ae0c0e11b4b74672335d8cdb9e157333a" compoundref="sched_8h" startline="91">taskStruct::username</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a60684ca6776c6a48469cd3b07e7302ac" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getpgrp</definition>
        <argsstring>(struct thread *td, struct sys_getpgrp_args *args)</argsstring>
        <name>sys_getpgrp</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getpgrp__args" kindref="compound">sys_getpgrp_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="310" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="310" bodyend="313"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" compoundref="sched_8h" startline="87">taskStruct::pgrp</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a806b59c1d474ceb991d2e61f980b82ad" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getpid</definition>
        <argsstring>(struct thread *td, struct sys_getpid_args *args)</argsstring>
        <name>sys_getpid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getpid__args" kindref="compound">sys_getpid_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="224" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="224" bodyend="227"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a26b5c98e54c7a5e8698fba05710936df" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getppid</definition>
        <argsstring>(struct thread *td, struct sys_getppid_args *args)</argsstring>
        <name>sys_getppid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getppid__args" kindref="compound">sys_getppid_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="238" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="238" bodyend="241"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1ad49b0543ec4947a98bb7bd771a93bc3b" compoundref="sched_8h" startline="86">taskStruct::ppid</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1abe3341acee6fc13d0806e33bf4950cc0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_getrlimit</definition>
        <argsstring>(struct thread *thr, struct sys_getrlimit_args *args)</argsstring>
        <name>sys_getrlimit</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>thr</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__getrlimit__args" kindref="compound">sys_getrlimit_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="376" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="376" bodyend="448"/>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" compoundref="thread_8h" startline="51">thread::rlim</references>
        <references refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" compoundref="resource_8h" startline="87">rlimit::rlim_cur</references>
        <references refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" compoundref="resource_8h" startline="88">rlimit::rlim_max</references>
        <references refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" compoundref="sysproto__posix_8h" startline="793">sys_getrlimit_args::rlp</references>
        <references refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" compoundref="sysproto__posix_8h" startline="790">sys_getrlimit_args::which</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1ad3d1e6e24307ce2257adadefb46dfa10" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_gettimeofday</definition>
        <argsstring>(struct thread *td, struct sys_gettimeofday_args *args)</argsstring>
        <name>sys_gettimeofday</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__gettimeofday__args" kindref="compound">sys_gettimeofday_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="354" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="354" bodyend="358"/>
        <references refid="time_8h_1adf30830f5265e55035171c301eb9c3fb" compoundref="time_8c" startline="110" endline="118">gettimeofday</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="structsys__gettimeofday__args_1a27a9a6f3de0eb3d4b908137eebc948c1" compoundref="sysproto__posix_8h" startline="691">sys_gettimeofday_args::tp</references>
        <references refid="structsys__gettimeofday__args_1a3aa4ab65476d5c764a44858e710b31bb" compoundref="sysproto__posix_8h" startline="694">sys_gettimeofday_args::tzp</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a6d945e107f5f3d710b7b571eac2784b5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_invalid</definition>
        <argsstring>(struct thread *td, void *args)</argsstring>
        <name>sys_invalid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="141" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="141" bodyend="145"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structthread_1a44c91c2feae7dd69a8edd9bb8fe601c9" compoundref="thread_8h" startline="47">thread::frame</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="structtrapframe_1afb020a5162b2fe71f4f8fa641f7dd5f2" compoundref="trap_8h" startline="46">trapframe::tf_eax</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1aefab75d2473503f090345fe18d2629d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_issetugid</definition>
        <argsstring>(register struct thread *td, struct sys_issetugid_args *uap)</argsstring>
        <name>sys_issetugid</name>
        <param>
          <type>register struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__issetugid__args" kindref="compound">sys_issetugid_args</ref> *</type>
          <declname>uap</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="78" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="78" bodyend="81"/>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a2c9b502d95322a6c040cf0f87f15aeba" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_setlogin</definition>
        <argsstring>(struct thread *thr, struct sys_setlogin_args *args)</argsstring>
        <name>sys_setlogin</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>thr</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__setlogin__args" kindref="compound">sys_setlogin_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="368" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="368" bodyend="374"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c">memcpy</references>
        <references refid="structsys__setlogin__args_1a6dc0b7ee20fe832221a6f31f73abe729" compoundref="sysproto__posix_8h" startline="781">sys_setlogin_args::namebuf</references>
        <references refid="structtaskStruct_1ae0c0e11b4b74672335d8cdb9e157333a" compoundref="sched_8h" startline="91">taskStruct::username</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1ab1d502aa002a2db41f75f375c9981afe" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_setpgid</definition>
        <argsstring>(struct thread *td, struct sys_setpgid_args *args)</argsstring>
        <name>sys_setpgid</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__setpgid__args" kindref="compound">sys_setpgid_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="315" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="315" bodyend="352"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
        <references refid="structsys__setpgid__args_1a66f9360c1e5d51b0258c8db283bb8184" compoundref="sysproto__posix_8h" startline="583">sys_setpgid_args::pgid</references>
        <references refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" compoundref="sched_8h" startline="87">taskStruct::pgrp</references>
        <references refid="structsys__setpgid__args_1a2eda57fe49567ba3348c50b321f84521" compoundref="sysproto__posix_8h" startline="580">sys_setpgid_args::pid</references>
        <references refid="armv6_2sched_8c_1a9cf37ade4c1f6184b33014ac2015e8ed" compoundref="armv6_2sched_8c" startline="207" endline="216">schedFindTask</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a77e27dec9ce3825037f7b1916f131765" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_setrlimit</definition>
        <argsstring>(struct thread *thr, struct sys_setrlimit_args *args)</argsstring>
        <name>sys_setrlimit</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>thr</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__setrlimit__args" kindref="compound">sys_setrlimit_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="450" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="450" bodyend="520"/>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" compoundref="thread_8h" startline="51">thread::rlim</references>
        <references refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" compoundref="resource_8h" startline="87">rlimit::rlim_cur</references>
        <references refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" compoundref="resource_8h" startline="88">rlimit::rlim_max</references>
        <references refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" compoundref="sysproto__posix_8h" startline="804">sys_setrlimit_args::rlp</references>
        <references refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" compoundref="sysproto__posix_8h" startline="801">sys_setrlimit_args::which</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1add3795da6dd256853821910f6fde5569" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_sigaction</definition>
        <argsstring>(struct thread *td, struct sys_sigaction_args *args)</argsstring>
        <name>sys_sigaction</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__sigaction__args" kindref="compound">sys_sigaction_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="294" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="294" bodyend="308"/>
        <references refid="structsys__sigaction__args_1a4502042a0ee83f26b999497b5f0d60a8" compoundref="sysproto__posix_8h" startline="568">sys_sigaction_args::act</references>
        <references refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c">memcpy</references>
        <references refid="structsys__sigaction__args_1a2d1efc69484f943c9ad01fa45e3d39e0" compoundref="sysproto__posix_8h" startline="571">sys_sigaction_args::oact</references>
        <references refid="structsys__sigaction__args_1a44a3fc57e54e0246d29c8fb6422e26c5" compoundref="sysproto__posix_8h" startline="565">sys_sigaction_args::sig</references>
        <references refid="structthread_1aa0041bdd41da4a43a6c69327e866336e" compoundref="thread_8h" startline="50">thread::sigact</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1adb0dc568dd674705e372495140616236" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_sigprocmask</definition>
        <argsstring>(struct thread *td, struct sys_sigprocmask_args *args)</argsstring>
        <name>sys_sigprocmask</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__sigprocmask__args" kindref="compound">sys_sigprocmask_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="243" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="243" bodyend="292"/>
        <references refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" compoundref="__sigset_8h" startline="43">__sigset::__bits</references>
        <references refid="structsys__sigprocmask__args_1ac7673f08f959587ef3a47068e5be14ff" compoundref="sysproto__posix_8h" startline="553">sys_sigprocmask_args::how</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c">memcpy</references>
        <references refid="structsys__sigprocmask__args_1a3b15609df6042f96a0fb6354b27d318e" compoundref="sysproto__posix_8h" startline="559">sys_sigprocmask_args::oset</references>
        <references refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" compoundref="sysproto__posix_8h" startline="556">sys_sigprocmask_args::set</references>
        <references refid="sys_2signal_8h_1a927f6ae16379576d638006c7498ac5d7" compoundref="sys_2signal_8h" startline="42">SIG_BLOCK</references>
        <references refid="sys_2signal_8h_1a37750b78b7ae75fe02ad26e70f6cc845" compoundref="sys_2signal_8h" startline="44">SIG_SETMASK</references>
        <references refid="sys_2signal_8h_1a5fcd73313a63dac2cc7eb3b654215250" compoundref="sys_2signal_8h" startline="43">SIG_UNBLOCK</references>
        <references refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" compoundref="thread_8h" startline="49">thread::sigmask</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a5df9e80cc5dda0f70fae4699168cf4b6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_sysarch</definition>
        <argsstring>(struct thread *td, struct sys_sysarch_args *args)</argsstring>
        <name>sys_sysarch</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__sysarch__args" kindref="compound">sys_sysarch_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="186" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="186" bodyend="222"/>
        <references refid="structgdtDescriptor_1ae0bca342b5caa6d39826f21fc9ac4d56" compoundref="gdt_8h" startline="70">gdtDescriptor::access</references>
        <references refid="structgdtDescriptor_1a2cd45ddaee984e45ef519b5f96cb4151" compoundref="gdt_8h" startline="73">gdtDescriptor::baseHigh</references>
        <references refid="structgdtDescriptor_1ad8fb7196c3b0b2d15ebbc0d20006d0a8" compoundref="gdt_8h" startline="68">gdtDescriptor::baseLow</references>
        <references refid="structgdtDescriptor_1aef125e8406580a85d2201c2d63245575" compoundref="gdt_8h" startline="69">gdtDescriptor::baseMed</references>
        <references refid="gdt_8h_1a6b595357c10a17c620edcbeeb1c7f6a1" compoundref="gdt_8h" startline="62">dBig</references>
        <references refid="gdt_8h_1abc269d96e027bb39b828cadb2fc8660f" compoundref="gdt_8h" startline="63">dBiglim</references>
        <references refid="gdt_8h_1afcbb50cc521f6214eda9bca84aaee513" compoundref="gdt_8h" startline="42">dData</references>
        <references refid="gdt_8h_1a2e29d1e158d5e81dc70dfae75f17d7f4" compoundref="gdt_8h" startline="50">dDpl3</references>
        <references refid="gdt_8h_1abe5eb76416aff1d9114e1cdb8b0797fe" compoundref="gdt_8h" startline="54">dPresent</references>
        <references refid="gdt_8h_1a9785c919d49cacd1b0fa92590a7562c8" compoundref="gdt_8h" startline="57">dWrite</references>
        <references refid="structgdtDescriptor_1a1c5e6d9ddc74b0998b968a383e5f314c" compoundref="gdt_8h" startline="72">gdtDescriptor::granularity</references>
        <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references>
        <references refid="structgdtDescriptor_1a8f380d84a88a1982542a08fd9b53698f" compoundref="gdt_8h" startline="71">gdtDescriptor::limitHigh</references>
        <references refid="structgdtDescriptor_1a3b6f25eeaf186c263985eabffb96cb1a" compoundref="gdt_8h" startline="67">gdtDescriptor::limitLow</references>
        <references refid="structsys__sysarch__args_1a5c9000e16bc6872af063afb9f8afabf1" compoundref="sysproto__posix_8h" startline="516">sys_sysarch_args::op</references>
        <references refid="structsys__sysarch__args_1a2f09650048b8deb09ebb15e1d4621bd6" compoundref="sysproto__posix_8h" startline="519">sys_sysarch_args::parms</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="vmm_8h_1ab73be2fd1f1c93794618941747db46c6" compoundref="vmm_8h" startline="56">VMM_USER_LDT</references>
      </memberdef>
      <memberdef kind="function" id="gen__calls_8c_1a8b81e719c8b5bba5dbf58a2623937fd1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int sys_wait4</definition>
        <argsstring>(struct thread *td, struct sys_wait4_args *args)</argsstring>
        <name>sys_wait4</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structsys__wait4__args" kindref="compound">sys_wait4_args</ref> *</type>
          <declname>args</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" line="147" column="5" bodyfile="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c" bodystart="147" bodyend="184"/>
        <references refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" compoundref="armv6_2sched_8c" startline="50">_current</references>
        <references refid="structtaskStruct_1aad1bb2739ac10fee60034dcff753a076" compoundref="sched_8h" startline="88">taskStruct::children</references>
        <references refid="sys_2errno_8h_1a47b42c351e0e011a048058d224205c0f" compoundref="sys_2errno_8h" startline="41">ECHILD</references>
        <references refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" compoundref="sched_8h" startline="63">taskStruct::id</references>
        <references refid="structtaskStruct_1a37bc269b3215f72572568efc6666b324" compoundref="sched_8h" startline="89">taskStruct::last_exit</references>
        <references refid="structsys__wait4__args_1a925b7f871a480c9cfc79000673246eff" compoundref="sysproto__posix_8h" startline="110">sys_wait4_args::pid</references>
        <references refid="armv6_2sched_8c_1a2cbadd034400c65dbd11fd4892ddf26e" compoundref="armv6_2sched_8c" startline="265" endline="271">sched_setStatus</references>
        <references refid="armv6_2sched_8c_1a08933fe6d593a1c78b9080359f15a0b7" compoundref="armv6_2sched_8c" startline="244" endline="246">sched_yield</references>
        <references refid="armv6_2sched_8c_1a9cf37ade4c1f6184b33014ac2015e8ed" compoundref="armv6_2sched_8c" startline="207" endline="216">schedFindTask</references>
        <references refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" compoundref="thread_8h" startline="41">thread::td_retval</references>
        <references refid="sched_8h_1a3fb333b67375561d327e9b5a8ffa03b9a79a322ccb4b29b85b3cab52dbccefd17" compoundref="sched_8h" startline="47">WAIT</references>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*-</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are<sp/>permitted</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>&quot;AS<sp/>IS&quot;<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline>
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline>
<codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="gen__calls_8h" kindref="compound">sys/gen_calls.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="thread_8h" kindref="compound">sys/thread.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="gdt_8h" kindref="compound">sys/gdt.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="sched_8h" kindref="compound">ubixos/sched.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="endtask_8h" kindref="compound">ubixos/endtask.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="kprintf_8h" kindref="compound">lib/kprintf.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="kmalloc_8h" kindref="compound">lib/kmalloc.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="string_8h" kindref="compound">string.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="assert_8h" kindref="compound">assert.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="descrip_8h" kindref="compound">sys/descrip.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="video_8h" kindref="compound">sys/video.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="sys_2signal_8h" kindref="compound">sys/signal.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="ubixos_2errno_8h" kindref="compound">ubixos/errno.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="vmm_8h" kindref="compound">vmm/vmm.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Exit<sp/>Syscall<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45" refid="gen__calls_8c_1ac94a3863f0a2d89003e5bdfc18baffa0" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1ac94a3863f0a2d89003e5bdfc18baffa0" kindref="member">sys_exit</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__exit__args" kindref="compound">sys_exit_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="46"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//kprintf(&quot;exit(%i)&quot;,<sp/>args-&gt;status);</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="47"><highlight class="normal"><sp/><sp/><ref refid="endtask_8h_1a152c1859ada097cc21071f471bfa2e67" kindref="member">endTask</ref>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>);</highlight></codeline>
<codeline lineno="48"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0x0);</highlight></codeline>
<codeline lineno="49"><highlight class="normal">}</highlight></codeline>
<codeline lineno="50"><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>return<sp/>the<sp/>process<sp/>id<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="52" refid="gen__calls_8c_1a4f4fe0a75329898241b9c7acc0580561" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a4f4fe0a75329898241b9c7acc0580561" kindref="member">getpid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structgetpid__args" kindref="compound">getpid_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>;</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="58"><highlight class="normal">}</highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>return<sp/>the<sp/>process<sp/>user<sp/>id<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="61" refid="gen__calls_8c_1a5c560fabc59fcbcc62ce4827d10b222a" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a5c560fabc59fcbcc62ce4827d10b222a" kindref="member">getuid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structgetuid__args" kindref="compound">getuid_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a2d4f1664132da8b58cc4dfb25ac3509a" kindref="member">uid</ref>;</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="67"><highlight class="normal">}</highlight></codeline>
<codeline lineno="68"><highlight class="normal"></highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>return<sp/>the<sp/>process<sp/>group<sp/>id<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="70" refid="gen__calls_8c_1a2cbc84ec9b68d4c49474049bd74d1bb3" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a2cbc84ec9b68d4c49474049bd74d1bb3" kindref="member">getgid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structgetgid__args" kindref="compound">getgid_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="71"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aa9363ba2e18b68870b9a7bd42a012fc3" kindref="member">gid</ref>;</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="76"><highlight class="normal">}</highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight></codeline>
<codeline lineno="78" refid="gen__calls_8c_1aefab75d2473503f090345fe18d2629d4" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1aefab75d2473503f090345fe18d2629d4" kindref="member">sys_issetugid</ref>(</highlight><highlight class="keyword">register</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__issetugid__args" kindref="compound">sys_issetugid_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="81"><highlight class="normal">}</highlight></codeline>
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
<codeline lineno="83" refid="gen__calls_8c_1a111a32074b3f5f68a4fa5585fe8ab3a4" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a111a32074b3f5f68a4fa5585fe8ab3a4" kindref="member">readlink</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structreadlink__args" kindref="compound">readlink_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="84"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;readlink:<sp/>[%s:%i]\n&quot;</highlight><highlight class="normal">,<sp/>uap-&gt;<ref refid="structreadlink__args_1a4c97e5cd326ea78adb5c072e6de3c2a4" kindref="member">path</ref>,<sp/>uap-&gt;<ref refid="structreadlink__args_1a1c122ab73c591775ed283f58ac5c3019" kindref="member">count</ref>);</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[1]<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0x0);</highlight></codeline>
<codeline lineno="91"><highlight class="normal">}</highlight></codeline>
<codeline lineno="92"><highlight class="normal"></highlight></codeline>
<codeline lineno="93" refid="gen__calls_8c_1aff04064695f5ad2e284b51a24f351dc9" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1aff04064695f5ad2e284b51a24f351dc9" kindref="member">gettimeofday_new</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structgettimeofday__args" kindref="compound">gettimeofday_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="94"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0x0);</highlight></codeline>
<codeline lineno="98"><highlight class="normal">}</highlight></codeline>
<codeline lineno="99"><highlight class="normal"></highlight></codeline>
<codeline lineno="100" refid="gen__calls_8c_1a5eff3a25d417fafce7c4f211db219ca2" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a5eff3a25d417fafce7c4f211db219ca2" kindref="member">read</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structread__args" kindref="compound">read_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>count<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structfile" kindref="compound">file</ref><sp/>*<ref refid="structfile_1af2108e4a1620fe81b2b5e7b6db5d41d4" kindref="member">fd</ref><sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
<codeline lineno="105"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>DEBUG</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[%s:%i]&quot;</highlight><highlight class="normal">,__FILE__,__LINE__);</highlight></codeline>
<codeline lineno="107"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="108"><highlight class="normal"></highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/>error<sp/>=<sp/><ref refid="descrip_8h_1a14e228d6e5391a882d3b20ff2466b2ac" kindref="member">getfd</ref>(td,<sp/>&amp;<ref refid="structfile_1af2108e4a1620fe81b2b5e7b6db5d41d4" kindref="member">fd</ref>,<sp/>uap-&gt;<ref refid="structread__args_1a250aa43131c8339cb6af695aa172e3d1" kindref="member">fd</ref>);</highlight></codeline>
<codeline lineno="110"><highlight class="normal"></highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(error)</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="113"><highlight class="normal"></highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/>count<sp/>=<sp/><ref refid="file_8c_1ac539f57edd90fcd088fd3baa10319166" kindref="member">fread</ref>(uap-&gt;<ref refid="structread__args_1a6ac2e2c0ce3199b14d0c8f0483b93298" kindref="member">buf</ref>,<sp/>uap-&gt;<ref refid="structread__args_1a2043b1fbe1d15b40105590c9cb7a192c" kindref="member">nbyte</ref>,<sp/>0x1,<sp/><ref refid="structfile_1af2108e4a1620fe81b2b5e7b6db5d41d4" kindref="member">fd</ref>-&gt;fd);</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;count:<sp/>%i\n&quot;</highlight><highlight class="normal">,<sp/>count);</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>count;</highlight></codeline>
<codeline lineno="117"><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="119"><highlight class="normal">}</highlight></codeline>
<codeline lineno="120"><highlight class="normal"></highlight></codeline>
<codeline lineno="124" refid="gen__calls_8c_1ab913b237bff6f29fa58c01d2d0fc7088" refkind="member"><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1ab913b237bff6f29fa58c01d2d0fc7088" kindref="member">setitimer</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsetitimer__args" kindref="compound">setitimer_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="126"><highlight class="normal"></highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="128"><highlight class="normal">}</highlight></codeline>
<codeline lineno="129"><highlight class="normal"></highlight></codeline>
<codeline lineno="130" refid="gen__calls_8c_1a5e545f93bf6f37890415be1fc90815dd" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a5e545f93bf6f37890415be1fc90815dd" kindref="member">access</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structaccess__args" kindref="compound">access_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="131"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;name:<sp/>[%s]\n&quot;</highlight><highlight class="normal">,<sp/>uap-&gt;<ref refid="structaccess__args_1afac3aafb19d6982fffa8cc5a90524ffb" kindref="member">path</ref>);</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="134"><highlight class="normal">}</highlight></codeline>
<codeline lineno="135"><highlight class="normal"></highlight></codeline>
<codeline lineno="136" refid="gen__calls_8c_1a51b487cb390afbb6672b34b78c7afa81" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a51b487cb390afbb6672b34b78c7afa81" kindref="member">mprotect</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structmprotect__args" kindref="compound">mprotect_args</ref><sp/>*uap)<sp/>{</highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="139"><highlight class="normal">}</highlight></codeline>
<codeline lineno="140"><highlight class="normal"></highlight></codeline>
<codeline lineno="141" refid="gen__calls_8c_1a6d945e107f5f3d710b7b571eac2784b5" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a6d945e107f5f3d710b7b571eac2784b5" kindref="member">sys_invalid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;ISC[%i:%i]&quot;</highlight><highlight class="normal">,<sp/>td-&gt;<ref refid="structthread_1a44c91c2feae7dd69a8edd9bb8fe601c9" kindref="member">frame</ref>-&gt;<ref refid="structtrapframe_1afb020a5162b2fe71f4f8fa641f7dd5f2" kindref="member">tf_eax</ref>,<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>);</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="145"><highlight class="normal">}</highlight></codeline>
<codeline lineno="146"><highlight class="normal"></highlight></codeline>
<codeline lineno="147" refid="gen__calls_8c_1a8b81e719c8b5bba5dbf58a2623937fd1" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a8b81e719c8b5bba5dbf58a2623937fd1" kindref="member">sys_wait4</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__wait4__args" kindref="compound">sys_wait4_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="149"><highlight class="normal"></highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__wait4__args_1a925b7f871a480c9cfc79000673246eff" kindref="member">pid</ref><sp/>==<sp/>-1)<sp/>{</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aad1bb2739ac10fee60034dcff753a076" kindref="member">children</ref><sp/>&lt;=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="sys_2errno_8h_1a47b42c351e0e011a048058d224205c0f" kindref="member">ECHILD</ref>;</highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(-1);</highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>children<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aad1bb2739ac10fee60034dcff753a076" kindref="member">children</ref>;</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="armv6_2sched_8c_1a2cbadd034400c65dbd11fd4892ddf26e" kindref="member">sched_setStatus</ref>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>,<sp/><ref refid="sched_8h_1a3fb333b67375561d327e9b5a8ffa03b9a79a322ccb4b29b85b3cab52dbccefd17" kindref="member">WAIT</ref>);</highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aad1bb2739ac10fee60034dcff753a076" kindref="member">children</ref><sp/>==<sp/>children)<sp/>{</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="armv6_2sched_8c_1a08933fe6d593a1c78b9080359f15a0b7" kindref="member">sched_yield</ref>();</highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="162"><highlight class="normal"></highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a37bc269b3215f72572568efc6666b324" kindref="member">last_exit</ref>;</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[1]<sp/>=<sp/>0x8;</highlight></codeline>
<codeline lineno="165"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="structtaskStruct" kindref="compound">kTask_t</ref><sp/>*tmpTask<sp/>=<sp/><ref refid="armv6_2sched_8c_1a9cf37ade4c1f6184b33014ac2015e8ed" kindref="member">schedFindTask</ref>(args-&gt;<ref refid="structsys__wait4__args_1a925b7f871a480c9cfc79000673246eff" kindref="member">pid</ref>);</highlight></codeline>
<codeline lineno="169"><highlight class="normal"></highlight></codeline>
<codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(tmpTask<sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="armv6_2sched_8c_1a2cbadd034400c65dbd11fd4892ddf26e" kindref="member">sched_setStatus</ref>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>,<sp/><ref refid="sched_8h_1a3fb333b67375561d327e9b5a8ffa03b9a79a322ccb4b29b85b3cab52dbccefd17" kindref="member">WAIT</ref>);</highlight></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(tmpTask<sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="armv6_2sched_8c_1a08933fe6d593a1c78b9080359f15a0b7" kindref="member">sched_yield</ref>();</highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tmpTask<sp/>=<sp/><ref refid="armv6_2sched_8c_1a9cf37ade4c1f6184b33014ac2015e8ed" kindref="member">schedFindTask</ref>(args-&gt;<ref refid="structsys__wait4__args_1a925b7f871a480c9cfc79000673246eff" kindref="member">pid</ref>);</highlight></codeline>
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>args-&gt;<ref refid="structsys__wait4__args_1a925b7f871a480c9cfc79000673246eff" kindref="member">pid</ref>;</highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="180"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>error<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="184"><highlight class="normal">}</highlight></codeline>
<codeline lineno="185"><highlight class="normal"></highlight></codeline>
<codeline lineno="186" refid="gen__calls_8c_1a5df9e80cc5dda0f70fae4699168cf4b6" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a5df9e80cc5dda0f70fae4699168cf4b6" kindref="member">sys_sysarch</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__sysarch__args" kindref="compound">sys_sysarch_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>**segbase<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/>base_addr<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sysarch__args_1a5c9000e16bc6872af063afb9f8afabf1" kindref="member">op</ref><sp/>==<sp/>10)<sp/>{</highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//kprintf(&quot;SETGSBASE:<sp/>0x%X:0x%X&quot;,<sp/>args-&gt;parms,<sp/>args-&gt;parms[0]);</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/>segbase<sp/>=<sp/>args-&gt;<ref refid="structsys__sysarch__args_1a2f09650048b8deb09ebb15e1d4621bd6" kindref="member">parms</ref>;</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//kprintf(&quot;SGS:<sp/>[0x%X:0x%X]&quot;,<sp/>segbase[0],<sp/>segbase[1]);</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/>base_addr<sp/>=<sp/>(<ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref>)<sp/>segbase[0];</highlight></codeline>
<codeline lineno="194"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structgdtDescriptor" kindref="compound">gdtDescriptor</ref><sp/>*tmpDesc<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="195"><highlight class="normal"></highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc<sp/>=<sp/><ref refid="vmm_8h_1ab73be2fd1f1c93794618941747db46c6" kindref="member">VMM_USER_LDT</ref><sp/>+<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structgdtDescriptor" kindref="compound">gdtDescriptor</ref>);<sp/></highlight><highlight class="comment">//taskLDT[1];</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="197"><highlight class="normal"></highlight></codeline>
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1a3b6f25eeaf186c263985eabffb96cb1a" kindref="member">limitLow</ref><sp/>=<sp/>(0xFFFFF<sp/>&amp;<sp/>0xFFFF);</highlight></codeline>
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1ad8fb7196c3b0b2d15ebbc0d20006d0a8" kindref="member">baseLow</ref><sp/>=<sp/>(base_addr<sp/>&amp;<sp/>0xFFFF);</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1aef125e8406580a85d2201c2d63245575" kindref="member">baseMed</ref><sp/>=<sp/>((base_addr<sp/>&gt;&gt;<sp/>16)<sp/>&amp;<sp/>0xFF);</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1ae0bca342b5caa6d39826f21fc9ac4d56" kindref="member">access</ref><sp/>=<sp/>((<ref refid="gdt_8h_1afcbb50cc521f6214eda9bca84aaee513" kindref="member">dData</ref><sp/>+<sp/><ref refid="gdt_8h_1a9785c919d49cacd1b0fa92590a7562c8" kindref="member">dWrite</ref><sp/>+<sp/><ref refid="gdt_8h_1a6b595357c10a17c620edcbeeb1c7f6a1" kindref="member">dBig</ref><sp/>+<sp/><ref refid="gdt_8h_1abc269d96e027bb39b828cadb2fc8660f" kindref="member">dBiglim</ref><sp/>+<sp/><ref refid="gdt_8h_1a2e29d1e158d5e81dc70dfae75f17d7f4" kindref="member">dDpl3</ref>)<sp/>+<sp/><ref refid="gdt_8h_1abe5eb76416aff1d9114e1cdb8b0797fe" kindref="member">dPresent</ref>)<sp/>&gt;&gt;<sp/>8;</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1a8f380d84a88a1982542a08fd9b53698f" kindref="member">limitHigh</ref><sp/>=<sp/>(0xFFFFF<sp/>&gt;&gt;<sp/>16);</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1a1c5e6d9ddc74b0998b968a383e5f314c" kindref="member">granularity</ref><sp/>=<sp/>((<ref refid="gdt_8h_1afcbb50cc521f6214eda9bca84aaee513" kindref="member">dData</ref><sp/>+<sp/><ref refid="gdt_8h_1a9785c919d49cacd1b0fa92590a7562c8" kindref="member">dWrite</ref><sp/>+<sp/><ref refid="gdt_8h_1a6b595357c10a17c620edcbeeb1c7f6a1" kindref="member">dBig</ref><sp/>+<sp/><ref refid="gdt_8h_1abc269d96e027bb39b828cadb2fc8660f" kindref="member">dBiglim</ref><sp/>+<sp/><ref refid="gdt_8h_1a2e29d1e158d5e81dc70dfae75f17d7f4" kindref="member">dDpl3</ref>)<sp/>&amp;<sp/>0xFF)<sp/>&gt;&gt;<sp/>4;</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/>tmpDesc-&gt;<ref refid="structgdtDescriptor_1a2cd45ddaee984e45ef519b5f96cb4151" kindref="member">baseHigh</ref><sp/>=<sp/>base_addr<sp/>&gt;&gt;<sp/>24;</highlight></codeline>
<codeline lineno="205"><highlight class="normal"></highlight></codeline>
<codeline lineno="206"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">asm</highlight><highlight class="normal">(</highlight></codeline>
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;push<sp/>%eax\n&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;mov<sp/>$0x18,%ax\n&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;lldt<sp/>%ax\n&quot;</highlight><highlight class="normal"><sp/></highlight><highlight class="comment">/*<sp/>&quot;lgdtl<sp/>(loadGDT)\n&quot;<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;mov<sp/>$0xF,%eax\n&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="211"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;mov<sp/>%eax,%gs\n&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="stringliteral">&quot;pop<sp/>%eax\n&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="213"><highlight class="normal"><sp/><sp/><sp/><sp/>);</highlight></codeline>
<codeline lineno="214"><highlight class="normal"></highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="216"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="217"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;sysarch(%i,NULL)&quot;</highlight><highlight class="normal">,<sp/>args-&gt;<ref refid="structsys__sysarch__args_1a5c9000e16bc6872af063afb9f8afabf1" kindref="member">op</ref>);</highlight></codeline>
<codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="220"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="221"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="222"><highlight class="normal">}</highlight></codeline>
<codeline lineno="223"><highlight class="normal"></highlight></codeline>
<codeline lineno="224" refid="gen__calls_8c_1a806b59c1d474ceb991d2e61f980b82ad" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a806b59c1d474ceb991d2e61f980b82ad" kindref="member">sys_getpid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getpid__args" kindref="compound">sys_getpid_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="225"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>;</highlight></codeline>
<codeline lineno="226"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="227"><highlight class="normal">}</highlight></codeline>
<codeline lineno="228" refid="gen__calls_8c_1a95814d9f34da704d5981360d98e23af9" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a95814d9f34da704d5981360d98e23af9" kindref="member">sys_geteuid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__geteuid__args" kindref="compound">sys_geteuid_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="229"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a2d4f1664132da8b58cc4dfb25ac3509a" kindref="member">uid</ref>;</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="231"><highlight class="normal">}</highlight></codeline>
<codeline lineno="232"><highlight class="normal"></highlight></codeline>
<codeline lineno="233" refid="gen__calls_8c_1a4b9ea4e44afeadecbe639569ef2cc6b4" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a4b9ea4e44afeadecbe639569ef2cc6b4" kindref="member">sys_getegid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getegid__args" kindref="compound">sys_getegid_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="234"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aa9363ba2e18b68870b9a7bd42a012fc3" kindref="member">gid</ref>;</highlight></codeline>
<codeline lineno="235"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="236"><highlight class="normal">}</highlight></codeline>
<codeline lineno="237"><highlight class="normal"></highlight></codeline>
<codeline lineno="238" refid="gen__calls_8c_1a26b5c98e54c7a5e8698fba05710936df" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a26b5c98e54c7a5e8698fba05710936df" kindref="member">sys_getppid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getppid__args" kindref="compound">sys_getppid_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1ad49b0543ec4947a98bb7bd771a93bc3b" kindref="member">ppid</ref>;</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="241"><highlight class="normal">}</highlight></codeline>
<codeline lineno="242"><highlight class="normal"></highlight></codeline>
<codeline lineno="243" refid="gen__calls_8c_1adb0dc568dd674705e372495140616236" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1adb0dc568dd674705e372495140616236" kindref="member">sys_sigprocmask</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__sigprocmask__args" kindref="compound">sys_sigprocmask_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="245"><highlight class="normal"></highlight></codeline>
<codeline lineno="246"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1a3b15609df6042f96a0fb6354b27d318e" kindref="member">oset</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="247"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(args-&gt;<ref refid="structsys__sigprocmask__args_1a3b15609df6042f96a0fb6354b27d318e" kindref="member">oset</ref>,<sp/>&amp;td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>,<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(<ref refid="struct____sigset" kindref="compound">sigset_t</ref>));</highlight></codeline>
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="249"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="250"><highlight class="normal"></highlight></codeline>
<codeline lineno="251"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ac7673f08f959587ef3a47068e5be14ff" kindref="member">how</ref><sp/>==<sp/><ref refid="sys_2signal_8h_1a37750b78b7ae75fe02ad26e70f6cc845" kindref="member">SIG_SETMASK</ref>)<sp/>{</highlight></codeline>
<codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(&amp;td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>,<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>,<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(<ref refid="struct____sigset" kindref="compound">sigset_t</ref>));</highlight></codeline>
<codeline lineno="255"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="256"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="257"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="258"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="259"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="260"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="261"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ac7673f08f959587ef3a47068e5be14ff" kindref="member">how</ref><sp/>==<sp/><ref refid="sys_2signal_8h_1a927f6ae16379576d638006c7498ac5d7" kindref="member">SIG_BLOCK</ref>)<sp/>{</highlight></codeline>
<codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[0]<sp/>&amp;=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[0];</highlight></codeline>
<codeline lineno="264"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[1]<sp/>&amp;=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[1];</highlight></codeline>
<codeline lineno="265"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[2]<sp/>&amp;=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[2];</highlight></codeline>
<codeline lineno="266"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[3]<sp/>&amp;=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[3];</highlight></codeline>
<codeline lineno="267"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="270"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="271"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="272"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ac7673f08f959587ef3a47068e5be14ff" kindref="member">how</ref><sp/>==<sp/><ref refid="sys_2signal_8h_1a5fcd73313a63dac2cc7eb3b654215250" kindref="member">SIG_UNBLOCK</ref>)<sp/>{</highlight></codeline>
<codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[0]<sp/>|=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[0];</highlight></codeline>
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[1]<sp/>|=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[1];</highlight></codeline>
<codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[2]<sp/>|=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[2];</highlight></codeline>
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1a4fd5f5de2f41b7678bb537634990a812" kindref="member">sigmask</ref>.<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[3]<sp/>|=<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ab37bc0eb4fcb9fde5f0e2a4f6f823aa1" kindref="member">set</ref>-&gt;<ref refid="struct____sigset_1af82a86c0ba3a93f568304f7df2e95867" kindref="member">__bits</ref>[3];</highlight></codeline>
<codeline lineno="279"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="281"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="283"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="285"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;SPM:<sp/>0x%X&quot;</highlight><highlight class="normal">,<sp/>args-&gt;<ref refid="structsys__sigprocmask__args_1ac7673f08f959587ef3a47068e5be14ff" kindref="member">how</ref>);</highlight></codeline>
<codeline lineno="287"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="289"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="290"><highlight class="normal"></highlight></codeline>
<codeline lineno="291"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="292"><highlight class="normal">}</highlight></codeline>
<codeline lineno="293"><highlight class="normal"></highlight></codeline>
<codeline lineno="294" refid="gen__calls_8c_1add3795da6dd256853821910f6fde5569" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1add3795da6dd256853821910f6fde5569" kindref="member">sys_sigaction</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__sigaction__args" kindref="compound">sys_sigaction_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="295"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="296"><highlight class="normal"></highlight></codeline>
<codeline lineno="297"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigaction__args_1a2d1efc69484f943c9ad01fa45e3d39e0" kindref="member">oact</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="298"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(args-&gt;<ref refid="structsys__sigaction__args_1a2d1efc69484f943c9ad01fa45e3d39e0" kindref="member">oact</ref>,<sp/>&amp;td-&gt;<ref refid="structthread_1aa0041bdd41da4a43a6c69327e866336e" kindref="member">sigact</ref>[args-&gt;<ref refid="structsys__sigaction__args_1a44a3fc57e54e0246d29c8fb6422e26c5" kindref="member">sig</ref>],<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsigaction" kindref="compound">sigaction</ref>));</highlight></codeline>
<codeline lineno="299"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="300"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="301"><highlight class="normal"></highlight></codeline>
<codeline lineno="302"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__sigaction__args_1a4502042a0ee83f26b999497b5f0d60a8" kindref="member">act</ref><sp/>!=<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//kprintf(&quot;SA:<sp/>%i&quot;,<sp/>args-&gt;sig);</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(&amp;td-&gt;<ref refid="structthread_1aa0041bdd41da4a43a6c69327e866336e" kindref="member">sigact</ref>[args-&gt;<ref refid="structsys__sigaction__args_1a44a3fc57e54e0246d29c8fb6422e26c5" kindref="member">sig</ref>],<sp/>args-&gt;<ref refid="structsys__sigaction__args_1a4502042a0ee83f26b999497b5f0d60a8" kindref="member">act</ref>,<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsigaction" kindref="compound">sigaction</ref>));</highlight></codeline>
<codeline lineno="305"><highlight class="normal"><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="306"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="307"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="308"><highlight class="normal">}</highlight></codeline>
<codeline lineno="309"><highlight class="normal"></highlight></codeline>
<codeline lineno="310" refid="gen__calls_8c_1a60684ca6776c6a48469cd3b07e7302ac" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a60684ca6776c6a48469cd3b07e7302ac" kindref="member">sys_getpgrp</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getpgrp__args" kindref="compound">sys_getpgrp_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="311"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" kindref="member">pgrp</ref>;</highlight></codeline>
<codeline lineno="312"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="313"><highlight class="normal">}</highlight></codeline>
<codeline lineno="314"><highlight class="normal"></highlight></codeline>
<codeline lineno="315" refid="gen__calls_8c_1ab1d502aa002a2db41f75f375c9981afe" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1ab1d502aa002a2db41f75f375c9981afe" kindref="member">sys_setpgid</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__setpgid__args" kindref="compound">sys_setpgid_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="316"><highlight class="normal"><sp/><sp/><ref refid="include_2sys_2types_8h_1ae438ba74394b14d7b24b6df3b3b8c252" kindref="member">pidType</ref><sp/>pid<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="317"><highlight class="normal"><sp/><sp/><ref refid="include_2sys_2types_8h_1ae438ba74394b14d7b24b6df3b3b8c252" kindref="member">pidType</ref><sp/>pgrp<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="318"><highlight class="normal"></highlight></codeline>
<codeline lineno="319"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__setpgid__args_1a2eda57fe49567ba3348c50b321f84521" kindref="member">pid</ref><sp/>==<sp/>0x0<sp/>||<sp/>args-&gt;<ref refid="structsys__setpgid__args_1a2eda57fe49567ba3348c50b321f84521" kindref="member">pid</ref><sp/>==<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>)<sp/>{</highlight></codeline>
<codeline lineno="320"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__setpgid__args_1a66f9360c1e5d51b0258c8db283bb8184" kindref="member">pgid</ref><sp/>==<sp/>0x0<sp/>||<sp/>args-&gt;<ref refid="structsys__setpgid__args_1a66f9360c1e5d51b0258c8db283bb8184" kindref="member">pgid</ref><sp/>==<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>)<sp/>{</highlight></codeline>
<codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="322"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" kindref="member">pgrp</ref><sp/>=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>;</highlight></codeline>
<codeline lineno="323"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="324"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="325"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="326"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="327"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="328"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="329"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="structtaskStruct" kindref="compound">kTask_t</ref><sp/>*tmpTask<sp/>=<sp/><ref refid="armv6_2sched_8c_1a9cf37ade4c1f6184b33014ac2015e8ed" kindref="member">schedFindTask</ref>(pid);</highlight></codeline>
<codeline lineno="330"><highlight class="normal"></highlight></codeline>
<codeline lineno="331"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(tmpTask<sp/>==<sp/>0x0)<sp/>{</highlight></codeline>
<codeline lineno="332"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="333"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="334"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="335"><highlight class="normal"></highlight></codeline>
<codeline lineno="336"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Get<sp/>The<sp/>PRGP<sp/>We<sp/>Want<sp/>To<sp/>Set<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="337"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>pgrp<sp/>=<sp/>(args-&gt;<ref refid="structsys__setpgid__args_1a66f9360c1e5d51b0258c8db283bb8184" kindref="member">pgid</ref><sp/>==<sp/>0)<sp/>?<sp/>tmpTask-&gt;<ref refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" kindref="member">pgrp</ref><sp/>:<sp/>args-&gt;<ref refid="structsys__setpgid__args_1a66f9360c1e5d51b0258c8db283bb8184" kindref="member">pgid</ref>;</highlight></codeline>
<codeline lineno="338"><highlight class="normal"></highlight></codeline>
<codeline lineno="339"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>if<sp/>(pgrp<sp/>!=<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" kindref="member">pgrp</ref><sp/>||<sp/>pgrp<sp/>!=<sp/>tmpTask-&gt;<ref refid="structtaskStruct_1a30966587a60db6b40c8be6c387e11d81" kindref="member">id</ref>)<sp/>{</highlight></codeline>
<codeline lineno="340"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="341"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="342"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="343"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="344"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tmpTask-&gt;<ref refid="structtaskStruct_1aa48ed6126ded7be4fddb44a860b16bf5" kindref="member">pgrp</ref><sp/>=<sp/>pgrp;</highlight></codeline>
<codeline lineno="345"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="346"><highlight class="normal"></highlight></codeline>
<codeline lineno="347"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="348"><highlight class="normal"></highlight></codeline>
<codeline lineno="349"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="350"><highlight class="normal"></highlight></codeline>
<codeline lineno="351"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="352"><highlight class="normal">}</highlight></codeline>
<codeline lineno="353"><highlight class="normal"></highlight></codeline>
<codeline lineno="354" refid="gen__calls_8c_1ad3d1e6e24307ce2257adadefb46dfa10" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1ad3d1e6e24307ce2257adadefb46dfa10" kindref="member">sys_gettimeofday</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__gettimeofday__args" kindref="compound">sys_gettimeofday_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="355"><highlight class="normal"><sp/><sp/><ref refid="time_8h_1adf30830f5265e55035171c301eb9c3fb" kindref="member">gettimeofday</ref>(args-&gt;<ref refid="structsys__gettimeofday__args_1a27a9a6f3de0eb3d4b908137eebc948c1" kindref="member">tp</ref>,<sp/>args-&gt;<ref refid="structsys__gettimeofday__args_1a3aa4ab65476d5c764a44858e710b31bb" kindref="member">tzp</ref>);</highlight></codeline>
<codeline lineno="356"><highlight class="normal"><sp/><sp/>td-&gt;<ref refid="structthread_1af3ec0788a84e5cb640a1646d1347998a" kindref="member">td_retval</ref>[0]<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="357"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(0);</highlight></codeline>
<codeline lineno="358"><highlight class="normal">}</highlight></codeline>
<codeline lineno="359"><highlight class="normal"></highlight></codeline>
<codeline lineno="360" refid="gen__calls_8c_1aa52846421fb6bb39fb090a155cbfbdab" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1aa52846421fb6bb39fb090a155cbfbdab" kindref="member">sys_getlogin</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*thr,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getlogin__args" kindref="compound">sys_getlogin_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="361"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="362"><highlight class="normal"></highlight></codeline>
<codeline lineno="363"><highlight class="normal"><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(args-&gt;<ref refid="structsys__getlogin__args_1ab55f9d96796dc82c094526f794742edc" kindref="member">namebuf</ref>,<sp/><ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1ae0c0e11b4b74672335d8cdb9e157333a" kindref="member">username</ref>,<sp/>args-&gt;<ref refid="structsys__getlogin__args_1aa247bed5105660888e9e79622c09395f" kindref="member">namelen</ref>);</highlight></codeline>
<codeline lineno="364"><highlight class="normal"></highlight></codeline>
<codeline lineno="365"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="366"><highlight class="normal">}</highlight></codeline>
<codeline lineno="367"><highlight class="normal"></highlight></codeline>
<codeline lineno="368" refid="gen__calls_8c_1a2c9b502d95322a6c040cf0f87f15aeba" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a2c9b502d95322a6c040cf0f87f15aeba" kindref="member">sys_setlogin</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*thr,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__setlogin__args" kindref="compound">sys_setlogin_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="369"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="370"><highlight class="normal"></highlight></codeline>
<codeline lineno="371"><highlight class="normal"><sp/><sp/><ref refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c" kindref="member">memcpy</ref>(<ref refid="armv6_2sched_8c_1a54397bfe18d5da4d50ff03b15f540858" kindref="member">_current</ref>-&gt;<ref refid="structtaskStruct_1ae0c0e11b4b74672335d8cdb9e157333a" kindref="member">username</ref>,<sp/>args-&gt;<ref refid="structsys__setlogin__args_1a6dc0b7ee20fe832221a6f31f73abe729" kindref="member">namebuf</ref>,<sp/>256);</highlight></codeline>
<codeline lineno="372"><highlight class="normal"></highlight></codeline>
<codeline lineno="373"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="374"><highlight class="normal">}</highlight></codeline>
<codeline lineno="375"><highlight class="normal"></highlight></codeline>
<codeline lineno="376" refid="gen__calls_8c_1abe3341acee6fc13d0806e33bf4950cc0" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1abe3341acee6fc13d0806e33bf4950cc0" kindref="member">sys_getrlimit</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*thr,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__getrlimit__args" kindref="compound">sys_getrlimit_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="377"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="378"><highlight class="normal"></highlight></codeline>
<codeline lineno="379"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structrlimit" kindref="compound">rlimit</ref><sp/>*rlim<sp/>=<sp/>0x0;</highlight></codeline>
<codeline lineno="380"><highlight class="normal"></highlight></codeline>
<codeline lineno="381"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">switch</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>)<sp/>{</highlight></codeline>
<codeline lineno="382"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>0:</highlight></codeline>
<codeline lineno="383"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="384"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="385"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="386"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>1:</highlight></codeline>
<codeline lineno="387"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="388"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="389"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="390"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>2:</highlight></codeline>
<codeline lineno="391"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="392"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="393"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="394"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>3:</highlight></codeline>
<codeline lineno="395"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="396"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="397"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="398"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>4:</highlight></codeline>
<codeline lineno="399"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="400"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="401"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="402"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>5:</highlight></codeline>
<codeline lineno="403"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="404"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="405"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="406"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>6:</highlight></codeline>
<codeline lineno="407"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="408"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="409"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="410"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>7:</highlight></codeline>
<codeline lineno="411"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="412"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="413"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="414"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>8:</highlight></codeline>
<codeline lineno="415"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="416"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="417"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="418"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>9:</highlight></codeline>
<codeline lineno="419"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="420"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="421"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="422"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>10:</highlight></codeline>
<codeline lineno="423"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="424"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="425"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="426"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>11:</highlight></codeline>
<codeline lineno="427"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="428"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="429"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="430"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>12:</highlight></codeline>
<codeline lineno="431"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="432"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="433"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="434"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>13:</highlight></codeline>
<codeline lineno="435"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="436"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="437"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="438"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>14:</highlight></codeline>
<codeline lineno="439"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="440"><highlight class="normal"><sp/><sp/><sp/><sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a17cceaf95313e824c3eeb41b7f5ca704" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="441"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="442"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">default</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="443"><highlight class="normal"><sp/><sp/><sp/><sp/>error<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="444"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[getrlimit:<sp/>%i]&quot;</highlight><highlight class="normal">,<sp/>args-&gt;<ref refid="structsys__getrlimit__args_1a3b5241088cc7365c2e852ffe892dc092" kindref="member">which</ref>);</highlight></codeline>
<codeline lineno="445"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="446"><highlight class="normal"></highlight></codeline>
<codeline lineno="447"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="448"><highlight class="normal">}</highlight></codeline>
<codeline lineno="449"><highlight class="normal"></highlight></codeline>
<codeline lineno="450" refid="gen__calls_8c_1a77e27dec9ce3825037f7b1916f131765" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8c_1a77e27dec9ce3825037f7b1916f131765" kindref="member">sys_setrlimit</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*thr,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structsys__setrlimit__args" kindref="compound">sys_setrlimit_args</ref><sp/>*args)<sp/>{</highlight></codeline>
<codeline lineno="451"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>error<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="452"><highlight class="normal"></highlight></codeline>
<codeline lineno="453"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">switch</highlight><highlight class="normal"><sp/>(args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>)<sp/>{</highlight></codeline>
<codeline lineno="454"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>0:</highlight></codeline>
<codeline lineno="455"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="456"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="457"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="458"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>1:</highlight></codeline>
<codeline lineno="459"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="460"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="461"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="462"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>2:</highlight></codeline>
<codeline lineno="463"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="464"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="465"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="466"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>3:</highlight></codeline>
<codeline lineno="467"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="468"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="469"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="470"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>4:</highlight></codeline>
<codeline lineno="471"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="472"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="473"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="474"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>5:</highlight></codeline>
<codeline lineno="475"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="476"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="477"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="478"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>6:</highlight></codeline>
<codeline lineno="479"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="480"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="481"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="482"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>7:</highlight></codeline>
<codeline lineno="483"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="484"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="485"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="486"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>8:</highlight></codeline>
<codeline lineno="487"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="488"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="489"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="490"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>9:</highlight></codeline>
<codeline lineno="491"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="492"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="493"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="494"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>10:</highlight></codeline>
<codeline lineno="495"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="496"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="497"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="498"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>11:</highlight></codeline>
<codeline lineno="499"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="500"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="501"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="502"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>12:</highlight></codeline>
<codeline lineno="503"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="504"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="505"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="506"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>13:</highlight></codeline>
<codeline lineno="507"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="508"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="509"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="510"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">case</highlight><highlight class="normal"><sp/>14:</highlight></codeline>
<codeline lineno="511"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1afb303c82ed3027a353e423a555b944b4" kindref="member">rlim_cur</ref>;</highlight></codeline>
<codeline lineno="512"><highlight class="normal"><sp/><sp/><sp/><sp/>thr-&gt;<ref refid="structthread_1a55a69c915cf55cf301c9e23eb05013cc" kindref="member">rlim</ref>[args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>].<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref><sp/>=<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1a24628b7e9dec41fa25d613c4a8916a66" kindref="member">rlp</ref>-&gt;<ref refid="structrlimit_1ab24ab4934cab539abf45b259f5db7639" kindref="member">rlim_max</ref>;</highlight></codeline>
<codeline lineno="513"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">break</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="514"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">default</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="515"><highlight class="normal"><sp/><sp/><sp/><sp/>error<sp/>=<sp/>-1;</highlight></codeline>
<codeline lineno="516"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" kindref="member">kprintf</ref>(</highlight><highlight class="stringliteral">&quot;[setrlimit:<sp/>%i]&quot;</highlight><highlight class="normal">,<sp/>args-&gt;<ref refid="structsys__setrlimit__args_1af46e79a2d35533d9580eb652315f68d7" kindref="member">which</ref>);</highlight></codeline>
<codeline lineno="517"><highlight class="normal"><sp/><sp/>}</highlight></codeline>
<codeline lineno="518"><highlight class="normal"></highlight></codeline>
<codeline lineno="519"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(error);</highlight></codeline>
<codeline lineno="520"><highlight class="normal">}</highlight></codeline>
    </programlisting>
    <location file="C:/Dev/git/UbixOS/sys/kernel/gen_calls.c"/>
  </compounddef>
</doxygen>
