home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-i386 / asm-offsets.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  2.5 KB  |  49 lines

  1. #ifndef __ASM_OFFSETS_H__
  2. #define __ASM_OFFSETS_H__
  3. /*
  4.  * DO NOT MODIFY.
  5.  *
  6.  * This file was generated by /build/buildd/linux-source-2.6.17-2.6.17/debian/build/linux-source-2.6.17/Kbuild
  7.  *
  8.  */
  9.  
  10. #define SIGCONTEXT_eax 44 /* offsetof(struct sigcontext, eax)    # */
  11. #define SIGCONTEXT_ebx 32 /* offsetof(struct sigcontext, ebx)    # */
  12. #define SIGCONTEXT_ecx 40 /* offsetof(struct sigcontext, ecx)    # */
  13. #define SIGCONTEXT_edx 36 /* offsetof(struct sigcontext, edx)    # */
  14. #define SIGCONTEXT_esi 20 /* offsetof(struct sigcontext, esi)    # */
  15. #define SIGCONTEXT_edi 16 /* offsetof(struct sigcontext, edi)    # */
  16. #define SIGCONTEXT_ebp 24 /* offsetof(struct sigcontext, ebp)    # */
  17. #define SIGCONTEXT_esp 28 /* offsetof(struct sigcontext, esp)    # */
  18. #define SIGCONTEXT_eip 56 /* offsetof(struct sigcontext, eip)    # */
  19.  
  20. #define CPUINFO_x86 0 /* offsetof(struct cpuinfo_x86, x86)    # */
  21. #define CPUINFO_x86_vendor 1 /* offsetof(struct cpuinfo_x86, x86_vendor)    # */
  22. #define CPUINFO_x86_model 2 /* offsetof(struct cpuinfo_x86, x86_model)    # */
  23. #define CPUINFO_x86_mask 3 /* offsetof(struct cpuinfo_x86, x86_mask)    # */
  24. #define CPUINFO_hard_math 6 /* offsetof(struct cpuinfo_x86, hard_math)    # */
  25. #define CPUINFO_cpuid_level 8 /* offsetof(struct cpuinfo_x86, cpuid_level)    # */
  26. #define CPUINFO_x86_capability 12 /* offsetof(struct cpuinfo_x86, x86_capability)    # */
  27. #define CPUINFO_x86_vendor_id 40 /* offsetof(struct cpuinfo_x86, x86_vendor_id)    # */
  28.  
  29. #define TI_task 0 /* offsetof(struct thread_info, task)    # */
  30. #define TI_exec_domain 4 /* offsetof(struct thread_info, exec_domain)    # */
  31. #define TI_flags 8 /* offsetof(struct thread_info, flags)    # */
  32. #define TI_status 12 /* offsetof(struct thread_info, status)    # */
  33. #define TI_cpu 16 /* offsetof(struct thread_info, cpu)    # */
  34. #define TI_preempt_count 20 /* offsetof(struct thread_info, preempt_count)    # */
  35. #define TI_addr_limit 24 /* offsetof(struct thread_info, addr_limit)    # */
  36. #define TI_restart_block 28 /* offsetof(struct thread_info, restart_block)    # */
  37.  
  38. #define EXEC_DOMAIN_handler 4 /* offsetof(struct exec_domain, handler)    # */
  39. #define RT_SIGFRAME_sigcontext 164 /* offsetof(struct rt_sigframe, uc.uc_mcontext)    # */
  40.  
  41. #define pbe_address 0 /* offsetof(struct pbe, address)    # */
  42. #define pbe_orig_address 4 /* offsetof(struct pbe, orig_address)    # */
  43. #define pbe_next 8 /* offsetof(struct pbe, next)    # */
  44. #define TSS_sysenter_esp0 -8700 /* offsetof(struct tss_struct, esp0) - sizeof(struct tss_struct)    # */
  45. #define PAGE_SIZE_asm 4096 /* PAGE_SIZE    # */
  46. #define VSYSCALL_BASE -8192 /* __fix_to_virt(FIX_VSYSCALL)    # */
  47.  
  48. #endif
  49.