The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/include/asnames.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 1997 John D. Polstra
    3  * All rights reserved.
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted provided that the following conditions
    7  * are met:
    8  * 1. Redistributions of source code must retain the above copyright
    9  *    notice, this list of conditions and the following disclaimer.
   10  * 2. Redistributions in binary form must reproduce the above copyright
   11  *    notice, this list of conditions and the following disclaimer in the
   12  *    documentation and/or other materials provided with the distribution.
   13  *
   14  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   15  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   17  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   18  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   19  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   20  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   21  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   22  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   23  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   24  * SUCH DAMAGE.
   25  *
   26  * $FreeBSD$
   27  */
   28 
   29 #ifndef _MACHINE_ASNAMES_H_
   30 #define _MACHINE_ASNAMES_H_
   31 
   32 /*
   33  * This file is used by the kernel assembly language sources to provide
   34  * the proper mapping between the global names used in assembly language
   35  * code and the corresponding C symbols.  By convention, all C symbols
   36  * that are referenced from assembly language are prefixed with `_'.
   37  * That happens to be the same prefix that the a.out compiler attaches
   38  * to each C symbol.
   39  *
   40  * When using the ELF compiler, C symbols are identical to the corresponding
   41  * assembly language symbols.  Thus the extra underscores cause problems.
   42  * The defines in this file map the underscore names back to the proper
   43  * unadorned names.
   44  *
   45  * Every global symbol that is referenced from both C source and assembly
   46  * language source must have an entry in this file, or the kernel will
   47  * not build properly using the ELF compiler.
   48  *
   49  * This file is included by <machine/asmacros.h>, and it is OK to rely
   50  * on that.
   51  */
   52 
   53 #ifdef __ELF__
   54 
   55 #define _CONST_QNaN                     CONST_QNaN
   56 #define _IdlePDPT                       IdlePDPT
   57 #define _IdlePTD                        IdlePTD
   58 #define _KERNend                        KERNend
   59 #define _KPTphys                        KPTphys
   60 #define _MP_GDT                         MP_GDT
   61 #define _MPgetlock                      MPgetlock
   62 #define _MPgetlock_edx                  MPgetlock_edx
   63 #define _MPrellock                      MPrellock
   64 #define _MPrellock_edx                  MPrellock_edx
   65 #define _MPtrylock                      MPtrylock
   66 #define _PTD                            PTD
   67 #define _PTDpde                         PTDpde
   68 #define _PTmap                          PTmap
   69 #define _SMP_prvspace                   SMP_prvspace
   70 #define _SMPpt                          SMPpt
   71 #define _Xalign                         Xalign
   72 #define _Xbnd                           Xbnd
   73 #define _Xbpt                           Xbpt
   74 #define _Xcpuast                        Xcpuast
   75 #define _Xcpucheckstate                 Xcpucheckstate
   76 #define _Xcpustop                       Xcpustop
   77 #define _Xdbg                           Xdbg
   78 #define _Xdiv                           Xdiv
   79 #define _Xdna                           Xdna
   80 #define _Xfastintr0                     Xfastintr0
   81 #define _Xfastintr1                     Xfastintr1
   82 #define _Xfastintr10                    Xfastintr10
   83 #define _Xfastintr11                    Xfastintr11
   84 #define _Xfastintr12                    Xfastintr12
   85 #define _Xfastintr13                    Xfastintr13
   86 #define _Xfastintr14                    Xfastintr14
   87 #define _Xfastintr15                    Xfastintr15
   88 #define _Xfastintr16                    Xfastintr16
   89 #define _Xfastintr17                    Xfastintr17
   90 #define _Xfastintr18                    Xfastintr18
   91 #define _Xfastintr19                    Xfastintr19
   92 #define _Xfastintr2                     Xfastintr2
   93 #define _Xfastintr20                    Xfastintr20
   94 #define _Xfastintr21                    Xfastintr21
   95 #define _Xfastintr22                    Xfastintr22
   96 #define _Xfastintr23                    Xfastintr23
   97 #define _Xfastintr3                     Xfastintr3
   98 #define _Xfastintr4                     Xfastintr4
   99 #define _Xfastintr5                     Xfastintr5
  100 #define _Xfastintr6                     Xfastintr6
  101 #define _Xfastintr7                     Xfastintr7
  102 #define _Xfastintr8                     Xfastintr8
  103 #define _Xfastintr9                     Xfastintr9
  104 #define _Xforward_irq                   Xforward_irq
  105 #define _Xfpu                           Xfpu
  106 #define _Xfpusegm                       Xfpusegm
  107 #define _Xill                           Xill
  108 #define _Xint0x80_syscall               Xint0x80_syscall
  109 #define _Xintr0                         Xintr0
  110 #define _Xintr1                         Xintr1
  111 #define _Xintr10                        Xintr10
  112 #define _Xintr11                        Xintr11
  113 #define _Xintr12                        Xintr12
  114 #define _Xintr13                        Xintr13
  115 #define _Xintr14                        Xintr14
  116 #define _Xintr15                        Xintr15
  117 #define _Xintr16                        Xintr16
  118 #define _Xintr17                        Xintr17
  119 #define _Xintr18                        Xintr18
  120 #define _Xintr19                        Xintr19
  121 #define _Xintr2                         Xintr2
  122 #define _Xintr20                        Xintr20
  123 #define _Xintr21                        Xintr21
  124 #define _Xintr22                        Xintr22
  125 #define _Xintr23                        Xintr23
  126 #define _Xintr3                         Xintr3
  127 #define _Xintr4                         Xintr4
  128 #define _Xintr5                         Xintr5
  129 #define _Xintr6                         Xintr6
  130 #define _Xintr7                         Xintr7
  131 #define _Xintr8                         Xintr8
  132 #define _Xintr9                         Xintr9
  133 #define _Xinvltlb                       Xinvltlb
  134 #define _Xrendezvous                    Xrendezvous
  135 #define _Xmchk                          Xmchk
  136 #define _Xmissing                       Xmissing
  137 #define _Xnmi                           Xnmi
  138 #define _Xofl                           Xofl
  139 #define _Xpage                          Xpage
  140 #define _Xprot                          Xprot
  141 #define _Xrsvd                          Xrsvd
  142 #define _Xspuriousint                   Xspuriousint
  143 #define _Xstk                           Xstk
  144 #define _Xsyscall                       Xsyscall
  145 #define _Xtss                           Xtss
  146 #define _Xxmm                           Xxmm
  147 #define __default_ldt                   _default_ldt
  148 #define __ucodesel                      _ucodesel
  149 #define __udatasel                      _udatasel
  150 #define _alltraps                       alltraps
  151 #define _ap_init                        ap_init
  152 #define _apic_imen                      apic_imen
  153 #define _apic_isrbit_location           apic_isrbit_location
  154 #define _apic_pin_trigger               apic_pin_trigger
  155 #define _arith_invalid                  arith_invalid
  156 #define _arith_overflow                 arith_overflow
  157 #define _arith_underflow                arith_underflow
  158 #define _bcopy                          bcopy
  159 #define _bcopy_vector                   bcopy_vector
  160 #define _bigJump                        bigJump
  161 #define _bintr                          bintr
  162 #define _bio_imask                      bio_imask
  163 #define _bioscall_vector                bioscall_vector
  164 #define _bootCodeSeg                    bootCodeSeg
  165 #define _bootDataSeg                    bootDataSeg
  166 #define _bootMP                         bootMP
  167 #define _bootMP_size                    bootMP_size
  168 #define _bootSTK                        bootSTK
  169 #define _boot_get_mplock                boot_get_mplock
  170 #define _bootdev                        bootdev
  171 #define _boothowto                      boothowto
  172 #define _bootinfo                       bootinfo
  173 #define _btrap                          btrap
  174 #define _bzero                          bzero
  175 #define _cam_imask                      cam_imask
  176 #define _checkstate_cpus                checkstate_cpus
  177 #define _checkstate_cpustate            checkstate_cpustate
  178 #define _checkstate_curproc             checkstate_curproc
  179 #define _checkstate_need_ast            checkstate_need_ast
  180 #define _checkstate_pc                  checkstate_pc
  181 #define _checkstate_pending_ast         checkstate_pending_ast
  182 #define _checkstate_probed_cpus         checkstate_probed_cpus
  183 #define _chooseproc                     chooseproc
  184 #define _cnt                            cnt
  185 #define _copyin_vector                  copyin_vector
  186 #define _copyout_vector                 copyout_vector
  187 #define _cpl                            cpl
  188 #define _cpl_lock                       cpl_lock
  189 #define _cpu                            cpu
  190 #define _cpu0prvpage                    cpu0prvpage
  191 #define _cpu_apic_versions              cpu_apic_versions
  192 #define _cpu_class                      cpu_class
  193 #define _cpu_feature                    cpu_feature
  194 #define _cpu_fxsr                       cpu_fxsr
  195 #define _cpu_high                       cpu_high
  196 #define _cpu_procinfo                   cpu_procinfo
  197 #define _cpu_id                         cpu_id
  198 #define _cpu_idle                       cpu_idle
  199 #define _cpu_num_to_apic_id             cpu_num_to_apic_id
  200 #define _cpu_switch                     cpu_switch
  201 #define _cpu_vendor                     cpu_vendor
  202 #define _default_halt                   default_halt
  203 #define _denormal_operand               denormal_operand
  204 #define _div_small                      div_small
  205 #define _divide_by_zero                 divide_by_zero
  206 #define _divide_kernel                  divide_kernel
  207 #define _do_page_zero_idle              do_page_zero_idle
  208 #define _doreti                         doreti
  209 #define _edata                          edata
  210 #define _eintrcnt                       eintrcnt
  211 #define _eintrnames                     eintrnames
  212 #define _end                            end
  213 #define _etext                          etext
  214 #define _exception                      exception
  215 #define _fast_intr_lock                 fast_intr_lock
  216 #define _fastmove                       fastmove
  217 #define _gdt                            gdt
  218 #define _generic_bcopy                  generic_bcopy
  219 #define _generic_bzero                  generic_bzero
  220 #define _generic_copyin                 generic_copyin
  221 #define _generic_copyout                generic_copyout
  222 #define _get_align_lock                 get_align_lock
  223 #define _get_altsyscall_lock            get_altsyscall_lock
  224 #define _get_fpu_lock                   get_fpu_lock
  225 #define _get_isrlock                    get_isrlock
  226 #define _get_mplock                     get_mplock
  227 #define _get_syscall_lock               get_syscall_lock
  228 #define _idle                           idle
  229 #define _idle_poll                      idle_poll
  230 #define _ihandlers                      ihandlers
  231 #define _imen                           imen
  232 #define _imen_lock                      imen_lock
  233 #define _in_vm86call                    in_vm86call
  234 #define _init386                        init386
  235 #define _init_secondary                 init_secondary
  236 #define _intr_countp                    intr_countp
  237 #define _intr_handler                   intr_handler
  238 #define _intr_mask                      intr_mask
  239 #define _intr_nesting_level             intr_nesting_level
  240 #define _intr_unit                      intr_unit
  241 #define _intrcnt                        intrcnt
  242 #define _intrnames                      intrnames
  243 #define _invltlb_ok                     invltlb_ok
  244 #define _ioapic                         ioapic
  245 #define _ipending                       ipending
  246 #define _isr_lock                       isr_lock
  247 #define _kernbase                       kernbase
  248 #define _kernelname                     kernelname
  249 #define _lapic                          lapic
  250 #define _linux_sigcode                  linux_sigcode
  251 #define _linux_szsigcode                linux_szsigcode
  252 #define _mi_startup                     mi_startup
  253 #define _microuptime                    microuptime
  254 #define _mp_gdtbase                     mp_gdtbase
  255 #define _mp_lock                        mp_lock
  256 #define _mp_ncpus                       mp_ncpus
  257 #define _mul64                          mul64
  258 #define _net_imask                      net_imask
  259 #define _netisr                         netisr
  260 #define _netisrs                        netisrs
  261 #define _nfs_diskless                   nfs_diskless
  262 #define _nfs_diskless_valid             nfs_diskless_valid
  263 #define _normalize                      normalize
  264 #define _normalize_nuo                  normalize_nuo
  265 #define _npx_intr                       npx_intr
  266 #define _npxsave                        npxsave
  267 #define _szosigcode                     szosigcode
  268 #define _ovbcopy_vector                 ovbcopy_vector
  269 #define _panic                          panic
  270 #define _pc98_system_parameter          pc98_system_parameter
  271 #define _poly_div16                     poly_div16
  272 #define _poly_div2                      poly_div2
  273 #define _poly_div4                      poly_div4
  274 #define _polynomial                     polynomial
  275 #define _private_tss                    private_tss
  276 #define _proc0                          proc0
  277 #define _proc0paddr                     proc0paddr
  278 #define _procrunnable                   procrunnable
  279 #define _real_2op_NaN                   real_2op_NaN
  280 #define _reg_div                        reg_div
  281 #define _reg_u_add                      reg_u_add
  282 #define _reg_u_div                      reg_u_div
  283 #define _reg_u_mul                      reg_u_mul
  284 #define _reg_u_sub                      reg_u_sub
  285 #define _rel_mplock                     rel_mplock
  286 #define _round_reg                      round_reg
  287 #define _s_lock                         s_lock
  288 #define _s_unlock                       s_unlock
  289 #define _set_precision_flag_down        set_precision_flag_down
  290 #define _set_precision_flag_up          set_precision_flag_up
  291 #define _set_user_ldt                   set_user_ldt
  292 #define _shrx                           shrx
  293 #define _shrxs                          shrxs
  294 #define _sigcode                        sigcode
  295 #define _smp_active                     smp_active
  296 #define _smp_rendezvous_action          smp_rendezvous_action
  297 #define _soft_imask                     soft_imask
  298 #define _softclock                      softclock
  299 #define _softnet_imask                  softnet_imask
  300 #define _softtty_imask                  softtty_imask
  301 #define _spl0                           spl0
  302 #define _splz                           splz
  303 #define _ss_lock                        ss_lock
  304 #define _ss_unlock                      ss_unlock
  305 #define _started_cpus                   started_cpus
  306 #define _stopped_cpus                   stopped_cpus
  307 #define _svr4_sigcode                   svr4_sigcode
  308 #define _svr4_sys_context               svr4_sys_context
  309 #define _svr4_szsigcode                 svr4_szsigcode
  310 #define _swi_dispatcher                 swi_dispatcher
  311 #define _swi_generic                    swi_generic
  312 #define _swi_null                       swi_null
  313 #define _swi_vm                         swi_vm
  314 #define _syscall2                       syscall2
  315 #define _szsigcode                      szsigcode
  316 #define _ticks                          ticks
  317 #define _time                           time
  318 #define _trap                           trap
  319 #define _trapwrite                      trapwrite
  320 #define _tty_imask                      tty_imask
  321 #define _vec                            vec
  322 #define _vec8254                        vec8254
  323 #define _vm86_prepcall                  vm86_prepcall
  324 #define _vm86pa                         vm86pa
  325 #define _vm86paddr                      vm86paddr
  326 #define _vm86pcb                        vm86pcb
  327 #define _vm_page_zero_idle              vm_page_zero_idle
  328 #define _wm_sqrt                        wm_sqrt
  329 
  330 #endif /* __ELF__ */
  331 
  332 #if defined(SMP) || defined(__ELF__)
  333 #ifdef SMP
  334 #define FS(x)   %fs:gd_ ## x
  335 #else
  336 #define FS(x)   x
  337 #endif
  338 
  339 #define _common_tss                     FS(common_tss)
  340 #define _common_tssd                    FS(common_tssd)
  341 #define _cpuid                          FS(cpuid)
  342 #define _cpu_lockid                     FS(cpu_lockid)
  343 #define _curpcb                         FS(curpcb)
  344 #define _curproc                        FS(curproc)
  345 #define _astpending                     FS(astpending)
  346 #define _currentldt                     FS(currentldt)
  347 #define _inside_intr                    FS(inside_intr)
  348 #define _npxproc                        FS(npxproc)
  349 #define _other_cpus                     FS(other_cpus)
  350 #define _prv_CADDR1                     FS(prv_CADDR1)
  351 #define _prv_CADDR2                     FS(prv_CADDR2)
  352 #define _prv_CADDR3                     FS(prv_CADDR3)
  353 #define _prv_CMAP1                      FS(prv_CMAP1)
  354 #define _prv_CMAP2                      FS(prv_CMAP2)
  355 #define _prv_CMAP3                      FS(prv_CMAP3)
  356 #define _prv_PADDR1                     FS(prv_PADDR1)
  357 #define _prv_PMAP1                      FS(prv_PMAP1)
  358 #define _ss_eflags                      FS(ss_eflags)
  359 #define _switchticks                    FS(switchticks)
  360 #define _switchtime                     FS(switchtime)
  361 #define _tss_gdt                        FS(tss_gdt)
  362 #define _idlestack                      FS(idlestack)
  363 #define _idlestack_top                  FS(idlestack_top)
  364 
  365 #endif
  366 
  367 #endif /* !_MACHINE_ASNAMES_H_ */

Cache object: 005dc6982939ea6750b1b073586831ba


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.