Linux Kernel
3.7.1
|
#include <asm/desc.h>
Go to the source code of this file.
Data Structures | |
struct | lguest_regs |
struct | lguest_ro_state |
struct | lg_cpu_arch |
Macros | |
#define | GDT_ENTRY_LGUEST_CS 10 |
#define | GDT_ENTRY_LGUEST_DS 11 |
#define | LGUEST_CS (GDT_ENTRY_LGUEST_CS * 8) |
#define | LGUEST_DS (GDT_ENTRY_LGUEST_DS * 8) |
#define | GUEST_PL 1 |
#define | SHARED_SWITCHER_PAGES DIV_ROUND_UP(end_switcher_text - start_switcher_text, PAGE_SIZE) |
#define | TOTAL_SWITCHER_PAGES (SHARED_SWITCHER_PAGES + 2 * nr_cpu_ids) |
#define | SWITCHER_ADDR 0xFFC00000 |
#define | FULL_EXEC_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc09b, 0, 0xfffff)) |
#define | FULL_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc093, 0, 0xfffff)) |
Functions | |
void | lguest_iret (void) |
void | lguest_init (void) |
Variables | |
unsigned long | default_idt_entries [] |
char | lguest_noirq_start [] |
char | lguest_noirq_end [] |
const char | lgstart_cli [] |
const char | lgend_cli [] |
const char | lgstart_sti [] |
const char | lgend_sti [] |
const char | lgstart_popf [] |
const char | lgend_popf [] |
const char | lgstart_pushf [] |
const char | lgend_pushf [] |
const char | lgstart_iret [] |
const char | lgend_iret [] |
#define FULL_EXEC_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc09b, 0, 0xfffff)) |
#define FULL_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc093, 0, 0xfffff)) |
#define LGUEST_CS (GDT_ENTRY_LGUEST_CS * 8) |
#define LGUEST_DS (GDT_ENTRY_LGUEST_DS * 8) |
#define SHARED_SWITCHER_PAGES DIV_ROUND_UP(end_switcher_text - start_switcher_text, PAGE_SIZE) |
#define TOTAL_SWITCHER_PAGES (SHARED_SWITCHER_PAGES + 2 * nr_cpu_ids) |
unsigned long default_idt_entries[] |
char lguest_noirq_end[] |
char lguest_noirq_start[] |