Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/genassym.c
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
| #include <sys/resourcevar.h> | #include <sys/resourcevar.h> | ||||
| #include <sys/ucontext.h> | #include <sys/ucontext.h> | ||||
| #include <machine/tss.h> | #include <machine/tss.h> | ||||
| #include <sys/vmmeter.h> | #include <sys/vmmeter.h> | ||||
| #include <vm/vm.h> | #include <vm/vm.h> | ||||
| #include <vm/vm_param.h> | #include <vm/vm_param.h> | ||||
| #include <vm/pmap.h> | #include <vm/pmap.h> | ||||
| #include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
| #include <sys/kexec.h> | |||||
| #include <sys/proc.h> | #include <sys/proc.h> | ||||
| #include <x86/apicreg.h> | #include <x86/apicreg.h> | ||||
| #include <machine/cpu.h> | #include <machine/cpu.h> | ||||
| #include <machine/pcb.h> | #include <machine/pcb.h> | ||||
| #include <machine/sigframe.h> | #include <machine/sigframe.h> | ||||
| #include <machine/proc.h> | #include <machine/proc.h> | ||||
| #include <machine/segments.h> | #include <machine/segments.h> | ||||
| #include <machine/efi.h> | #include <machine/efi.h> | ||||
| #include <machine/kexec.h> | |||||
| ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace)); | ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace)); | ||||
| ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap)); | ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap)); | ||||
| ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); | ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); | ||||
| ASSYM(P_MD, offsetof(struct proc, p_md)); | ASSYM(P_MD, offsetof(struct proc, p_md)); | ||||
| ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt)); | ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt)); | ||||
| ASSYM(MD_LDT_SD, offsetof(struct mdproc, md_ldt_sd)); | ASSYM(MD_LDT_SD, offsetof(struct mdproc, md_ldt_sd)); | ||||
| ▲ Show 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | |||||
| ASSYM(EC_RBX, offsetof(struct efirt_callinfo, ec_rbx)); | ASSYM(EC_RBX, offsetof(struct efirt_callinfo, ec_rbx)); | ||||
| ASSYM(EC_RSP, offsetof(struct efirt_callinfo, ec_rsp)); | ASSYM(EC_RSP, offsetof(struct efirt_callinfo, ec_rsp)); | ||||
| ASSYM(EC_RBP, offsetof(struct efirt_callinfo, ec_rbp)); | ASSYM(EC_RBP, offsetof(struct efirt_callinfo, ec_rbp)); | ||||
| ASSYM(EC_R12, offsetof(struct efirt_callinfo, ec_r12)); | ASSYM(EC_R12, offsetof(struct efirt_callinfo, ec_r12)); | ||||
| ASSYM(EC_R13, offsetof(struct efirt_callinfo, ec_r13)); | ASSYM(EC_R13, offsetof(struct efirt_callinfo, ec_r13)); | ||||
| ASSYM(EC_R14, offsetof(struct efirt_callinfo, ec_r14)); | ASSYM(EC_R14, offsetof(struct efirt_callinfo, ec_r14)); | ||||
| ASSYM(EC_R15, offsetof(struct efirt_callinfo, ec_r15)); | ASSYM(EC_R15, offsetof(struct efirt_callinfo, ec_r15)); | ||||
| ASSYM(EC_RFLAGS, offsetof(struct efirt_callinfo, ec_rflags)); | ASSYM(EC_RFLAGS, offsetof(struct efirt_callinfo, ec_rflags)); | ||||
| /* Kexec */ | |||||
| ASSYM(KEXEC_ENTRY, offsetof(struct kexec_image, entry)); | |||||
| ASSYM(KEXEC_SEGMENTS, offsetof(struct kexec_image, segments)); | |||||
| ASSYM(KEXEC_SEGMENT_MAX, KEXEC_SEGMENT_MAX); | |||||
| ASSYM(KEXEC_IMAGE_SIZE, sizeof(struct kexec_image)); | |||||
| ASSYM(KEXEC_STAGED_SEGMENT_SIZE, sizeof(struct kexec_segment_stage)); | |||||