Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
smtc.h File Reference
#include <asm/mips_mt.h>
#include <asm/smtc_ipi.h>

Go to the source code of this file.

Macros

#define SMTC_TLB_SHARED   0x00000001
 
#define SMTC_MTC_ACTIVE   0x00000002
 
#define MAX_SMTC_TLBS   2
 
#define MAX_SMTC_ASIDS   256
 
#define MAX_SMTC_VPES   MAX_SMTC_TLBS /* FIXME: May not always be true. */
 
#define PARKED_INDEX   ((unsigned int)0x80000000)
 
#define MIPS_CPU_IPI_IRQ   1
 

Typedefs

typedef char asiduse
 

Functions

void smtc_get_new_mmu_context (struct mm_struct *mm, unsigned long cpu)
 
void self_ipi (struct smtc_ipi *)
 
void smtc_flush_tlb_asid (unsigned long asid)
 
int smtc_build_cpu_map (int startslot)
 
void smtc_prepare_cpus (int cpus)
 
void smtc_smp_finish (void)
 
void smtc_boot_secondary (int cpu, struct task_struct *t)
 
void smtc_cpus_done (void)
 
void smtc_init_secondary (void)
 

Variables

unsigned int smtc_status
 
asiduse smtc_live_asid [MAX_SMTC_TLBS][MAX_SMTC_ASIDS]
 

Macro Definition Documentation

#define MAX_SMTC_ASIDS   256

Definition at line 25 of file smtc.h.

#define MAX_SMTC_TLBS   2

Definition at line 24 of file smtc.h.

#define MAX_SMTC_VPES   MAX_SMTC_TLBS /* FIXME: May not always be true. */

Definition at line 40 of file smtc.h.

#define MIPS_CPU_IPI_IRQ   1

Definition at line 75 of file smtc.h.

#define PARKED_INDEX   ((unsigned int)0x80000000)

Definition at line 66 of file smtc.h.

#define SMTC_MTC_ACTIVE   0x00000002

Definition at line 18 of file smtc.h.

#define SMTC_TLB_SHARED   0x00000001

Definition at line 17 of file smtc.h.

Typedef Documentation

typedef char asiduse

Definition at line 27 of file smtc.h.

Function Documentation

void self_ipi ( struct smtc_ipi )
void smtc_boot_secondary ( int  cpu,
struct task_struct t 
)

Definition at line 646 of file smtc.c.

int smtc_build_cpu_map ( int  startslot)

Definition at line 304 of file smtc.c.

void smtc_cpus_done ( void  )

Definition at line 699 of file smtc.c.

void smtc_flush_tlb_asid ( unsigned long  asid)

Definition at line 1449 of file smtc.c.

void smtc_get_new_mmu_context ( struct mm_struct mm,
unsigned long  cpu 
)

Definition at line 1370 of file smtc.c.

void smtc_init_secondary ( void  )

Definition at line 676 of file smtc.c.

void smtc_prepare_cpus ( int  cpus)

Definition at line 397 of file smtc.c.

void smtc_smp_finish ( void  )

Definition at line 680 of file smtc.c.

Variable Documentation

Definition at line 77 of file smtc.c.

unsigned int smtc_status

Definition at line 105 of file smtc.c.