1997-04-22 06:55:47 +00:00
|
|
|
/*-
|
|
|
|
* Copyright (c) 1997 John D. Polstra
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS 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.
|
|
|
|
*
|
1999-07-20 06:52:35 +00:00
|
|
|
* $Id: asnames.h,v 1.36 1999/07/10 15:27:56 bde Exp $
|
1997-04-22 06:55:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MACHINE_ASNAMES_H_
|
|
|
|
#define _MACHINE_ASNAMES_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is used by the kernel assembly language sources to provide
|
|
|
|
* the proper mapping between the global names used in assembly language
|
|
|
|
* code and the corresponding C symbols. By convention, all C symbols
|
|
|
|
* that are referenced from assembly language are prefixed with `_'.
|
|
|
|
* That happens to be the same prefix that the a.out compiler attaches
|
|
|
|
* to each C symbol.
|
|
|
|
*
|
|
|
|
* When using the ELF compiler, C symbols are identical to the corresponding
|
|
|
|
* assembly language symbols. Thus the extra underscores cause problems.
|
|
|
|
* The defines in this file map the underscore names back to the proper
|
|
|
|
* unadorned names.
|
|
|
|
*
|
|
|
|
* Every global symbol that is referenced from both C source and assembly
|
|
|
|
* language source must have an entry in this file, or the kernel will
|
|
|
|
* not build properly using the ELF compiler.
|
|
|
|
*
|
|
|
|
* This file is included by <machine/asmacros.h>, and it is OK to rely
|
|
|
|
* on that.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __ELF__
|
|
|
|
|
|
|
|
#define _APTD APTD
|
|
|
|
#define _APTDpde APTDpde
|
|
|
|
#define _APTmap APTmap
|
|
|
|
#define _CONST_QNaN CONST_QNaN
|
|
|
|
#define _IdlePTD IdlePTD
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _KPTphys KPTphys
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _MP_GDT MP_GDT
|
|
|
|
#define _MPgetlock MPgetlock
|
|
|
|
#define _MPrellock MPrellock
|
|
|
|
#define _MPtrylock MPtrylock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _PTD PTD
|
|
|
|
#define _PTDpde PTDpde
|
|
|
|
#define _PTmap PTmap
|
1999-04-28 01:04:33 +00:00
|
|
|
#define _SMP_prvspace SMP_prvspace
|
|
|
|
#define _SMPpt SMPpt
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xalign Xalign
|
|
|
|
#define _Xbnd Xbnd
|
|
|
|
#define _Xbpt Xbpt
|
1997-12-18 02:09:29 +00:00
|
|
|
#define _Xcpuast Xcpuast
|
1998-01-26 04:44:32 +00:00
|
|
|
#define _Xcpucheckstate Xcpucheckstate
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _Xcpustop Xcpustop
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xdbg Xdbg
|
|
|
|
#define _Xdiv Xdiv
|
|
|
|
#define _Xdna Xdna
|
|
|
|
#define _Xfastintr0 Xfastintr0
|
|
|
|
#define _Xfastintr1 Xfastintr1
|
|
|
|
#define _Xfastintr10 Xfastintr10
|
|
|
|
#define _Xfastintr11 Xfastintr11
|
|
|
|
#define _Xfastintr12 Xfastintr12
|
|
|
|
#define _Xfastintr13 Xfastintr13
|
|
|
|
#define _Xfastintr14 Xfastintr14
|
|
|
|
#define _Xfastintr15 Xfastintr15
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _Xfastintr16 Xfastintr16
|
|
|
|
#define _Xfastintr17 Xfastintr17
|
|
|
|
#define _Xfastintr18 Xfastintr18
|
|
|
|
#define _Xfastintr19 Xfastintr19
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xfastintr2 Xfastintr2
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _Xfastintr20 Xfastintr20
|
|
|
|
#define _Xfastintr21 Xfastintr21
|
|
|
|
#define _Xfastintr22 Xfastintr22
|
|
|
|
#define _Xfastintr23 Xfastintr23
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xfastintr3 Xfastintr3
|
|
|
|
#define _Xfastintr4 Xfastintr4
|
|
|
|
#define _Xfastintr5 Xfastintr5
|
|
|
|
#define _Xfastintr6 Xfastintr6
|
|
|
|
#define _Xfastintr7 Xfastintr7
|
|
|
|
#define _Xfastintr8 Xfastintr8
|
|
|
|
#define _Xfastintr9 Xfastintr9
|
1998-03-04 09:55:13 +00:00
|
|
|
#define _Xforward_irq Xforward_irq
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xfpu Xfpu
|
|
|
|
#define _Xfpusegm Xfpusegm
|
|
|
|
#define _Xill Xill
|
|
|
|
#define _Xint0x80_syscall Xint0x80_syscall
|
|
|
|
#define _Xintr0 Xintr0
|
|
|
|
#define _Xintr1 Xintr1
|
|
|
|
#define _Xintr10 Xintr10
|
|
|
|
#define _Xintr11 Xintr11
|
|
|
|
#define _Xintr12 Xintr12
|
|
|
|
#define _Xintr13 Xintr13
|
|
|
|
#define _Xintr14 Xintr14
|
|
|
|
#define _Xintr15 Xintr15
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _Xintr16 Xintr16
|
|
|
|
#define _Xintr17 Xintr17
|
|
|
|
#define _Xintr18 Xintr18
|
|
|
|
#define _Xintr19 Xintr19
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xintr2 Xintr2
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _Xintr20 Xintr20
|
|
|
|
#define _Xintr21 Xintr21
|
|
|
|
#define _Xintr22 Xintr22
|
|
|
|
#define _Xintr23 Xintr23
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xintr3 Xintr3
|
|
|
|
#define _Xintr4 Xintr4
|
|
|
|
#define _Xintr5 Xintr5
|
|
|
|
#define _Xintr6 Xintr6
|
|
|
|
#define _Xintr7 Xintr7
|
|
|
|
#define _Xintr8 Xintr8
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _Xintr8254 Xintr8254
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xintr9 Xintr9
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _XintrRTC XintrRTC
|
|
|
|
#define _Xinvltlb Xinvltlb
|
1999-07-20 06:52:35 +00:00
|
|
|
#define _Xrendezvous Xrendezvous
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xmchk Xmchk
|
|
|
|
#define _Xmissing Xmissing
|
|
|
|
#define _Xnmi Xnmi
|
|
|
|
#define _Xofl Xofl
|
|
|
|
#define _Xpage Xpage
|
|
|
|
#define _Xprot Xprot
|
|
|
|
#define _Xrsvd Xrsvd
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _Xspuriousint Xspuriousint
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _Xstk Xstk
|
|
|
|
#define _Xsyscall Xsyscall
|
|
|
|
#define _Xtss Xtss
|
|
|
|
#define __default_ldt _default_ldt
|
|
|
|
#define __ucodesel _ucodesel
|
|
|
|
#define __udatasel _udatasel
|
|
|
|
#define _alltraps alltraps
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _ap_init ap_init
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _apic_base apic_base
|
|
|
|
#define _apic_id_to_logical apic_id_to_logical
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _apic_imen apic_imen
|
1998-03-04 09:55:13 +00:00
|
|
|
#define _apic_isrbit_location apic_isrbit_location
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _apic_pin_trigger apic_pin_trigger
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _apm_addr apm_addr
|
|
|
|
#define _apm_bios_call apm_bios_call
|
|
|
|
#define _apm_cs16_base apm_cs16_base
|
1998-10-03 17:23:25 +00:00
|
|
|
#define _apm_cs16_limit apm_cs16_limit
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _apm_cs32_base apm_cs32_base
|
1998-10-03 17:23:25 +00:00
|
|
|
#define _apm_cs32_limit apm_cs32_limit
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _apm_cs_entry apm_cs_entry
|
|
|
|
#define _apm_cs_limit apm_cs_limit
|
|
|
|
#define _apm_current_gdt_pdesc apm_current_gdt_pdesc
|
|
|
|
#define _apm_ds_base apm_ds_base
|
|
|
|
#define _apm_ds_limit apm_ds_limit
|
|
|
|
#define _apm_flags apm_flags
|
|
|
|
#define _apm_init_image apm_init_image
|
|
|
|
#define _apm_init_image_size apm_init_image_size
|
|
|
|
#define _apm_setup apm_setup
|
|
|
|
#define _apm_version apm_version
|
|
|
|
#define _arith_invalid arith_invalid
|
|
|
|
#define _arith_overflow arith_overflow
|
|
|
|
#define _arith_underflow arith_underflow
|
1999-07-10 15:28:01 +00:00
|
|
|
#define _astpending astpending
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _bcopy bcopy
|
|
|
|
#define _bcopy_vector bcopy_vector
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _bigJump bigJump
|
1999-05-06 09:44:57 +00:00
|
|
|
#define _bintr bintr
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _bio_imask bio_imask
|
|
|
|
#define _bluetrap bluetrap
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _bootCodeSeg bootCodeSeg
|
|
|
|
#define _bootDataSeg bootDataSeg
|
|
|
|
#define _bootMP bootMP
|
|
|
|
#define _bootMP_size bootMP_size
|
1999-04-28 01:04:33 +00:00
|
|
|
#define _bootSTK bootSTK
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _boot_get_mplock boot_get_mplock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _bootdev bootdev
|
|
|
|
#define _boothowto boothowto
|
|
|
|
#define _bootinfo bootinfo
|
|
|
|
#define _bootstrap_gdt bootstrap_gdt
|
1999-05-06 09:44:57 +00:00
|
|
|
#define _btrap btrap
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _bzero bzero
|
1997-09-29 02:17:42 +00:00
|
|
|
#define _cam_imask cam_imask
|
1998-01-26 04:44:32 +00:00
|
|
|
#define _checkstate_cpus checkstate_cpus
|
|
|
|
#define _checkstate_cpustate checkstate_cpustate
|
|
|
|
#define _checkstate_curproc checkstate_curproc
|
|
|
|
#define _checkstate_need_ast checkstate_need_ast
|
|
|
|
#define _checkstate_pc checkstate_pc
|
|
|
|
#define _checkstate_pending_ast checkstate_pending_ast
|
1997-12-18 02:09:29 +00:00
|
|
|
#define _checkstate_probed_cpus checkstate_probed_cpus
|
1997-09-05 08:47:24 +00:00
|
|
|
#define _clock_lock clock_lock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _cnt cnt
|
|
|
|
#define _copyin_vector copyin_vector
|
|
|
|
#define _copyout_vector copyout_vector
|
|
|
|
#define _cpl cpl
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _cpl_lock cpl_lock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _cpu cpu
|
1997-06-22 16:04:22 +00:00
|
|
|
#define _cpu0prvpage cpu0prvpage
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _cpu_apic_versions cpu_apic_versions
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _cpu_class cpu_class
|
|
|
|
#define _cpu_feature cpu_feature
|
|
|
|
#define _cpu_high cpu_high
|
|
|
|
#define _cpu_id cpu_id
|
1998-03-04 09:55:13 +00:00
|
|
|
#define _cpu_num_to_apic_id cpu_num_to_apic_id
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _cpu_switch cpu_switch
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _cpu_vendor cpu_vendor
|
|
|
|
#define _cypoll cypoll
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _default_halt default_halt
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _denormal_operand denormal_operand
|
|
|
|
#define _div_small div_small
|
|
|
|
#define _divide_by_zero divide_by_zero
|
|
|
|
#define _divide_kernel divide_kernel
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _do_page_zero_idle do_page_zero_idle
|
1999-05-06 09:44:57 +00:00
|
|
|
#define _doreti doreti
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _edata edata
|
|
|
|
#define _eintrcnt eintrcnt
|
|
|
|
#define _eintrnames eintrnames
|
|
|
|
#define _end end
|
|
|
|
#define _etext etext
|
|
|
|
#define _exception exception
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _fast_intr_lock fast_intr_lock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _fastmove fastmove
|
1997-09-13 16:00:30 +00:00
|
|
|
#define _gdt gdt
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _generic_bcopy generic_bcopy
|
|
|
|
#define _generic_bzero generic_bzero
|
|
|
|
#define _generic_copyin generic_copyin
|
|
|
|
#define _generic_copyout generic_copyout
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _get_align_lock get_align_lock
|
|
|
|
#define _get_altsyscall_lock get_altsyscall_lock
|
|
|
|
#define _get_fpu_lock get_fpu_lock
|
1997-12-18 02:09:29 +00:00
|
|
|
#define _get_isrlock get_isrlock
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _get_mplock get_mplock
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _get_syscall_lock get_syscall_lock
|
1999-04-28 01:04:33 +00:00
|
|
|
#define _getmicrouptime getmicrouptime
|
1999-05-06 09:44:57 +00:00
|
|
|
#define _idle idle
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _idqs idqs
|
1998-08-11 15:08:13 +00:00
|
|
|
#define _ihandlers ihandlers
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _imen imen
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _imen_lock imen_lock
|
1998-04-06 15:33:02 +00:00
|
|
|
#define _in_vm86call in_vm86call
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _init386 init386
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _init_secondary init_secondary
|
1998-04-06 15:33:02 +00:00
|
|
|
#define _initial_bioscalls initial_bioscalls
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _intr_countp intr_countp
|
|
|
|
#define _intr_handler intr_handler
|
|
|
|
#define _intr_mask intr_mask
|
|
|
|
#define _intr_nesting_level intr_nesting_level
|
|
|
|
#define _intr_unit intr_unit
|
|
|
|
#define _intrcnt intrcnt
|
|
|
|
#define _intrnames intrnames
|
1998-03-04 09:55:13 +00:00
|
|
|
#define _invltlb_ok invltlb_ok
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _ioapic ioapic
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _ipending ipending
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _isr_lock isr_lock
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _ivectors ivectors
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _kernelname kernelname
|
|
|
|
#define _kstack kstack
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _lapic lapic
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _linux_sigcode linux_sigcode
|
|
|
|
#define _linux_szsigcode linux_szsigcode
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _mask8254 mask8254
|
|
|
|
#define _maskRTC maskRTC
|
1999-05-09 19:01:49 +00:00
|
|
|
#define _mi_startup mi_startup
|
1998-05-17 11:53:46 +00:00
|
|
|
#define _microuptime microuptime
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _mp_gdtbase mp_gdtbase
|
|
|
|
#define _mp_lock mp_lock
|
|
|
|
#define _mp_ncpus mp_ncpus
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _mul64 mul64
|
|
|
|
#define _net_imask net_imask
|
|
|
|
#define _netisr netisr
|
|
|
|
#define _netisrs netisrs
|
|
|
|
#define _nfs_diskless nfs_diskless
|
|
|
|
#define _nfs_diskless_valid nfs_diskless_valid
|
|
|
|
#define _normalize normalize
|
|
|
|
#define _normalize_nuo normalize_nuo
|
|
|
|
#define _npx_intrs_while_probing npx_intrs_while_probing
|
|
|
|
#define _npx_traps_while_probing npx_traps_while_probing
|
1999-04-16 21:22:55 +00:00
|
|
|
#define _npx_intr npx_intr
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _npxsave npxsave
|
|
|
|
#define _ovbcopy_vector ovbcopy_vector
|
|
|
|
#define _panic panic
|
1999-02-06 08:41:06 +00:00
|
|
|
#define _pc98_system_parameter pc98_system_parameter
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _poly_div16 poly_div16
|
|
|
|
#define _poly_div2 poly_div2
|
|
|
|
#define _poly_div4 poly_div4
|
|
|
|
#define _polynomial polynomial
|
1997-09-13 16:00:30 +00:00
|
|
|
#define _private_tss private_tss
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _probeintr probeintr
|
|
|
|
#define _probetrap probetrap
|
1998-04-06 15:33:02 +00:00
|
|
|
#define _proc0 proc0
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _proc0paddr proc0paddr
|
|
|
|
#define _qs qs
|
|
|
|
#define _rcpoll rcpoll
|
|
|
|
#define _real_2op_NaN real_2op_NaN
|
|
|
|
#define _reg_div reg_div
|
|
|
|
#define _reg_u_add reg_u_add
|
|
|
|
#define _reg_u_div reg_u_div
|
|
|
|
#define _reg_u_mul reg_u_mul
|
|
|
|
#define _reg_u_sub reg_u_sub
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _rel_mplock rel_mplock
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _round_reg round_reg
|
|
|
|
#define _rtqs rtqs
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _s_lock s_lock
|
|
|
|
#define _s_unlock s_unlock
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _secondary_main secondary_main
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _set_precision_flag_down set_precision_flag_down
|
|
|
|
#define _set_precision_flag_up set_precision_flag_up
|
|
|
|
#define _set_user_ldt set_user_ldt
|
|
|
|
#define _shrx shrx
|
|
|
|
#define _shrxs shrxs
|
|
|
|
#define _sigcode sigcode
|
|
|
|
#define _siopoll siopoll
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _smp_active smp_active
|
1997-09-13 16:00:30 +00:00
|
|
|
#define _soft_imask soft_imask
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _softclock softclock
|
1997-09-13 16:00:30 +00:00
|
|
|
#define _softnet_imask softnet_imask
|
|
|
|
#define _softtty_imask softtty_imask
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _spl0 spl0
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _splz splz
|
1997-08-30 11:20:02 +00:00
|
|
|
#define _ss_lock ss_lock
|
|
|
|
#define _ss_unlock ss_unlock
|
|
|
|
#define _started_cpus started_cpus
|
|
|
|
#define _stopped_cpus stopped_cpus
|
1999-02-06 08:41:06 +00:00
|
|
|
#define _svr4_sigcode svr4_sigcode
|
|
|
|
#define _svr4_sys_context svr4_sys_context
|
|
|
|
#define _svr4_szsigcode svr4_szsigcode
|
1998-09-19 17:16:48 +00:00
|
|
|
#define _swi_dispatcher swi_dispatcher
|
1998-08-11 15:08:13 +00:00
|
|
|
#define _swi_generic swi_generic
|
|
|
|
#define _swi_null swi_null
|
1998-01-26 04:41:23 +00:00
|
|
|
#define _swi_vm swi_vm
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _syscall syscall
|
|
|
|
#define _szsigcode szsigcode
|
1999-02-25 12:53:34 +00:00
|
|
|
#define _ticks ticks
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _time time
|
|
|
|
#define _timer0_max_count timer0_max_count
|
|
|
|
#define _timer0_overflow_threshold timer0_overflow_threshold
|
|
|
|
#define _timer0_prescaler_count timer0_prescaler_count
|
|
|
|
#define _trap trap
|
|
|
|
#define _trap_by_wrmsr trap_by_wrmsr
|
|
|
|
#define _trapwrite trapwrite
|
1997-12-28 13:36:09 +00:00
|
|
|
#define _tsc_bias tsc_bias
|
|
|
|
#define _tsc_freq tsc_freq
|
|
|
|
#define _tsc_multiplier tsc_multiplier
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _tty_imask tty_imask
|
|
|
|
#define _userconfig_from_boot userconfig_from_boot
|
1997-05-25 16:58:03 +00:00
|
|
|
#define _vec vec
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _vec8254 vec8254
|
|
|
|
#define _vecRTC vecRTC
|
1998-04-06 15:33:02 +00:00
|
|
|
#define _vm86_emulate vm86_emulate
|
|
|
|
#define _vm86_prepcall vm86_prepcall
|
|
|
|
#define _vm86_sysarch vm86_sysarch
|
|
|
|
#define _vm86_trap vm86_trap
|
1998-04-22 09:46:16 +00:00
|
|
|
#define _vm86pa vm86pa
|
|
|
|
#define _vm86paddr vm86paddr
|
|
|
|
#define _vm86pcb vm86pcb
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _vm_page_zero_idle vm_page_zero_idle
|
|
|
|
#define _want_resched want_resched
|
1997-05-21 22:56:59 +00:00
|
|
|
#define _whichidqs whichidqs
|
|
|
|
#define _whichqs whichqs
|
|
|
|
#define _whichrtqs whichrtqs
|
1997-04-22 06:55:47 +00:00
|
|
|
#define _wm_sqrt wm_sqrt
|
|
|
|
|
|
|
|
#endif /* __ELF__ */
|
|
|
|
|
1999-04-28 01:04:33 +00:00
|
|
|
#if defined(SMP) || defined(__ELF__)
|
|
|
|
#ifdef SMP
|
|
|
|
#define FS(x) %fs:gd_ ## x
|
|
|
|
#else
|
|
|
|
#define FS(x) x
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define _common_tss FS(common_tss)
|
|
|
|
#define _common_tssd FS(common_tssd)
|
|
|
|
#define _cpuid FS(cpuid)
|
|
|
|
#define _cpu_lockid FS(cpu_lockid)
|
|
|
|
#define _curpcb FS(curpcb)
|
|
|
|
#define _curproc FS(curproc)
|
|
|
|
#define _currentldt FS(currentldt)
|
|
|
|
#define _inside_intr FS(inside_intr)
|
|
|
|
#define _npxproc FS(npxproc)
|
|
|
|
#define _other_cpus FS(other_cpus)
|
|
|
|
#define _prv_CADDR1 FS(prv_CADDR1)
|
|
|
|
#define _prv_CADDR2 FS(prv_CADDR2)
|
|
|
|
#define _prv_CADDR3 FS(prv_CADDR3)
|
|
|
|
#define _prv_CMAP1 FS(prv_CMAP1)
|
|
|
|
#define _prv_CMAP2 FS(prv_CMAP2)
|
|
|
|
#define _prv_CMAP3 FS(prv_CMAP3)
|
|
|
|
#define _prv_PADDR1 FS(prv_PADDR1)
|
|
|
|
#define _prv_PMAP1 FS(prv_PMAP1)
|
|
|
|
#define _ss_eflags FS(ss_eflags)
|
|
|
|
#define _switchticks FS(switchticks)
|
|
|
|
#define _switchtime FS(switchtime)
|
1999-05-12 21:39:07 +00:00
|
|
|
#define _tss_gdt FS(tss_gdt)
|
1999-04-28 01:04:33 +00:00
|
|
|
#define _idlestack FS(idlestack)
|
|
|
|
#define _idlestack_top FS(idlestack_top)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
1997-04-22 06:55:47 +00:00
|
|
|
#endif /* !_MACHINE_ASNAMES_H_ */
|