ReactOS
0.4.14-dev-583-g2a1ba2c
|
Go to the source code of this file.
Functions | |
int | GetMSR () |
int | GetDEC () |
__asm__ ("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
__asm__ ("\t.globl GetPhysHalf\n" "GetPhysHalf:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lhz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
__asm__ ("\t.globl GetPhysByte\n" "GetPhysByte:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lbz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
__asm__ ("\t.globl SetPhys\n" "SetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "stw 4,0(3)\n\t" "dcbst 0,3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr 3,4\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
__asm__ ("\t.globl SetPhysHalf\n" "SetPhysHalf:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "sth 4,0(3)\n\t" "dcbst 0,3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr 3,4\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
__asm__ ("\t.globl SetPhysByte\n" "SetPhysByte:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "stb 4,0(3)\n\t" "dcbst 0,3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr 3,4\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr") | |
int | GetSR (int n) |
void | GetBat (int bat, int inst, int *batHi, int *batLo) |
void | SetBat (int bat, int inst, int batHi, int batLo) |
int | GetSDR1 () |
void | SetSDR1 (int sdr) |
int | BatHit (int bath, int batl, int virt) |
int | BatTranslate (int bath, int batl, int virt) |
int | PpcVirt2phys (int virt, int inst) |
BOOLEAN | InsertPageEntry (int virt, int phys, int slot, int _sdr1) |
__asm__ | ( | "\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz | 3, | ||
0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
Referenced by __addfsbyte(), __addfsdword(), __addfsword(), __break(), __cpuid(), __cpuidex(), __debugbreak(), __declspec(), __DestructExceptionObject(), __emul(), __emulu(), __fp_unordered_compare(), __fpclassify(), __fpclassifyf(), __fpclassifyl(), __halt(), __inbyte(), __inbytestring(), __incfsbyte(), __incfsdword(), __incfsword(), __indword(), __indwordstring(), __int2c(), __invlpg(), __inword(), __inwordstring(), __isnan(), __isnanf(), __isnanl(), __lidt(), __ll_lshift(), __ll_rshift(), __movsb(), __movsd(), __movsw(), __nop(), __outbyte(), __outbytestring(), __outdword(), __outdwordstring(), __outword(), __outwordstring(), __rdtsc(), __readcr0(), __readcr2(), __readcr3(), __readcr4(), __readcr8(), __readdr(), __readeflags(), __readfsbyte(), __readfsdword(), __readfsword(), __readmsr(), __readpmc(), __readsdr1(), __segmentlimit(), __sidt(), __signbit(), __signbitf(), __signbitl(), __stack_chk_fail(), __stosb(), __stosd(), __stosw(), __ud2(), __ull_rshift(), __wbinvd(), __writecr0(), __writecr3(), __writecr4(), __writecr8(), __writedr(), __writeeflags(), __writefsbyte(), __writefsdword(), __writefsword(), __writemsr(), __writesdr1(), __yield(), _BitScanForward(), _BitScanReverse(), _bittest(), _bittestandcomplement(), _bittestandreset(), _bittestandset(), _byteswap_uint64(), _byteswap_ulong(), _byteswap_ushort(), _clearfp(), _control87(), _disable(), _enable(), _fpreset(), _InterlockedAddLargeStatistic(), _interlockedbittestandreset(), _interlockedbittestandset(), _InterlockedCompareExchange(), _InterlockedCompareExchange16(), _InterlockedCompareExchange64(), _InterlockedCompareExchange8(), _InterlockedCompareExchangePointer(), _InterlockedExchange(), _InterlockedExchange16(), _InterlockedExchange8(), _InterlockedExchangeAdd(), _InterlockedExchangeAdd16(), _InterlockedExchangeAdd8(), _InterlockedExchangePointer(), _lrintf(), _lrotl(), _lrotr(), _mm_getcsr(), _mm_lfence(), _mm_mfence(), _mm_pause(), _mm_setcsr(), _mm_sfence(), _mmumain(), _ReadWriteBarrier(), _rotl(), _rotl16(), _rotl8(), _rotr(), _rotr16(), _rotr8(), _SEH2Except(), _SEH2Finally(), _SEH2GlobalUnwind(), _sgdt(), _statusfp(), ArchTrapNoProcess(), atomic_add(), atomic_add_negative(), atomic_dec(), atomic_dec_and_test(), atomic_inc(), atomic_inc_and_test(), atomic_sub(), atomic_sub_and_test(), BlpArchInitialize(), call_test(), callkernel(), COMMAND_PROTOTYPE(), d3d_fpu_setup(), DbgBreakPoint(), DbgBreakPointWithStatus(), DebugService(), DIB_16BPP_ColorFill(), DIB_16BPP_HLine(), DIB_24BPP_ColorFill(), do_x86cpuid(), FrLdrStartup(), GetBat(), GetDEC(), GetGDTPtr(), GetLinearAddress(), GetMSR(), GetSDR1(), GetSR(), HalSweepDcache(), have_x86cpuid(), InitPICE(), InvalidateLB(), KeArmCacheRegisterGet(), KeArmControlRegisterGet(), KeArmControlRegisterSet(), KeArmDomainRegisterSet(), KeArmFaultAddressRegisterGet(), KeArmFaultStatusRegisterGet(), KeArmFlushIcache(), KeArmFlushTlb(), KeArmHaltProcessor(), KeArmIdCodeRegisterGet(), KeArmInstructionFaultStatusRegisterGet(), KeArmInvalidateAllCaches(), KeArmInvalidateTlbEntry(), KeArmLockdownRegisterGet(), KeArmLockdownRegisterSet(), KeArmStatusRegisterGet(), KeArmTranslationTableRegisterGet(), KeArmTranslationTableRegisterSet(), KeArmWaitForInterrupt(), KeFlushProcessTb(), KeGetCurrentProcessorNumber(), KeMemoryBarrier(), KeSweepICache(), KiDecrementerTrap(), KiInitializeContextThread(), KiIret(), KiIsNpxErrataPresent(), KiSetupDecrementerTrap(), KiSwapContext(), KiSwitchToBootStack(), KiSystemStartupReal(), KiThreadStartup(), llrint(), llrintf(), llrintl(), logb(), logbf(), logbl(), lrint(), lrintf(), lrintl(), main(), MiFlushTlb(), MiFlushTlbIpiRoutine(), mmuaddpage(), mmudelpage(), mmunitest(), NmiClearFlag(), NtCurrentTeb(), pice_ioctl(), PiceKbdIsr(), PPCMMU(), PpcPrepGetMemoryMap(), ptegreload(), RestoreIdt(), rint(), rintf(), rintl(), RtlUlongByteSwap(), RtlWalkFrameChain(), set_fpu_control_word(), SetBat(), SetGlobalInt(), SetHardwareBreakPoint(), SetHardwareBreakPoints(), SetSDR1(), setup_fpu(), sync(), TakeIdtSnapshot(), TestSSEExceptions(), trapcallback(), VarCyFromR8(), wined3d_pause(), and ZSTD_cpuid().
__asm__ | ( | "\t.globl GetPhysHalf\n" "GetPhysHalf:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lhz | 3, | ||
0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
__asm__ | ( | "\t.globl GetPhysByte\n" "GetPhysByte:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lbz | 3, | ||
0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
__asm__ | ( | "\t.globl SetPhys\n" "SetPhys:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "stw | 4, | ||
0(3)\n\t" "dcbst | 0, | ||
3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr | 3, | ||
4\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
__asm__ | ( | "\t.globl SetPhysHalf\n" "SetPhysHalf:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "sth | 4, | ||
0(3)\n\t" "dcbst | 0, | ||
3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr | 3, | ||
4\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
__asm__ | ( | "\t.globl SetPhysByte\n" "SetPhysByte:\t\n" "mflr 0\n\t" "stwu | 0, |
-16(1)\n\t" "mfmsr 5\n\t" "andi. | 6, | ||
5 | , | ||
0xffef\n\t" "mtmsr 6\n\t" "sync\n\t" "eieio\n\t" "stb | 4, | ||
0(3)\n\t" "dcbst | 0, | ||
3\n\t" "mtmsr 5\n\t" "sync\n\t" "eieio\n\t" "mr | 3, | ||
4\n\t" "lwz | 0, | ||
0(1)\n\t" "addi | 1, | ||
1 | , | ||
16\n\t" "mtlr 0\n\t" "blr" | |||
) |
Definition at line 313 of file mmu.c.
Referenced by PpcVirt2phys().
Definition at line 191 of file mmu.c.
Referenced by PPCMMU(), and PpcVirt2phys().
Definition at line 4 of file mmu.c.
Referenced by PpcVirt2phys().
Definition at line 282 of file mmu.c.
Referenced by InsertPageEntry(), and PpcVirt2phys().
Definition at line 136 of file mmu.c.
Referenced by InsertPageEntry(), mmusetvsid(), and PpcVirt2phys().
Definition at line 373 of file mmu.c.
Definition at line 318 of file mmu.c.
Definition at line 236 of file mmu.c.
Referenced by _mmumain(), and PPCMMU().
Definition at line 288 of file mmu.c.