processor.h (eadcbfa58ae8693f0d6a0f591d8f51d55cf068e1) | processor.h (6c690ee1039b251e583fc65b28da30e97d6a7385) |
---|---|
1#ifndef _ASM_X86_PROCESSOR_H 2#define _ASM_X86_PROCESSOR_H 3 4#include <asm/processor-flags.h> 5 6/* Forward declaration, a strange C thing */ 7struct task_struct; 8struct mm_struct; --- 217 unchanged lines hidden (view full) --- 226/* 227 * Native CPUID functions returning a single datum. 228 */ 229native_cpuid_reg(eax) 230native_cpuid_reg(ebx) 231native_cpuid_reg(ecx) 232native_cpuid_reg(edx) 233 | 1#ifndef _ASM_X86_PROCESSOR_H 2#define _ASM_X86_PROCESSOR_H 3 4#include <asm/processor-flags.h> 5 6/* Forward declaration, a strange C thing */ 7struct task_struct; 8struct mm_struct; --- 217 unchanged lines hidden (view full) --- 226/* 227 * Native CPUID functions returning a single datum. 228 */ 229native_cpuid_reg(eax) 230native_cpuid_reg(ebx) 231native_cpuid_reg(ecx) 232native_cpuid_reg(edx) 233 |
234/* 235 * Friendlier CR3 helpers. 236 */ 237static inline unsigned long read_cr3_pa(void) 238{ 239 return __read_cr3() & CR3_ADDR_MASK; 240} 241 |
|
234static inline void load_cr3(pgd_t *pgdir) 235{ 236 write_cr3(__pa(pgdir)); 237} 238 239#ifdef CONFIG_X86_32 240/* This is the TSS defined by the hardware. */ 241struct x86_hw_tss { --- 693 unchanged lines hidden --- | 242static inline void load_cr3(pgd_t *pgdir) 243{ 244 write_cr3(__pa(pgdir)); 245} 246 247#ifdef CONFIG_X86_32 248/* This is the TSS defined by the hardware. */ 249struct x86_hw_tss { --- 693 unchanged lines hidden --- |