Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99907
b: refs/heads/master
c: 43adfc2
h: refs/heads/master
i:
  99905: 8e8a9a6
  99903: 579f16e
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 8, 2008
1 parent 6800cf5 commit 6c03164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4583ed514ea9ac844a6eb02d33120beaedf6837f
refs/heads/master: 43adfc26dea171558f944adbc9adecddf2d4602f
4 changes: 4 additions & 0 deletions trunk/include/asm-x86/desc_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,14 @@ struct ldttss_desc64 {
typedef struct gate_struct64 gate_desc;
typedef struct ldttss_desc64 ldt_desc;
typedef struct ldttss_desc64 tss_desc;
#define gate_offset(g) ((g).offset_low | ((unsigned long)(g).offset_middle << 16) | ((unsigned long)(g).offset_high << 32))
#define gate_segment(g) ((g).segment)
#else
typedef struct desc_struct gate_desc;
typedef struct desc_struct ldt_desc;
typedef struct desc_struct tss_desc;
#define gate_offset(g) (((g).b & 0xffff0000) | ((g).a & 0x0000ffff))
#define gate_segment(g) ((g).a >> 16)
#endif

struct desc_ptr {
Expand Down

0 comments on commit 6c03164

Please sign in to comment.