~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to kernel/segment_descriptor.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-11-15 02:21:55 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115022155-pxoxb8kfcrkn72mi
Tags: 1:52+dfsg-0ubuntu1
* New upstream release.
* 08_default_tdf.patch
  - Make -tdf the default and add a -no-tdf option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __SEGMENT_DESCRIPTOR_H
 
2
#define __SEGMENT_DESCRIPTOR_H
 
3
 
1
4
struct segment_descriptor {
2
5
        u16 limit_low;
3
6
        u16 base_low;
14
17
        u8  base_high;
15
18
} __attribute__((packed));
16
19
 
 
20
#ifdef CONFIG_X86_64
 
21
/* LDT or TSS descriptor in the GDT. 16 bytes. */
 
22
struct segment_descriptor_64 {
 
23
        struct segment_descriptor s;
 
24
        u32 base_higher;
 
25
        u32 pad_zero;
 
26
};
17
27
 
 
28
#endif
 
29
#endif