Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
lguest.h File Reference
#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 []
 

Macro Definition Documentation

#define FULL_EXEC_SEGMENT   ((struct desc_struct)GDT_ENTRY_INIT(0xc09b, 0, 0xfffff))

Definition at line 93 of file lguest.h.

#define FULL_SEGMENT   ((struct desc_struct)GDT_ENTRY_INIT(0xc093, 0, 0xfffff))

Definition at line 95 of file lguest.h.

#define GDT_ENTRY_LGUEST_CS   10

Definition at line 4 of file lguest.h.

#define GDT_ENTRY_LGUEST_DS   11

Definition at line 5 of file lguest.h.

#define GUEST_PL   1

Definition at line 12 of file lguest.h.

#define LGUEST_CS   (GDT_ENTRY_LGUEST_CS * 8)

Definition at line 6 of file lguest.h.

#define LGUEST_DS   (GDT_ENTRY_LGUEST_DS * 8)

Definition at line 7 of file lguest.h.

#define SHARED_SWITCHER_PAGES   DIV_ROUND_UP(end_switcher_text - start_switcher_text, PAGE_SIZE)

Definition at line 15 of file lguest.h.

#define SWITCHER_ADDR   0xFFC00000

Definition at line 24 of file lguest.h.

#define TOTAL_SWITCHER_PAGES   (SHARED_SWITCHER_PAGES + 2 * nr_cpu_ids)

Definition at line 18 of file lguest.h.

Function Documentation

void lguest_init ( void  )

Definition at line 1271 of file boot.c.

void lguest_iret ( void  )

Variable Documentation

unsigned long default_idt_entries[]
const char lgend_cli[]
const char lgend_iret[]
const char lgend_popf[]
const char lgend_pushf[]
const char lgend_sti[]
const char lgstart_cli[]
const char lgstart_iret[]
const char lgstart_popf[]
const char lgstart_pushf[]
const char lgstart_sti[]
char lguest_noirq_end[]
char lguest_noirq_start[]