mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
This commit is contained in:
8
repos/base-okl4/contrib/generated/README
Normal file
8
repos/base-okl4/contrib/generated/README
Normal file
@@ -0,0 +1,8 @@
|
||||
This directory and its subdirectories contain machine-generated code,
|
||||
produced when building the OKL4 kernel with its native Scons build environment.
|
||||
|
||||
It is not part of the Genode project and remains under the licence of the OKL4 kernel.
|
||||
|
||||
You can obtain the OKL4 kernel version 2.1.1. here:
|
||||
|
||||
[http://www.ok-labs.com - Open Kernel Labs]
|
||||
69
repos/base-okl4/contrib/generated/x86/asmsyms.h
Normal file
69
repos/base-okl4/contrib/generated/x86/asmsyms.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* machine-generated file - do NOT edit */
|
||||
#ifndef __ASMSYMS_H__
|
||||
#define __ASMSYMS_H__
|
||||
|
||||
#define TSTATE_POLLING 0xb
|
||||
#define TSTATE_WAITING_FOREVER 0xffffffff
|
||||
#define TSTATE_RUNNING 0x2
|
||||
#define PT_SIZE 0x4c
|
||||
#define OFS_CAP_TCB 0x0
|
||||
|
||||
#endif /* __ASMSYMS_H__ */
|
||||
119
repos/base-okl4/contrib/generated/x86/kdb_class_helper.h
Normal file
119
repos/base-okl4/contrib/generated/x86/kdb_class_helper.h
Normal file
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
static cmd_ret_t cmd_list_clists(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_clist(cmd_group_t*);
|
||||
static cmd_ret_t cmd__help(cmd_group_t*);
|
||||
static cmd_ret_t cmd__abort(cmd_group_t*);
|
||||
static cmd_ret_t cmd__prior(cmd_group_t*);
|
||||
static cmd_ret_t cmd_mode_switch(cmd_group_t*);
|
||||
static cmd_ret_t cmd_toggle_cpuprefix(cmd_group_t*);
|
||||
static cmd_ret_t cmd_go(cmd_group_t*);
|
||||
static cmd_ret_t cmd_arch(cmd_group_t*);
|
||||
static cmd_ret_t cmd_config(cmd_group_t*);
|
||||
static cmd_ret_t cmd_statistics(cmd_group_t*);
|
||||
static cmd_ret_t cmd_profiling(cmd_group_t*);
|
||||
static cmd_ret_t cmd_kmem_stats(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dump_ptab(cmd_group_t*);
|
||||
static cmd_ret_t cmd_wordsize(cmd_group_t*);
|
||||
static cmd_ret_t cmd_memdump(cmd_group_t*);
|
||||
static cmd_ret_t cmd_memdump_remote(cmd_group_t*);
|
||||
static cmd_ret_t cmd_memdump_phys(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_mutexes(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_dep_graph(cmd_group_t*);
|
||||
static cmd_ret_t cmd_profile_print(cmd_group_t*);
|
||||
static cmd_ret_t cmd_profile_enable(cmd_group_t*);
|
||||
static cmd_ret_t cmd_profile_disable(cmd_group_t*);
|
||||
static cmd_ret_t cmd_profile_reset(cmd_group_t*);
|
||||
static cmd_ret_t cmd_reboot(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_ready(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_units(cmd_group_t*);
|
||||
static cmd_ret_t cmd_list_spaces(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_space(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_tcb(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_tcbext(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tid_format(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tracebuffer(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tb_info(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tb_logmask(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tb_dump(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tb_reset(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tracepoints(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_list(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_conf(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_conf_all(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_reset(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_enable(cmd_group_t*);
|
||||
static cmd_ret_t cmd_tp_disable(cmd_group_t*);
|
||||
static cmd_ret_t cmd_breakpoint(cmd_group_t*);
|
||||
static cmd_ret_t cmd_singlestep(cmd_group_t*);
|
||||
static cmd_ret_t cmd_branchstep(cmd_group_t*);
|
||||
static cmd_ret_t cmd_reset(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_ctrlregs(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dump_msrs(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dump_current_frame(cmd_group_t*);
|
||||
static cmd_ret_t cmd_ports(cmd_group_t*);
|
||||
static cmd_ret_t cmd_idt(cmd_group_t*);
|
||||
static cmd_ret_t cmd_nmi(cmd_group_t*);
|
||||
static cmd_ret_t cmd_gdt(cmd_group_t*);
|
||||
static cmd_ret_t cmd_cpu(cmd_group_t*);
|
||||
static cmd_ret_t cmd_show_lvt(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dump_frame(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dump_ldt(cmd_group_t*);
|
||||
static cmd_ret_t cmd_apic(cmd_group_t*);
|
||||
static cmd_ret_t cmd_dumpvga(cmd_group_t*);
|
||||
71
repos/base-okl4/contrib/generated/x86/ktcb_layout.h
Normal file
71
repos/base-okl4/contrib/generated/x86/ktcb_layout.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* machine-generated file - do NOT edit */
|
||||
#ifndef __KTCB_LAYOUT__H__
|
||||
#define __KTCB_LAYOUT__H__
|
||||
|
||||
//#define BUILD_KTCB_LAYOUT 1
|
||||
#define OFS_ARCH_KTCB_CONTEXT 0x00 /* 0 */
|
||||
#define OFS_ARCH_KTCB_EXCEPTION_CONTINUATION 0x4c /* 76 */
|
||||
#define OFS_ARCH_KTCB_SYSCALL_CONTINUATION 0x50 /* 80 */
|
||||
#define OFS_ARCH_KTCB_TIMER 0x54 /* 84 */
|
||||
#define OFS_ARCH_KTCB_LDT 0x68 /* 104 */
|
||||
#define OFS_ARCH_KTCB_EXC_CODE 0xb8 /* 184 */
|
||||
|
||||
#endif /* __TCB_LAYOUT__H__ */
|
||||
148
repos/base-okl4/contrib/generated/x86/linker.ld
Normal file
148
repos/base-okl4/contrib/generated/x86/linker.ld
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
ENTRY(_start)
|
||||
BOOTMEM_SIZE = 128K;
|
||||
_start_text_phys = 0x00100000 + 0x200;
|
||||
_start_text = _start_text_phys + 0xF0000000;
|
||||
SECTIONS
|
||||
{
|
||||
.text _start_text : AT (ADDR(.text) - 0xF0000000)
|
||||
{
|
||||
*(.mb_header)
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.gnu.linkonce.*)
|
||||
*(.spinlock)
|
||||
}
|
||||
.rodata . : AT (ADDR(.rodata) - 0xF0000000)
|
||||
{
|
||||
*(.rodata*)
|
||||
}
|
||||
.roinit : AT(ADDR(.roinit) - 0xF0000000)
|
||||
{
|
||||
*(.roinit*)
|
||||
}
|
||||
. = ALIGN(4K);
|
||||
_start_cpu_local = .;
|
||||
.cpulocal . : AT (ADDR(.cpulocal) - 0xF0000000)
|
||||
{
|
||||
*(.data.cpulocal.tcb)
|
||||
*(.data.cpulocal.utcb)
|
||||
*(.data.cpulocal)
|
||||
*(.data.ia32.cpulocal)
|
||||
}
|
||||
_end_cpu_local = .;
|
||||
. = ALIGN(4K);
|
||||
.data . : AT (ADDR(.data) - 0xF0000000)
|
||||
{
|
||||
*(.data)
|
||||
*(.data.ia32.idt);
|
||||
*(.data.ia32.exc_all);
|
||||
*(.data.ia32.exc_common);
|
||||
*(.data.*)
|
||||
_bss_start = .;
|
||||
*(.bss)
|
||||
_bss_end = .;
|
||||
}
|
||||
. = ALIGN(4K);
|
||||
.kdebug . : AT(ADDR(.kdebug) - 0xF0000000)
|
||||
{
|
||||
*(.kdebug)
|
||||
*(.kdebug-bss)
|
||||
*(.kdebug.*)
|
||||
}
|
||||
.sets . : AT(ADDR(.sets) - 0xF0000000)
|
||||
{
|
||||
. = ALIGN(16);
|
||||
_start_setlist = .;
|
||||
*(.setlist)
|
||||
_end_setlist = .;
|
||||
. = ALIGN(16);
|
||||
_start_sets = .;
|
||||
*(SORT(set_*))
|
||||
_end_sets = .;
|
||||
}
|
||||
_end_text = ALIGN(4K);
|
||||
_end_text_phys = _end_text - 0xF0000000;
|
||||
. = ALIGN(4K);
|
||||
.reserve_bootmem : AT(ADDR(.reserve_bootmem) - 0xF0000000)
|
||||
{
|
||||
*(.reserve_bootmem)
|
||||
}
|
||||
_start_init = . - 0xF0000000;
|
||||
.init (. - 0xF0000000) :
|
||||
{
|
||||
*(.init)
|
||||
*(.init.data)
|
||||
*(.init.smp)
|
||||
*(.init.*)
|
||||
}
|
||||
_end_init = .;
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(*)
|
||||
*(.eh_frame)
|
||||
*(.note)
|
||||
*(.comment)
|
||||
*(.delete)
|
||||
}
|
||||
_end_text_phys = _end_text - 0xF0000000;
|
||||
_start_bootmem_phys = _start_bootmem - 0xF0000000;
|
||||
_end_bootmem_phys = _end_bootmem - 0xF0000000;
|
||||
}
|
||||
401
repos/base-okl4/contrib/generated/x86/macro_sets.cc
Normal file
401
repos/base-okl4/contrib/generated/x86/macro_sets.cc
Normal file
@@ -0,0 +1,401 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* machine-generated file - do NOT edit */
|
||||
/* Types? Where we're going we don't need types... */
|
||||
|
||||
#include <l4.h>
|
||||
|
||||
/* Begin Macro Set __kdb_group_config */
|
||||
/* externs for macro set: __kdb_group_config */
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd__help;
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd_mode_switch;
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd_tid_format;
|
||||
extern word_t __setentry___kdb_group_config___kdb_config_cmd_wordsize;
|
||||
/* set array for macro set: __kdb_group_config */
|
||||
word_t * __macro_set___kdb_group_config_array[] = {
|
||||
&__setentry___kdb_group_config___kdb_config_cmd__abort,
|
||||
&__setentry___kdb_group_config___kdb_config_cmd__help,
|
||||
&__setentry___kdb_group_config___kdb_config_cmd__prior,
|
||||
&__setentry___kdb_group_config___kdb_config_cmd_mode_switch,
|
||||
&__setentry___kdb_group_config___kdb_config_cmd_tid_format,
|
||||
&__setentry___kdb_group_config___kdb_config_cmd_wordsize,
|
||||
NULL }; /* end set array for __kdb_group_config */
|
||||
|
||||
/* set count for macro set: __kdb_group_config */
|
||||
word_t __macro_set___kdb_group_config_count = (sizeof(__macro_set___kdb_group_config_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_config */
|
||||
|
||||
|
||||
/* Begin Macro Set __kmem_groups */
|
||||
/* externs for macro set: __kmem_groups */
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_clist;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_clistids;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_ll;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_misc;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_mutex;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_mutexids;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_pgtab;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_resources;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_root_clist;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_space;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_spaceids;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_stack;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_tcb;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_trace;
|
||||
extern word_t __setentry___kmem_groups___kmem_group_kmem_utcb;
|
||||
/* set array for macro set: __kmem_groups */
|
||||
word_t * __macro_set___kmem_groups_array[] = {
|
||||
&__setentry___kmem_groups___kmem_group_kmem_clist,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_clistids,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_ll,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_misc,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_mutex,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_mutexids,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_pgtab,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_resources,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_root_clist,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_space,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_spaceids,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_stack,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_tcb,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_trace,
|
||||
&__setentry___kmem_groups___kmem_group_kmem_utcb,
|
||||
NULL }; /* end set array for __kmem_groups */
|
||||
|
||||
/* set count for macro set: __kmem_groups */
|
||||
word_t __macro_set___kmem_groups_count = (sizeof(__macro_set___kmem_groups_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kmem_groups */
|
||||
|
||||
|
||||
/* Begin Macro Set __kdb_group_arch */
|
||||
/* externs for macro set: __kdb_group_arch */
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd__help;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_apic;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_branchstep;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_breakpoint;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_cpu;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_dump_ldt;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_dump_msrs;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_dumpvga;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_gdt;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_idt;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_nmi;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_ports;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_show_ctrlregs;
|
||||
extern word_t __setentry___kdb_group_arch___kdb_arch_cmd_singlestep;
|
||||
/* set array for macro set: __kdb_group_arch */
|
||||
word_t * __macro_set___kdb_group_arch_array[] = {
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd__abort,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd__help,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd__prior,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_apic,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_branchstep,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_breakpoint,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_cpu,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_dump_ldt,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_dump_msrs,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_dumpvga,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_gdt,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_idt,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_nmi,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_ports,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_show_ctrlregs,
|
||||
&__setentry___kdb_group_arch___kdb_arch_cmd_singlestep,
|
||||
NULL }; /* end set array for __kdb_group_arch */
|
||||
|
||||
/* set count for macro set: __kdb_group_arch */
|
||||
word_t __macro_set___kdb_group_arch_count = (sizeof(__macro_set___kdb_group_arch_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_arch */
|
||||
|
||||
|
||||
/* Begin Macro Set tracepoint_set */
|
||||
/* externs for macro set: tracepoint_set */
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_DEADLOCK_DETECTED;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_EXCEPTION_IPC;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_FPAGE_MAP;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_FPAGE_OVERMAP;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_FPAGE_READ;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_FPAGE_UNMAP;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_IA32_GP;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_IA32_NOMATH;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_IA32_SEGRELOAD;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_IA32_UD;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_INTERRUPT;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_IPC_TRANSFER;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_KMEM_ALLOC;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_KMEM_FREE;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_PAGEFAULT_KERNEL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_PAGEFAULT_USER;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_PREEMPTION_FAULT;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_PREEMPTION_SIGNALED;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_CACHE_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_CAP_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_EXCHANGE_REGISTERS;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_INTERRUPT_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_IPC;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_MAP_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_MEMORY_COPY;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_MUTEX;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_MUTEX_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_PLATFORM_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_SCHEDULE;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_SECURITY_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_SPACE_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_SPACE_SWITCH;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_THREAD_CONTROL;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_SYSCALL_THREAD_SWITCH;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_TIMESLICE_EXPIRED;
|
||||
extern word_t __setentry_tracepoint_set___tracepoint_UNWIND;
|
||||
/* set array for macro set: tracepoint_set */
|
||||
word_t * __macro_set_tracepoint_set_array[] = {
|
||||
&__setentry_tracepoint_set___tracepoint_DEADLOCK_DETECTED,
|
||||
&__setentry_tracepoint_set___tracepoint_EXCEPTION_IPC,
|
||||
&__setentry_tracepoint_set___tracepoint_FPAGE_MAP,
|
||||
&__setentry_tracepoint_set___tracepoint_FPAGE_OVERMAP,
|
||||
&__setentry_tracepoint_set___tracepoint_FPAGE_READ,
|
||||
&__setentry_tracepoint_set___tracepoint_FPAGE_UNMAP,
|
||||
&__setentry_tracepoint_set___tracepoint_IA32_GP,
|
||||
&__setentry_tracepoint_set___tracepoint_IA32_NOMATH,
|
||||
&__setentry_tracepoint_set___tracepoint_IA32_SEGRELOAD,
|
||||
&__setentry_tracepoint_set___tracepoint_IA32_UD,
|
||||
&__setentry_tracepoint_set___tracepoint_INTERRUPT,
|
||||
&__setentry_tracepoint_set___tracepoint_IPC_TRANSFER,
|
||||
&__setentry_tracepoint_set___tracepoint_KMEM_ALLOC,
|
||||
&__setentry_tracepoint_set___tracepoint_KMEM_FREE,
|
||||
&__setentry_tracepoint_set___tracepoint_PAGEFAULT_KERNEL,
|
||||
&__setentry_tracepoint_set___tracepoint_PAGEFAULT_USER,
|
||||
&__setentry_tracepoint_set___tracepoint_PREEMPTION_FAULT,
|
||||
&__setentry_tracepoint_set___tracepoint_PREEMPTION_SIGNALED,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_CACHE_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_CAP_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_EXCHANGE_REGISTERS,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_INTERRUPT_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_IPC,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_MAP_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_MEMORY_COPY,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_MUTEX,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_MUTEX_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_PLATFORM_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_SCHEDULE,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_SECURITY_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_SPACE_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_SPACE_SWITCH,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_THREAD_CONTROL,
|
||||
&__setentry_tracepoint_set___tracepoint_SYSCALL_THREAD_SWITCH,
|
||||
&__setentry_tracepoint_set___tracepoint_TIMESLICE_EXPIRED,
|
||||
&__setentry_tracepoint_set___tracepoint_UNWIND,
|
||||
NULL }; /* end set array for tracepoint_set */
|
||||
|
||||
/* set count for macro set: tracepoint_set */
|
||||
word_t __macro_set_tracepoint_set_count = (sizeof(__macro_set_tracepoint_set_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set tracepoint_set */
|
||||
|
||||
|
||||
/* Begin Macro Set __kdb_group_statistics */
|
||||
/* externs for macro set: __kdb_group_statistics */
|
||||
extern word_t __setentry___kdb_group_statistics___kdb_statistics_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_statistics___kdb_statistics_cmd__help;
|
||||
extern word_t __setentry___kdb_group_statistics___kdb_statistics_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_statistics___kdb_statistics_cmd_kmem_stats;
|
||||
/* set array for macro set: __kdb_group_statistics */
|
||||
word_t * __macro_set___kdb_group_statistics_array[] = {
|
||||
&__setentry___kdb_group_statistics___kdb_statistics_cmd__abort,
|
||||
&__setentry___kdb_group_statistics___kdb_statistics_cmd__help,
|
||||
&__setentry___kdb_group_statistics___kdb_statistics_cmd__prior,
|
||||
&__setentry___kdb_group_statistics___kdb_statistics_cmd_kmem_stats,
|
||||
NULL }; /* end set array for __kdb_group_statistics */
|
||||
|
||||
/* set count for macro set: __kdb_group_statistics */
|
||||
word_t __macro_set___kdb_group_statistics_count = (sizeof(__macro_set___kdb_group_statistics_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_statistics */
|
||||
|
||||
|
||||
/* Begin Macro Set kdb_initfuncs */
|
||||
/* externs for macro set: kdb_initfuncs */
|
||||
/* set array for macro set: kdb_initfuncs */
|
||||
word_t * __macro_set_kdb_initfuncs_array[] = {
|
||||
NULL }; /* end set array for kdb_initfuncs */
|
||||
|
||||
/* set count for macro set: kdb_initfuncs */
|
||||
word_t __macro_set_kdb_initfuncs_count = (sizeof(__macro_set_kdb_initfuncs_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set kdb_initfuncs */
|
||||
|
||||
|
||||
/* Begin Macro Set __kdb_group_root */
|
||||
/* externs for macro set: __kdb_group_root */
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd__help;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_arch;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_config;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_dump_current_frame;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_dump_frame;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_dump_ptab;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_go;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_list_clists;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_list_spaces;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_memdump;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_memdump_phys;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_memdump_remote;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_reboot;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_reset;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_clist;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_dep_graph;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_mutexes;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_ready;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_space;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_tcb;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_show_tcbext;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_statistics;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_tracebuffer;
|
||||
extern word_t __setentry___kdb_group_root___kdb_root_cmd_tracepoints;
|
||||
/* set array for macro set: __kdb_group_root */
|
||||
word_t * __macro_set___kdb_group_root_array[] = {
|
||||
&__setentry___kdb_group_root___kdb_root_cmd__abort,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd__help,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd__prior,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_arch,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_config,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_dump_current_frame,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_dump_frame,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_dump_ptab,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_go,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_list_clists,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_list_spaces,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_memdump,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_memdump_phys,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_memdump_remote,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_reboot,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_reset,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_clist,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_dep_graph,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_mutexes,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_ready,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_space,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_tcb,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_show_tcbext,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_statistics,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_tracebuffer,
|
||||
&__setentry___kdb_group_root___kdb_root_cmd_tracepoints,
|
||||
NULL }; /* end set array for __kdb_group_root */
|
||||
|
||||
/* set count for macro set: __kdb_group_root */
|
||||
word_t __macro_set___kdb_group_root_count = (sizeof(__macro_set___kdb_group_root_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_root */
|
||||
|
||||
|
||||
/* Begin Macro Set __kdb_group_tracepoints */
|
||||
/* externs for macro set: __kdb_group_tracepoints */
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__help;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_conf;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_conf_all;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_disable;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_enable;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_list;
|
||||
extern word_t __setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_reset;
|
||||
/* set array for macro set: __kdb_group_tracepoints */
|
||||
word_t * __macro_set___kdb_group_tracepoints_array[] = {
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__abort,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__help,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd__prior,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_conf,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_conf_all,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_disable,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_enable,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_list,
|
||||
&__setentry___kdb_group_tracepoints___kdb_tracepoints_cmd_tp_reset,
|
||||
NULL }; /* end set array for __kdb_group_tracepoints */
|
||||
|
||||
/* set count for macro set: __kdb_group_tracepoints */
|
||||
word_t __macro_set___kdb_group_tracepoints_count = (sizeof(__macro_set___kdb_group_tracepoints_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_tracepoints */
|
||||
|
||||
|
||||
/* Begin Macro Set __kdb_group_tracebuf */
|
||||
/* externs for macro set: __kdb_group_tracebuf */
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__abort;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__help;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__prior;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_dump;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_info;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_logmask;
|
||||
extern word_t __setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_reset;
|
||||
/* set array for macro set: __kdb_group_tracebuf */
|
||||
word_t * __macro_set___kdb_group_tracebuf_array[] = {
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__abort,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__help,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd__prior,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_dump,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_info,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_logmask,
|
||||
&__setentry___kdb_group_tracebuf___kdb_tracebuf_cmd_tb_reset,
|
||||
NULL }; /* end set array for __kdb_group_tracebuf */
|
||||
|
||||
/* set count for macro set: __kdb_group_tracebuf */
|
||||
word_t __macro_set___kdb_group_tracebuf_count = (sizeof(__macro_set___kdb_group_tracebuf_array) / sizeof(word_t*)) - 1;
|
||||
/* End Macro Set __kdb_group_tracebuf */
|
||||
|
||||
|
||||
|
||||
105
repos/base-okl4/contrib/generated/x86/tcb_layout.h
Normal file
105
repos/base-okl4/contrib/generated/x86/tcb_layout.h
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Open Kernel Labs, Inc. (Copyright Holder).
|
||||
* All rights reserved.
|
||||
*
|
||||
* 1. Redistribution and use of OKL4 (Software) in source and binary
|
||||
* forms, with or without modification, are permitted provided that the
|
||||
* following conditions are met:
|
||||
*
|
||||
* (a) Redistributions of source code must retain this clause 1
|
||||
* (including paragraphs (a), (b) and (c)), clause 2 and clause 3
|
||||
* (Licence Terms) and the above copyright notice.
|
||||
*
|
||||
* (b) Redistributions in binary form must reproduce the above
|
||||
* copyright notice and the Licence Terms in the documentation and/or
|
||||
* other materials provided with the distribution.
|
||||
*
|
||||
* (c) Redistributions in any form must be accompanied by information on
|
||||
* how to obtain complete source code for:
|
||||
* (i) the Software; and
|
||||
* (ii) all accompanying software that uses (or is intended to
|
||||
* use) the Software whether directly or indirectly. Such source
|
||||
* code must:
|
||||
* (iii) either be included in the distribution or be available
|
||||
* for no more than the cost of distribution plus a nominal fee;
|
||||
* and
|
||||
* (iv) be licensed by each relevant holder of copyright under
|
||||
* either the Licence Terms (with an appropriate copyright notice)
|
||||
* or the terms of a licence which is approved by the Open Source
|
||||
* Initative. For an executable file, "complete source code"
|
||||
* means the source code for all modules it contains and includes
|
||||
* associated build and other files reasonably required to produce
|
||||
* the executable.
|
||||
*
|
||||
* 2. THIS SOFTWARE IS PROVIDED ``AS IS'' AND, TO THE EXTENT PERMITTED BY
|
||||
* LAW, ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
* PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. WHERE ANY WARRANTY IS
|
||||
* IMPLIED AND IS PREVENTED BY LAW FROM BEING DISCLAIMED THEN TO THE
|
||||
* EXTENT PERMISSIBLE BY LAW: (A) THE WARRANTY IS READ DOWN IN FAVOUR OF
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT) AND (B) ANY LIMITATIONS PERMITTED BY LAW (INCLUDING AS TO
|
||||
* THE EXTENT OF THE WARRANTY AND THE REMEDIES AVAILABLE IN THE EVENT OF
|
||||
* BREACH) ARE DEEMED PART OF THIS LICENCE IN A FORM MOST FAVOURABLE TO
|
||||
* THE COPYRIGHT HOLDER (AND, IN THE CASE OF A PARTICIPANT, THAT
|
||||
* PARTICIPANT). IN THE LICENCE TERMS, "PARTICIPANT" INCLUDES EVERY
|
||||
* PERSON WHO HAS CONTRIBUTED TO THE SOFTWARE OR WHO HAS BEEN INVOLVED IN
|
||||
* THE DISTRIBUTION OR DISSEMINATION OF THE SOFTWARE.
|
||||
*
|
||||
* 3. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY OTHER PARTICIPANT BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* machine-generated file - do NOT edit */
|
||||
#ifndef __TCB_LAYOUT__H__
|
||||
#define __TCB_LAYOUT__H__
|
||||
|
||||
//#define BUILD_TCB_LAYOUT 1
|
||||
#define OFS_TCB_MYSELF_GLOBAL 0x00 /* 0 */
|
||||
#define OFS_TCB_UTCB_LOCATION 0x04 /* 4 */
|
||||
#define OFS_TCB_UTCB 0x08 /* 8 */
|
||||
#define OFS_TCB_SPACE 0x0c /* 12 */
|
||||
#define OFS_TCB_SPACE_ID 0x10 /* 16 */
|
||||
#define OFS_TCB_BASE_SPACE 0x14 /* 20 */
|
||||
#define OFS_TCB_PAGE_DIRECTORY 0x18 /* 24 */
|
||||
#define OFS_TCB_PAGER 0x1c /* 28 */
|
||||
#define OFS_TCB_THREAD_LOCK 0x24 /* 36 */
|
||||
#define OFS_TCB_THREAD_STATE 0x28 /* 40 */
|
||||
#define OFS_TCB_PARTNER 0x2c /* 44 */
|
||||
#define OFS_TCB_END_POINT 0x30 /* 48 */
|
||||
#define OFS_TCB_WAITING_FOR 0x40 /* 64 */
|
||||
#define OFS_TCB_EXCEPTION_HANDLER 0x44 /* 68 */
|
||||
#define OFS_TCB_RESOURCE_BITS 0x4c /* 76 */
|
||||
#define OFS_TCB_CONT 0x50 /* 80 */
|
||||
#define OFS_TCB_PREEMPTION_CONTINUATION 0x54 /* 84 */
|
||||
#define OFS_TCB_ARCH 0x58 /* 88 */
|
||||
#define OFS_TCB_SUSPENDED 0x114 /* 276 */
|
||||
#define OFS_TCB_POST_SYSCALL_CALLBACK 0x118 /* 280 */
|
||||
#define OFS_TCB_READY_LIST 0x11c /* 284 */
|
||||
#define OFS_TCB_BLOCKED_LIST 0x124 /* 292 */
|
||||
#define OFS_TCB_MUTEXES_HEAD 0x12c /* 300 */
|
||||
#define OFS_TCB_PRESENT_LIST 0x130 /* 304 */
|
||||
#define OFS_TCB_BASE_PRIO 0x138 /* 312 */
|
||||
#define OFS_TCB_EFFECTIVE_PRIO 0x13c /* 316 */
|
||||
#define OFS_TCB_TIMESLICE_LENGTH 0x140 /* 320 */
|
||||
#define OFS_TCB_CURRENT_TIMESLICE 0x144 /* 324 */
|
||||
#define OFS_TCB_SCHEDULER 0x148 /* 328 */
|
||||
#define OFS_TCB_SAVED_PARTNER 0x150 /* 336 */
|
||||
#define OFS_TCB_SAVED_STATE 0x154 /* 340 */
|
||||
#define OFS_TCB_RESOURCES 0x158 /* 344 */
|
||||
#define OFS_TCB_THREAD_LIST 0x15c /* 348 */
|
||||
#define OFS_TCB_DEBUG_NAME 0x164 /* 356 */
|
||||
#define OFS_TCB_SAVED_SENT_FROM 0x174 /* 372 */
|
||||
#define OFS_TCB_SYS_DATA 0x178 /* 376 */
|
||||
#define OFS_TCB_TCB_IDX 0x1b0 /* 432 */
|
||||
#define OFS_TCB_MASTER_CAP 0x1b4 /* 436 */
|
||||
#define OFS_TCB_SENT_FROM 0x1b8 /* 440 */
|
||||
#define OFS_TCB_IRQ_STACK 0x1bc /* 444 */
|
||||
|
||||
#endif /* __TCB_LAYOUT__H__ */
|
||||
Reference in New Issue
Block a user