[PATCH 16/19] provide tss_desc



Provide a new type, tss_desc, to represent the tss descriptor
in a unified way accross x86_64 and i386

Signed-off-by: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
---
include/asm-x86/desc_defs.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h
index 3bfb7d9..d4ae70d 100644
--- a/include/asm-x86/desc_defs.h
+++ b/include/asm-x86/desc_defs.h
@@ -80,9 +80,11 @@ struct ldttss_desc64 {
#ifdef CONFIG_X86_64
typedef struct gate_struct64 gate_desc;
typedef struct ldttss_desc64 ldt_desc;
+typedef struct ldttss_desc64 tss_desc;
#else
typedef struct desc_struct gate_desc;
typedef struct desc_struct ldt_desc;
+typedef struct desc_struct tss_desc;
#endif

struct desc_ptr {
--
1.4.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [PATCH 10/19] provide tss_desc
    ... Provide a new type, tss_desc, to represent the tss descriptor ... in a unified way accross x86_64 and i386 ... typedef struct gate_struct64 gate_desc; ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH 10/19] provide tss_desc
    ... Provide a new type, tss_desc, to represent the tss descriptor ... in a unified way accross x86_64 and i386 ... typedef struct gate_struct64 gate_desc; ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH 10/19] provide tss_desc
    ... Provide a new type, tss_desc, to represent the tss descriptor ... in a unified way accross x86_64 and i386 ... typedef struct gate_struct64 gate_desc; ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: header files
    ... what conventions do you guys use for header files? ... typedef struct Tag_Name Tag_Name; ... C++ Faq: http://www.parashift.com/c++-faq-lite C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: ... Other sites: http://www.josuttis.com -- C++ STL Library book http://www.sgi.com/tech/stl -- Standard Template Library ...
    (comp.lang.c)
  • Re: [PATCH 02/24] x86: kernel/apm_32.c cleanup
    ... typedef struct lookup_t { ... Shouldn't this be a tab? ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)