003 File Manager
Current Path:
/usr/local/lib/perl5/site_perl/mach/5.32/machine
usr
/
local
/
lib
/
perl5
/
site_perl
/
mach
/
5.32
/
machine
/
📁
..
📄
_align.ph
(85 B)
📄
_bus.ph
(186 B)
📄
_inttypes.ph
(88 B)
📄
_limits.ph
(86 B)
📄
_stdint.ph
(86 B)
📄
_types.ph
(85 B)
📄
acpica_machdep.ph
(93 B)
📄
apm_bios.ph
(87 B)
📄
asm.ph
(2.5 KB)
📄
asmacros.ph
(4.5 KB)
📄
atomic.ph
(23.93 KB)
📄
bus.ph
(82 B)
📄
bus_dma.ph
(207 B)
📄
clock.ph
(303 B)
📄
counter.ph
(1.6 KB)
📄
cpu.ph
(1.38 KB)
📄
cpufunc.ph
(21.3 KB)
📄
cputypes.ph
(87 B)
📄
csan.ph
(775 B)
📄
db_machdep.ph
(2.72 KB)
📄
dump.ph
(83 B)
📄
efi.ph
(1003 B)
📄
elf.ph
(82 B)
📄
endian.ph
(85 B)
📄
exec.ph
(236 B)
📄
fdt.ph
(82 B)
📄
float.ph
(84 B)
📄
floatingpoint.ph
(238 B)
📄
fpu.ph
(729 B)
📄
frame.ph
(196 B)
📄
gdb_machdep.ph
(1.85 KB)
📄
ieeefp.ph
(5.91 KB)
📄
in_cksum.ph
(1.19 KB)
📄
intr_machdep.ph
(573 B)
📄
iodev.ph
(659 B)
📄
iommu.ph
(84 B)
📄
kdb.ph
(956 B)
📄
limits.ph
(374 B)
📄
md_var.ph
(210 B)
📄
memdev.ph
(324 B)
📄
metadata.ph
(87 B)
📄
minidump.ph
(355 B)
📄
mp_watchdog.ph
(195 B)
📄
nexusvar.ph
(186 B)
📄
npx.ph
(82 B)
📄
ofw_machdep.ph
(90 B)
📄
param.ph
(5.11 KB)
📄
pcb.ph
(1011 B)
📄
pci_cfgreg.ph
(89 B)
📄
pcpu.ph
(8.96 KB)
📄
pcpu_aux.ph
(758 B)
📄
pmap.ph
(13.6 KB)
📄
pmc_mdep.ph
(3.2 KB)
📄
ppireg.ph
(744 B)
📄
proc.ph
(1.06 KB)
📄
procctl.ph
(86 B)
📄
profile.ph
(4.01 KB)
📄
psl.ph
(82 B)
📄
ptrace.ph
(85 B)
📄
pvclock.ph
(86 B)
📄
reg.ph
(82 B)
📄
reloc.ph
(192 B)
📄
resource.ph
(555 B)
📄
runq.ph
(727 B)
📄
segments.ph
(251 B)
📄
setjmp.ph
(85 B)
📄
sf_buf.ph
(305 B)
📄
sgx.ph
(657 B)
📄
sgxreg.ph
(2.68 KB)
📄
sigframe.ph
(87 B)
📄
signal.ph
(85 B)
📄
smp.ph
(296 B)
📄
specialreg.ph
(89 B)
📄
stack.ph
(84 B)
📄
stdarg.ph
(85 B)
📄
sysarch.ph
(86 B)
📄
timerreg.ph
(685 B)
📄
trap.ph
(83 B)
📄
tss.ph
(171 B)
📄
ucontext.ph
(87 B)
📄
vdso.ph
(83 B)
📄
vm.ph
(1.04 KB)
📄
vmm.ph
(11.92 KB)
📄
vmm_dev.ph
(14.37 KB)
📄
vmm_instruction_emul.ph
(384 B)
📄
vmm_snapshot.ph
(2.65 KB)
📄
vmparam.ph
(5.83 KB)
Editing: pmc_mdep.ph
require '_h2ph_pre.ph'; no warnings qw(redefine misc); unless(defined(&_MACHINE_PMC_MDEP_H)) { eval 'sub _MACHINE_PMC_MDEP_H () {1;}' unless defined(&_MACHINE_PMC_MDEP_H); if(defined(&_KERNEL)) { } require 'dev/hwpmc/hwpmc_amd.ph'; require 'dev/hwpmc/hwpmc_core.ph'; require 'dev/hwpmc/hwpmc_tsc.ph'; require 'dev/hwpmc/hwpmc_uncore.ph'; eval 'sub PMC_MDEP_CLASS_INDEX_TSC () {1;}' unless defined(&PMC_MDEP_CLASS_INDEX_TSC); eval 'sub PMC_MDEP_CLASS_INDEX_K8 () {2;}' unless defined(&PMC_MDEP_CLASS_INDEX_K8); eval 'sub PMC_MDEP_CLASS_INDEX_P4 () {2;}' unless defined(&PMC_MDEP_CLASS_INDEX_P4); eval 'sub PMC_MDEP_CLASS_INDEX_IAP () {2;}' unless defined(&PMC_MDEP_CLASS_INDEX_IAP); eval 'sub PMC_MDEP_CLASS_INDEX_IAF () {3;}' unless defined(&PMC_MDEP_CLASS_INDEX_IAF); eval 'sub PMC_MDEP_CLASS_INDEX_UCP () {4;}' unless defined(&PMC_MDEP_CLASS_INDEX_UCP); eval 'sub PMC_MDEP_CLASS_INDEX_UCF () {5;}' unless defined(&PMC_MDEP_CLASS_INDEX_UCF); eval 'sub PMCLOG_READADDR () { &PMCLOG_READ64;}' unless defined(&PMCLOG_READADDR); eval 'sub PMCLOG_EMITADDR () { &PMCLOG_EMIT64;}' unless defined(&PMCLOG_EMITADDR); if(defined(&_KERNEL)) { eval 'sub PMC_TRAPFRAME_TO_PC { my($TF) = @_; eval q((($TF)-> &tf_rip)); }' unless defined(&PMC_TRAPFRAME_TO_PC); eval 'sub PMC_TRAPFRAME_TO_FP { my($TF) = @_; eval q((($TF)-> &tf_rbp)); }' unless defined(&PMC_TRAPFRAME_TO_FP); eval 'sub PMC_TRAPFRAME_TO_USER_SP { my($TF) = @_; eval q((($TF)-> &tf_rsp)); }' unless defined(&PMC_TRAPFRAME_TO_USER_SP); eval 'sub PMC_TRAPFRAME_TO_KERNEL_SP { my($TF) = @_; eval q((($TF)-> &tf_rsp)); }' unless defined(&PMC_TRAPFRAME_TO_KERNEL_SP); eval 'sub PMC_AT_FUNCTION_PROLOGUE_PUSH_BP { my($I) = @_; eval q(((($I) & 0xffffffff) == 0xe5894855)); }' unless defined(&PMC_AT_FUNCTION_PROLOGUE_PUSH_BP); eval 'sub PMC_AT_FUNCTION_PROLOGUE_MOV_SP_BP { my($I) = @_; eval q(((($I) & 0xffffff) == 0xe58948)); }' unless defined(&PMC_AT_FUNCTION_PROLOGUE_MOV_SP_BP); eval 'sub PMC_AT_FUNCTION_EPILOGUE_RET { my($I) = @_; eval q(((($I) & 0xff) == 0xc3)); }' unless defined(&PMC_AT_FUNCTION_EPILOGUE_RET); eval 'sub PMC_IN_TRAP_HANDLER { my($PC) = @_; eval q((($PC) >= ( &uintptr_t) &start_exceptions && ($PC) < ( &uintptr_t) &end_exceptions)); }' unless defined(&PMC_IN_TRAP_HANDLER); eval 'sub PMC_IN_KERNEL_STACK { my($S,$START,$END) = @_; eval q((($S) >= ($START) && ($S) < ($END))); }' unless defined(&PMC_IN_KERNEL_STACK); eval 'sub PMC_IN_KERNEL { my($va) = @_; eval q( &INKERNEL($va)); }' unless defined(&PMC_IN_KERNEL); eval 'sub PMC_IN_USERSPACE { my($va) = @_; eval q((($va) <= &VM_MAXUSER_ADDRESS)); }' unless defined(&PMC_IN_USERSPACE); eval 'sub PMC_FAKE_TRAPFRAME { my($TF) = @_; eval q( &do { ($TF)-> &tf_cs = 0; ($TF)-> &tf_rflags = 0; &__asm &__volatile(\\"movq %%rbp,%0\\" : \\"=r\\" (($TF)-> &tf_rbp)); &__asm &__volatile(\\"movq %%rsp,%0\\" : \\"=r\\" (($TF)-> &tf_rsp)); &__asm &__volatile(\\"call 1f \\\\n\\\\t1: pop %0\\" : \\"=r\\"(($TF)-> &tf_rip)); } &while (0)); }' unless defined(&PMC_FAKE_TRAPFRAME); } } 1;
Upload File
Create Folder