Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
tboot.c File Reference
#include <linux/dma_remapping.h>
#include <linux/init_task.h>
#include <linux/spinlock.h>
#include <linux/export.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/dmar.h>
#include <linux/cpu.h>
#include <linux/pfn.h>
#include <linux/mm.h>
#include <linux/tboot.h>
#include <asm/realmode.h>
#include <asm/processor.h>
#include <asm/bootparam.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/swiotlb.h>
#include <asm/fixmap.h>
#include <asm/proto.h>
#include <asm/setup.h>
#include <asm/e820.h>
#include <asm/io.h>
#include "../realmode/rm/wakeup.h"

Go to the source code of this file.

Data Structures

struct  sha1_hash
 
struct  sinit_mle_data
 

Macros

#define AP_WAIT_TIMEOUT   1
 
#define pr_fmt(fmt)   "tboot: " fmt
 
#define TB_COPY_GAS(tbg, g)
 
#define TXT_PUB_CONFIG_REGS_BASE   0xfed30000
 
#define TXT_PRIV_CONFIG_REGS_BASE   0xfed20000
 
#define NR_TXT_CONFIG_PAGES
 
#define TXTCR_HEAP_BASE   0x0300
 
#define TXTCR_HEAP_SIZE   0x0308
 
#define SHA1_SIZE   20
 

Functions

 EXPORT_SYMBOL (tboot)
 
void __init tboot_probe (void)
 
void tboot_shutdown (u32 shutdown_type)
 
 late_initcall (tboot_late_init)
 
struct acpi_table_headertboot_get_dmar_table (struct acpi_table_header *dmar_tbl)
 
int tboot_force_iommu (void)
 

Variables

struct tboot *tboot __read_mostly
 
struct sinit_mle_data __packed
 

Macro Definition Documentation

#define AP_WAIT_TIMEOUT   1

Definition at line 54 of file tboot.c.

#define NR_TXT_CONFIG_PAGES
Value:
TXT_PRIV_CONFIG_REGS_BASE) >> PAGE_SHIFT)

Definition at line 365 of file tboot.c.

#define pr_fmt (   fmt)    "tboot: " fmt

Definition at line 57 of file tboot.c.

#define SHA1_SIZE   20

Definition at line 372 of file tboot.c.

#define TB_COPY_GAS (   tbg,
  g 
)
Value:
tbg.space_id = g.space_id; \
tbg.bit_width = g.bit_width; \
tbg.bit_offset = g.bit_offset; \
tbg.access_width = g.access_width; \
tbg.address = g.address;
#define TXT_PRIV_CONFIG_REGS_BASE   0xfed20000

Definition at line 362 of file tboot.c.

#define TXT_PUB_CONFIG_REGS_BASE   0xfed30000

Definition at line 361 of file tboot.c.

#define TXTCR_HEAP_BASE   0x0300

Definition at line 369 of file tboot.c.

#define TXTCR_HEAP_SIZE   0x0308

Definition at line 370 of file tboot.c.

Function Documentation

EXPORT_SYMBOL ( tboot  )
late_initcall ( tboot_late_init  )
int tboot_force_iommu ( void  )

Definition at line 440 of file tboot.c.

struct acpi_table_header* tboot_get_dmar_table ( struct acpi_table_header dmar_tbl)
read

Definition at line 396 of file tboot.c.

void __init tboot_probe ( void  )

Definition at line 61 of file tboot.c.

void tboot_shutdown ( u32  shutdown_type)

Definition at line 221 of file tboot.c.

Variable Documentation

struct tboot* tboot __read_mostly

Definition at line 50 of file tboot.c.