#include <asm/desc_defs.h>
#include <asm/ldt.h>
#include <asm/mmu.h>
#include <linux/smp.h>
#include <linux/percpu.h>
Go to the source code of this file.
|
#define | load_TR_desc() native_load_tr_desc() |
|
#define | load_gdt(dtr) native_load_gdt(dtr) |
|
#define | load_idt(dtr) native_load_idt(dtr) |
|
#define | load_tr(tr) asm volatile("ltr %0"::"m" (tr)) |
|
#define | load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt)) |
|
#define | store_gdt(dtr) native_store_gdt(dtr) |
|
#define | store_idt(dtr) native_store_idt(dtr) |
|
#define | store_tr(tr) (tr = native_store_tr()) |
|
#define | load_TLS(t, cpu) native_load_tls(t, cpu) |
|
#define | set_ldt native_set_ldt |
|
#define | write_ldt_entry(dt, entry, desc) native_write_ldt_entry(dt, entry, desc) |
|
#define | write_gdt_entry(dt, entry, desc, type) native_write_gdt_entry(dt, entry, desc, type) |
|
#define | write_idt_entry(dt, entry, g) native_write_idt_entry(dt, entry, g) |
|
#define | store_ldt(ldt) asm("sldt %0" : "=m"(ldt)) |
|
#define | set_tss_desc(cpu, addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr) |
|
#define | _LDT_empty(info) |
|
#define | LDT_empty(info) (_LDT_empty(info)) |
|
#define _LDT_empty |
( |
|
info | ) |
|
Value:((
info)->base_addr == 0 && \
(
info)->contents == 0 && \
(
info)->read_exec_only == 1 && \
(
info)->seg_32bit == 0 && \
(
info)->limit_in_pages == 0 && \
(
info)->seg_not_present == 1 && \
Definition at line 254 of file desc.h.
#define load_gdt |
( |
|
dtr | ) |
native_load_gdt(dtr) |
#define load_idt |
( |
|
dtr | ) |
native_load_idt(dtr) |
#define load_ldt |
( |
|
ldt | ) |
asm volatile("lldt %0"::"m" (ldt)) |
#define load_TLS |
( |
|
t, |
|
|
|
cpu |
|
) |
| native_load_tls(t, cpu) |
#define load_tr |
( |
|
tr | ) |
asm volatile("ltr %0"::"m" (tr)) |
#define load_TR_desc |
( |
| ) |
native_load_tr_desc() |
#define set_ldt native_set_ldt |
#define store_gdt |
( |
|
dtr | ) |
native_store_gdt(dtr) |
#define store_idt |
( |
|
dtr | ) |
native_store_idt(dtr) |
#define store_ldt |
( |
|
ldt | ) |
asm("sldt %0" : "=m"(ldt)) |
#define store_tr |
( |
|
tr | ) |
(tr = native_store_tr()) |
#define write_idt_entry |
( |
|
dt, |
|
|
|
entry, |
|
|
|
g |
|
) |
| native_write_idt_entry(dt, entry, g) |
unsigned long used_vectors[] |