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: counter.ph
require '_h2ph_pre.ph'; no warnings qw(redefine misc); unless(defined(&__MACHINE_COUNTER_H__)) { eval 'sub __MACHINE_COUNTER_H__ () {1;}' unless defined(&__MACHINE_COUNTER_H__); require 'sys/pcpu.ph'; eval 'sub EARLY_COUNTER () {( &void *) &__offsetof(\'struct pcpu\', &pc_early_dummy_counter);}' unless defined(&EARLY_COUNTER); eval 'sub counter_enter () { eval q( &do {} &while (0)); }' unless defined(&counter_enter); eval 'sub counter_exit () { eval q( &do {} &while (0)); }' unless defined(&counter_exit); if(defined(&IN_SUBR_COUNTER_C)) { eval 'sub counter_u64_read_one { my($c,$cpu) = @_; eval q({ &MPASS($c != &EARLY_COUNTER); (* &zpcpu_get_cpu($c, $cpu)); }); }' unless defined(&counter_u64_read_one); eval 'sub counter_u64_fetch_inline { my($c) = @_; eval q({ &uint64_t &r; \'int\' &cpu; &r = 0; &CPU_FOREACH( &cpu) &r += &counter_u64_read_one($c, &cpu); ( &r); }); }' unless defined(&counter_u64_fetch_inline); eval 'sub counter_u64_zero_inline { my($c) = @_; eval q({ &smp_rendezvous( &smp_no_rendezvous_barrier, &counter_u64_zero_one_cpu, &smp_no_rendezvous_barrier, $c); }); }' unless defined(&counter_u64_zero_inline); } eval 'sub counter_u64_add_protected { my($c, $i) = @_; eval q( &counter_u64_add($c, $i)); }' unless defined(&counter_u64_add_protected); eval 'sub counter_u64_add { my($c,$inc) = @_; eval q({ &KASSERT( &IS_BSP() || $c != &EARLY_COUNTER, (\\"EARLY_COUNTER used on AP\\")); &zpcpu_add($c, $inc); }); }' unless defined(&counter_u64_add); } 1;
Upload File
Create Folder