offsets.in revision 7c478bd95313f5f23a4c958a745db2134aa03244
\
\ Copyright 2005 Sun Microsystems, Inc. All rights reserved.
\ Use is subject to license terms.
\
\ CDDL HEADER START
\
\ The contents of this file are subject to the terms of the
\ Common Development and Distribution License, Version 1.0 only
\ (the "License"). You may not use this file except in compliance
\ with the License.
\
\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
\ or http://www.opensolaris.org/os/licensing.
\ See the License for the specific language governing permissions
\ and limitations under the License.
\
\ When distributing Covered Code, include this CDDL HEADER in each
\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
\ If applicable, add the following below this CDDL HEADER, with the
\ fields enclosed by brackets "[]" replaced with your own identifying
\ information: Portions Copyright [yyyy] [name of copyright owner]
\
\ CDDL HEADER END
\
#pragma ident "%Z%%M% %I% %E% SMI"
\
\ offsets.in: input file to produce assym.h using the ctfstabs program
\
#include <sys/types.h>
#include <amd64/cpu.h>
#include <amd64/machregs.h>
#include <amd64/tss.h>
#include <amd64/segments.h>
amd64_cpuid_regs
r_eax AMD64_CPUID_REG_EAX
r_ebx AMD64_CPUID_REG_EBX
r_ecx AMD64_CPUID_REG_ECX
r_edx AMD64_CPUID_REG_EDX
amd64_machregs SIZEOF_amd64_machregs
r_kgsbase amd64_REG_KGSBASE
r_gsbase amd64_REG_GSBASE
r_fsbase amd64_REG_FSBASE
r_cr0 amd64_REG_CR0
r_cr2 amd64_REG_CR2
r_cr3 amd64_REG_CR3
r_cr4 amd64_REG_CR4
r_cr8 amd64_REG_CR8
r_gdt_un.un_gdt amd64_REG_GDT
r_idt_un.un_idt amd64_REG_IDT
r_ldt amd64_REG_LDT
r_tr amd64_REG_TR
r_rdi amd64_REG_RDI
r_rsi amd64_REG_RSI
r_rdx amd64_REG_RDX
r_rcx amd64_REG_RCX
r_r8 amd64_REG_R8
r_r9 amd64_REG_R9
r_rax amd64_REG_RAX
r_rbx amd64_REG_RBX
r_rbp amd64_REG_RBP
r_r10 amd64_REG_R10
r_r11 amd64_REG_R11
r_r12 amd64_REG_R12
r_r13 amd64_REG_R13
r_r14 amd64_REG_R14
r_r15 amd64_REG_R15
r_gs amd64_REG_GS
r_fs amd64_REG_FS
r_ds amd64_REG_DS
r_es amd64_REG_ES
r_trapno amd64_REG_TRAPNO
r_err amd64_REG_ERR
r_rip amd64_REG_RIP
r_cs amd64_REG_CS
r_rfl amd64_REG_FLAGS
r_rsp amd64_REG_RSP
r_ss amd64_REG_SS
i386_machregs SIZEOF_i386_machregs
r_ss i386_REG_SS
r_uesp i386_REG_UESP
r_efl i386_REG_EFL
r_cs i386_REG_CS
r_eip i386_REG_EIP
r_err i386_REG_ERR
r_trapno i386_REG_TRAPNO
r_eax i386_REG_EAX
r_ecx i386_REG_ECX
r_edx i386_REG_EDX
r_ebx i386_REG_EBX
r_esp i386_REG_ESP
r_ebp i386_REG_EBP
r_esi i386_REG_ESI
r_edi i386_REG_EDI
r_ds i386_REG_DS
r_es i386_REG_ES
r_fs i386_REG_FS
r_gs i386_REG_GS
r_tr i386_REG_TR
r_ldt i386_REG_LDT
r_idt_un.un_idt i386_REG_IDT
r_gdt_un.un_gdt i386_REG_GDT
r_cr4 i386_REG_CR4
r_cr3 i386_REG_CR3
r_cr2 i386_REG_CR2
r_cr0 i386_REG_CR0