diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 21:03:28 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:51 -0400 |
commit | 56adbe9ddc935600c64635d6a55c260a63c67e4a (patch) | |
tree | 061789e573380943f70c20b2d9e8da4042bac0e6 /drivers/lguest/lg.h | |
parent | 48245cc0708d49d1d0566b9fa617ad6c5f4c6934 (diff) |
Make shadow IDT a complete IDT with 256 entries.
This simplifies the code a little, in preparation for allowing
alternate system call vectors in guests (Plan 9 uses 0x40).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r-- | drivers/lguest/lg.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index c9d1dc29490d..c1ca127ddece 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h | |||
@@ -184,8 +184,7 @@ struct lguest | |||
184 | struct desc_struct gdt[GDT_ENTRIES]; | 184 | struct desc_struct gdt[GDT_ENTRIES]; |
185 | 185 | ||
186 | /* The IDT entries: some copied into lguest_ro_state when running. */ | 186 | /* The IDT entries: some copied into lguest_ro_state when running. */ |
187 | struct desc_struct idt[FIRST_EXTERNAL_VECTOR+LGUEST_IRQS]; | 187 | struct desc_struct idt[IDT_ENTRIES]; |
188 | struct desc_struct syscall_idt; | ||
189 | 188 | ||
190 | /* Virtual clock device */ | 189 | /* Virtual clock device */ |
191 | struct hrtimer hrt; | 190 | struct hrtimer hrt; |