genassym.cf revision 1.84
1# $NetBSD: genassym.cf,v 1.84 2009/11/27 03:23:10 rmind Exp $ 2 3# 4# Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Charles M. Hannum, and by Andrew Doran. 9# 10# Redistribution and use in source and binary forms, with or without 11# modification, are permitted provided that the following conditions 12# are met: 13# 1. Redistributions of source code must retain the above copyright 14# notice, this list of conditions and the following disclaimer. 15# 2. Redistributions in binary form must reproduce the above copyright 16# notice, this list of conditions and the following disclaimer in the 17# documentation and/or other materials provided with the distribution. 18# 19# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29# POSSIBILITY OF SUCH DAMAGE. 30# 31 32# 33# Copyright (c) 1982, 1990 The Regents of the University of California. 34# All rights reserved. 35# 36# This code is derived from software contributed to Berkeley by 37# William Jolitz. 38# 39# Redistribution and use in source and binary forms, with or without 40# modification, are permitted provided that the following conditions 41# are met: 42# 1. Redistributions of source code must retain the above copyright 43# notice, this list of conditions and the following disclaimer. 44# 2. Redistributions in binary form must reproduce the above copyright 45# notice, this list of conditions and the following disclaimer in the 46# documentation and/or other materials provided with the distribution. 47# 3. Neither the name of the University nor the names of its contributors 48# may be used to endorse or promote products derived from this software 49# without specific prior written permission. 50# 51# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 52# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 53# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 54# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 55# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 56# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 57# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 58# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 59# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 60# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61# SUCH DAMAGE. 62# 63# @(#)genassym.c 5.11 (Berkeley) 5/10/91 64# 65 66if defined(_KERNEL_OPT) 67include "opt_compat_svr4.h" 68include "opt_compat_freebsd.h" 69include "opt_compat_linux.h" 70include "opt_compat_netbsd.h" 71include "opt_xen.h" 72endif 73 74quote #define __MUTEX_PRIVATE 75quote #define __RWLOCK_PRIVATE 76 77include <sys/param.h> 78include <sys/proc.h> 79include <sys/resourcevar.h> 80include <sys/device.h> 81include <sys/mbuf.h> 82include <sys/mutex.h> 83include <sys/rwlock.h> 84include <sys/cpu.h> 85 86include <netinet/in.h> 87include <netinet/in_systm.h> 88include <netinet/ip.h> 89include <netinet/ip6.h> 90include <netinet/ip_var.h> 91 92include <uvm/uvm.h> 93 94include <machine/trap.h> 95include <machine/pmap.h> 96include <machine/vmparam.h> 97include <machine/intr.h> 98include <machine/types.h> 99include <machine/segments.h> 100 101ifdef XEN 102include <xen/xen3-public/sched.h> 103endif 104 105if defined(_KERNEL) && defined(_KERNEL_OPT) 106include "ioapic.h" 107ifndef XEN 108include "apmbios.h" 109endif 110endif 111if NAPMBIOS > 0 112include <machine/bioscall.h> 113include <machine/apmvar.h> 114endif 115 116include <compat/sys/signal.h> 117 118ifdef COMPAT_SVR4 119include <compat/svr4/svr4_ucontext.h> 120endif 121 122ifdef COMPAT_LINUX 123include <compat/linux/common/linux_signal.h> 124include <compat/linux/common/linux_machdep.h> 125endif 126 127ifdef COMPAT_FREEBSD 128include <machine/freebsd_machdep.h> 129endif 130 131if NIOAPIC > 0 132include <machine/i82093reg.h> 133include <machine/i82093var.h> 134endif 135 136if defined(_KERNEL) && defined(_KERNEL_OPT) 137include "isa.h" 138endif 139if NISA > 0 140include <machine/isa_machdep.h> 141endif 142 143include <machine/tlog.h> 144 145 146include <x86/busdefs.h> 147 148define PAGE_SIZE PAGE_SIZE 149 150define LSRUN LSRUN 151define LSONPROC LSONPROC 152 153define PTE_BASE PTE_BASE 154define UPAGES UPAGES 155define USPACE USPACE 156define KSTACK_SIZE KSTACK_SIZE 157define KERNBASE KERNBASE 158define KERNTEXTOFF KERNTEXTOFF 159 160define PG_RW PG_RW 161define PG_V PG_V 162define PG_KW PG_KW 163define PG_KR PG_KR 164define PGEX_U PGEX_U 165 166define L2_SLOT_KERNBASE pl2_pi(KERNBASE) 167define L1_SLOT_KERNBASE pl1_pi(KERNBASE) 168 169define PDIR_SLOT_PTE PDIR_SLOT_PTE 170define PTE_BASE PTE_BASE 171 172define IOMAPSIZE IOMAPSIZE 173 174define VM_MAXUSER_ADDRESS (int)VM_MAXUSER_ADDRESS 175 176define L_PCB offsetof(struct lwp, l_addr) 177define L_FLAG offsetof(struct lwp, l_flag) 178define L_PROC offsetof(struct lwp, l_proc) 179define L_MD_REGS offsetof(struct lwp, l_md.md_regs) 180define L_CTXSWTCH offsetof(struct lwp, l_ctxswtch) 181define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending) 182define L_CPU offsetof(struct lwp, l_cpu) 183define L_NCSW offsetof(struct lwp, l_ncsw) 184define L_NOPREEMPT offsetof(struct lwp, l_nopreempt) 185define L_DOPREEMPT offsetof(struct lwp, l_dopreempt) 186define L_KPRIORITY offsetof(struct lwp, l_kpriority) 187define P_FLAG offsetof(struct proc, p_flag) 188define P_RASLIST offsetof(struct proc, p_raslist) 189define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall) 190 191define LW_SYSTEM LW_SYSTEM 192 193define GUFS_SEL GUFS_SEL 194define GUGS_SEL GUGS_SEL 195 196define M_DATA offsetof(struct mbuf, m_data) 197define M_LEN offsetof(struct mbuf, m_len) 198define M_NEXT offsetof(struct mbuf, m_next) 199 200define IP_SRC offsetof(struct ip, ip_src) 201define IP_DST offsetof(struct ip, ip_dst) 202 203define IP6_SRC offsetof(struct ip6_hdr, ip6_src) 204define IP6_DST offsetof(struct ip6_hdr, ip6_dst) 205 206define V_TRAP offsetof(struct uvmexp, traps) 207define V_INTR offsetof(struct uvmexp, intrs) 208 209define PCB_CR3 offsetof(struct pcb, pcb_cr3) 210define PCB_EBP offsetof(struct pcb, pcb_ebp) 211define PCB_ESP offsetof(struct pcb, pcb_esp) 212define PCB_ESP0 offsetof(struct pcb, pcb_esp0) 213define PCB_CR0 offsetof(struct pcb, pcb_cr0) 214define PCB_ONFAULT offsetof(struct pcb, pcb_onfault) 215define PCB_FPCPU offsetof(struct pcb, pcb_fpcpu) 216define PCB_FSD offsetof(struct pcb, pcb_fsd) 217define PCB_GSD offsetof(struct pcb, pcb_gsd) 218define PCB_IOMAP offsetof(struct pcb, pcb_iomap) 219 220define TF_CS offsetof(struct trapframe, tf_cs) 221define TF_EIP offsetof(struct trapframe, tf_eip) 222define TF_ERR offsetof(struct trapframe, tf_err) 223define TF_TRAPNO offsetof(struct trapframe, tf_trapno) 224define TF_EFLAGS offsetof(struct trapframe, tf_eflags) 225 226define TF_GS offsetof(struct trapframe, tf_gs) 227define TF_FS offsetof(struct trapframe, tf_fs) 228define TF_ES offsetof(struct trapframe, tf_es) 229define TF_DS offsetof(struct trapframe, tf_ds) 230define TF_EDI offsetof(struct trapframe, tf_edi) 231define TF_ESI offsetof(struct trapframe, tf_esi) 232define TF_EBP offsetof(struct trapframe, tf_ebp) 233define TF_EBX offsetof(struct trapframe, tf_ebx) 234define TF_EDX offsetof(struct trapframe, tf_edx) 235define TF_ECX offsetof(struct trapframe, tf_ecx) 236define TF_EAX offsetof(struct trapframe, tf_eax) 237 238define TF_PUSHSIZE offsetof(struct trapframe, tf_trapno) 239 240define FRAMESIZE sizeof(struct trapframe) 241 242ifdef COMPAT_SVR4 243define SVR4_SIGF_HANDLER offsetof(struct svr4_sigframe, sf_handler) 244define SVR4_SIGF_UC offsetof(struct svr4_sigframe, sf_uc) 245endif 246 247ifdef COMPAT_LINUX 248define LINUX_SIGF_HANDLER offsetof(struct linux_sigframe, sf_handler) 249define LINUX_SIGF_SC offsetof(struct linux_sigframe, sf_sc) 250define LINUX_RT_SIGF_HANDLER offsetof(struct linux_rt_sigframe, sf_handler) 251define LINUX_RT_SIGF_UC offsetof(struct linux_rt_sigframe, sf_uc) 252endif 253 254ifdef COMPAT_FREEBSD 255define FREEBSD_SIGF_HANDLER offsetof(struct freebsd_sigframe, sf_handler) 256define FREEBSD_SIGF_SC offsetof(struct freebsd_sigframe, sf_sc) 257endif 258 259define IH_FUN offsetof(struct intrhand, ih_fun) 260define IH_ARG offsetof(struct intrhand, ih_arg) 261define IH_LEVEL offsetof(struct intrhand, ih_level) 262ifdef XEN 263define IH_IPL_NEXT offsetof(struct intrhand, ih_ipl_next) 264else 265define IH_NEXT offsetof(struct intrhand, ih_next) 266endif 267 268if NAPMBIOS > 0 269define APM_CODE32 offsetof(struct apm_connect_info, apm_code32_seg_base) 270define APM_CODE16 offsetof(struct apm_connect_info, apm_code16_seg_base) 271define APM_DATA offsetof(struct apm_connect_info, apm_data_seg_base) 272define APM_CODE32_LEN offsetof(struct apm_connect_info, apm_code32_seg_len) 273define APM_DATA_LEN offsetof(struct apm_connect_info, apm_data_seg_len) 274define APM_ENTRY offsetof(struct apm_connect_info, apm_entrypt) 275define APM_DETAIL offsetof(struct apm_connect_info, apm_detail) 276define APM_SIZE sizeof(struct apm_connect_info) 277define BIOSCALLREG_EAX offsetof(struct bioscallregs, EAX) 278define BIOSCALLREG_EBX offsetof(struct bioscallregs, EBX) 279define BIOSCALLREG_ECX offsetof(struct bioscallregs, ECX) 280define BIOSCALLREG_EDX offsetof(struct bioscallregs, EDX) 281define BIOSCALLREG_ESI offsetof(struct bioscallregs, ESI) 282define BIOSCALLREG_EDI offsetof(struct bioscallregs, EDI) 283define BIOSCALLREG_EFLAGS offsetof(struct bioscallregs, EFLAGS) 284endif 285 286define CPU_INFO_SELF offsetof(struct cpu_info, ci_self) 287define CPU_INFO_RESCHED offsetof(struct cpu_info, ci_want_resched) 288define CPU_INFO_WANT_PMAPLOAD offsetof(struct cpu_info, ci_want_pmapload) 289define CPU_INFO_PMAP_CPU offsetof(struct cpu_info, ci_pmap_cpu) 290define CPU_INFO_TLBSTATE offsetof(struct cpu_info, ci_tlbstate) 291define TLBSTATE_VALID TLBSTATE_VALID 292define TLBSTATE_LAZY TLBSTATE_LAZY 293define TLBSTATE_STALE TLBSTATE_STALE 294define CPU_INFO_TLB_EVCNT offsetof(struct cpu_info, ci_tlb_evcnt) 295define CPU_INFO_CURLWP offsetof(struct cpu_info, ci_curlwp) 296define CPU_INFO_FPCURLWP offsetof(struct cpu_info, ci_fpcurlwp) 297define CPU_INFO_CURLDT offsetof(struct cpu_info, ci_curldt) 298define CPU_INFO_IDLELWP offsetof(struct cpu_info, ci_data.cpu_idlelwp) 299define CPU_INFO_PMAP offsetof(struct cpu_info, ci_pmap) 300define CPU_INFO_CPUMASK offsetof(struct cpu_info, ci_cpumask) 301define CPU_INFO_TSS offsetof(struct cpu_info, ci_tss) 302define CPU_INFO_TSS_SEL offsetof(struct cpu_info, ci_tss_sel) 303define CPU_INFO_ESP0 offsetof(struct cpu_info, ci_tss.tss_esp0) 304define CPU_INFO_IOBASE offsetof(struct cpu_info, ci_tss.tss_iobase) 305define CPU_INFO_IOMAP offsetof(struct cpu_info, ci_iomap) 306define IOMAP_INVALOFF IOMAP_INVALOFF 307define CPU_INFO_NSYSCALL offsetof(struct cpu_info, ci_data.cpu_nsyscall) 308define CPU_INFO_NTRAP offsetof(struct cpu_info, ci_data.cpu_ntrap) 309define CPU_INFO_CURPRIORITY offsetof(struct cpu_info, ci_schedstate.spc_curpriority) 310define CPU_INFO_CC_SKEW offsetof(struct cpu_info, ci_data.cpu_cc_skew) 311 312define CPU_INFO_VENDOR offsetof(struct cpu_info, ci_vendor[0]) 313define CPU_INFO_SIGNATURE offsetof(struct cpu_info, ci_signature) 314define CPU_INFO_FEATURES offsetof(struct cpu_info, ci_feature_flags) 315 316define CPU_TLOG_OFFSET offsetof(struct cpu_info, ci_tlog_offset) 317define CPU_TLOG_BASE offsetof(struct cpu_info, ci_tlog_base) 318 319define CPU_INFO_GDT offsetof(struct cpu_info, ci_gdt) 320define CPU_INFO_IPENDING offsetof(struct cpu_info, ci_ipending) 321define CPU_INFO_IMASK offsetof(struct cpu_info, ci_imask) 322define CPU_INFO_IUNMASK offsetof(struct cpu_info, ci_iunmask) 323define CPU_INFO_ILEVEL offsetof(struct cpu_info, ci_ilevel) 324define CPU_INFO_IDEPTH offsetof(struct cpu_info, ci_idepth) 325define CPU_INFO_ISOURCES offsetof(struct cpu_info, ci_isources) 326define CPU_INFO_MTX_COUNT offsetof(struct cpu_info, ci_mtx_count) 327define CPU_INFO_MTX_OLDSPL offsetof(struct cpu_info, ci_mtx_oldspl) 328define CPU_INFO_INTRSTACK offsetof(struct cpu_info, ci_intrstack) 329define CPU_INFO_ISTATE offsetof(struct cpu_info, ci_istate) 330 331define ACPI_SUSPEND_GDT offsetof(struct cpu_info, ci_suspend_gdt) 332define ACPI_SUSPEND_IDT offsetof(struct cpu_info, ci_suspend_idt) 333define ACPI_SUSPEND_TR offsetof(struct cpu_info, ci_suspend_tr) 334define ACPI_SUSPEND_LDT offsetof(struct cpu_info, ci_suspend_ldt) 335define ACPI_SUSPEND_FS offsetof(struct cpu_info, ci_suspend_fs) 336define ACPI_SUSPEND_GS offsetof(struct cpu_info, ci_suspend_gs) 337define ACPI_SUSPEND_KGS offsetof(struct cpu_info, ci_suspend_kgs) 338define ACPI_SUSPEND_EFER offsetof(struct cpu_info, ci_suspend_efer) 339define ACPI_SUSPEND_REG offsetof(struct cpu_info, ci_suspend_reg) 340define ACPI_SUSPEND_CR0 offsetof(struct cpu_info, ci_suspend_cr0) 341define ACPI_SUSPEND_CR2 offsetof(struct cpu_info, ci_suspend_cr2) 342define ACPI_SUSPEND_CR3 offsetof(struct cpu_info, ci_suspend_cr3) 343define ACPI_SUSPEND_CR4 offsetof(struct cpu_info, ci_suspend_cr4) 344define ACPI_SUSPEND_CR8 offsetof(struct cpu_info, ci_suspend_cr8) 345 346if NIOAPIC > 0 347define PIC_IOAPIC offsetof(struct pic, pic_ioapic) 348define IOAPIC_SC_REG offsetof(struct ioapic_softc, sc_reg) 349define IOAPIC_SC_DATA offsetof(struct ioapic_softc, sc_data) 350define PIC_LOCK offsetof(struct pic, pic_lock) 351endif 352 353define SIZEOF_CPU_INFO sizeof(struct cpu_info) 354define SIZEOF_ISTUB sizeof(struct intrstub) 355 356ifdef XEN 357define SIZEOF_IPLSOURCE sizeof(struct iplsource) 358define IS_RECURSE offsetof(struct iplsource, ipl_recurse) 359define IS_RESUME offsetof(struct iplsource, ipl_resume) 360define IS_HANDLERS offsetof(struct iplsource, ipl_handlers) 361define EV_EVCNTL offsetof(struct evcnt, ev_count) 362else 363define SIZEOF_ISOURCE sizeof(struct intrsource) 364define IS_RECURSE offsetof(struct intrsource, is_recurse) 365define IS_RESUME offsetof(struct intrsource, is_resume) 366define IS_EVCNTLO offsetof(struct intrsource, is_evcnt.ev_count) 367define IS_EVCNTHI offsetof(struct intrsource, is_evcnt.ev_count)+4 368define IS_HANDLERS offsetof(struct intrsource, is_handlers) 369define IS_PIC offsetof(struct intrsource, is_pic) 370define IS_FLAGS offsetof(struct intrsource, is_flags) 371define IS_PIN offsetof(struct intrsource, is_pin) 372define IS_TYPE offsetof(struct intrsource, is_type) 373define IS_MAXLEVEL offsetof(struct intrsource, is_maxlevel) 374define IS_LWP offsetof(struct intrsource, is_lwp) 375endif 376 377define TREC_SP offsetof(struct trec, tr_sp) 378define TREC_HPC offsetof(struct trec, tr_hpc) 379define TREC_IPC offsetof(struct trec, tr_ipc) 380define TREC_TSC offsetof(struct trec, tr_tsc) 381define TREC_LBF offsetof(struct trec, tr_lbf) 382define TREC_LBT offsetof(struct trec, tr_lbt) 383define TREC_IBF offsetof(struct trec, tr_ibf) 384define TREC_IBT offsetof(struct trec, tr_ibt) 385 386define SIZEOF_TREC sizeof(struct trec) 387define SIZEOF_TLOG sizeof(struct tlog) 388 389define IPL_NONE IPL_NONE 390define IPL_PREEMPT IPL_PREEMPT 391define IPL_SCHED IPL_SCHED 392define IPL_CLOCK IPL_CLOCK 393define IPL_HIGH IPL_HIGH 394 395define IPL_SOFTNET IPL_SOFTNET 396define IPL_SOFTCLOCK IPL_SOFTCLOCK 397define IPL_SOFTSERIAL IPL_SOFTSERIAL 398 399define LIR_IPI LIR_IPI 400define LIR_TIMER LIR_TIMER 401 402define SIR_NET SIR_NET 403define SIR_CLOCK SIR_CLOCK 404define SIR_SERIAL SIR_SERIAL 405 406define IREENT_MAGIC IREENT_MAGIC 407 408define PSL_AC PSL_AC 409define PSL_MBO PSL_MBO 410define PSL_ID PSL_ID 411define PSL_VM PSL_VM 412define PSL_I PSL_I 413 414define MTX_IPL offsetof(struct kmutex, u.s.mtxs_ipl) 415define MTX_LOCK offsetof(struct kmutex, mtx_lock) 416define MTX_OWNER offsetof(struct kmutex, u.mtxa_owner) 417 418define RW_OWNER offsetof(struct krwlock, rw_owner) 419define RW_WRITE_LOCKED RW_WRITE_LOCKED 420define RW_WRITE_WANTED RW_WRITE_WANTED 421define RW_READ_INCR RW_READ_INCR 422define RW_HAS_WAITERS RW_HAS_WAITERS 423define RW_THREAD RW_THREAD 424define RW_READER RW_READER 425define RW_WRITER RW_WRITER 426 427define MB_POINTER offsetof(struct pmap_mbox, mb_pointer) 428define MB_GLOBAL offsetof(struct pmap_mbox, mb_global) 429define MB_ADDR1 offsetof(struct pmap_mbox, mb_addr1) 430define MB_ADDR2 offsetof(struct pmap_mbox, mb_addr2) 431define MB_HEAD offsetof(struct pmap_mbox, mb_head) 432define MB_TAIL offsetof(struct pmap_mbox, mb_tail) 433 434define PM_CPUS offsetof(struct pmap, pm_cpus) 435 436define EV_COUNT offsetof(struct evcnt, ev_count) 437 438define OPTERON_MSR_PASSCODE OPTERON_MSR_PASSCODE 439 440define X86_BUS_SPACE_IO X86_BUS_SPACE_IO 441 442define L1_SHIFT L1_SHIFT 443define L2_SHIFT L2_SHIFT 444define L2_FRAME L2_FRAME 445define PGOFSET PGOFSET 446define PGSHIFT PGSHIFT 447 448define RESCHED_KPREEMPT RESCHED_KPREEMPT 449 450ifdef XEN 451define CPU_INFO_VCPU offsetof(struct cpu_info, ci_vcpu) 452define START_INFO_SHARED_INFO offsetof(struct start_info, shared_info) 453define START_INFO_FLAGS offsetof(struct start_info, flags) 454define START_INFO_CONSOLE_MFN offsetof(struct start_info, console.domU.mfn) 455define START_INFO_STORE_MFN offsetof(struct start_info, store_mfn) 456define SIF_INITDOMAIN SIF_INITDOMAIN 457define EVTCHN_UPCALL_PENDING offsetof(struct vcpu_info, evtchn_upcall_pending) 458define EVTCHN_UPCALL_MASK offsetof(struct vcpu_info, evtchn_upcall_mask) 459 460define HYPERVISOR_sched_op __HYPERVISOR_sched_op 461define SCHEDOP_yield SCHEDOP_yield 462endif 463 464