| /xnu-11417.140.69/osfmk/i386/ |
| H A D | cpu_threads.c | 351 lcpu->core = NULL; in x86_lcpu_init() 366 x86_core_t *core; in x86_core_alloc() local 373 core = free_cores; in x86_core_alloc() 374 free_cores = core->next_in_die; in x86_core_alloc() 375 core->next_in_die = NULL; in x86_core_alloc() 379 core = zalloc_permanent_type(x86_core_t); in x86_core_alloc() 380 if (core == NULL) { in x86_core_alloc() 385 core->pcore_num = cpup->cpu_phys_number / topoParms.nPThreadsPerCore; in x86_core_alloc() 386 core->lcore_num = core->pcore_num % topoParms.nPCoresPerPackage; in x86_core_alloc() 388 core->flags = X86CORE_FL_PRESENT | X86CORE_FL_READY in x86_core_alloc() [all …]
|
| H A D | hpet.c | 114 x86_core_t *core; in hpet_request() local 130 core = lcpu->core; in hpet_request() 131 pkg = core->package; in hpet_request() 149 core = lcpu->core; in hpet_request() 150 pkg = core->package; in hpet_request() 155 core->Hpet = (hpetTimer_t *)((uint8_t *)hpetArea + hpetReq.hpetOffset); in hpet_request() 156 core->HpetVec = hpetReq.hpetVector; in hpet_request() 161 core->Hpet->Config |= Tn_INT_ENB_CNF; in hpet_request() 166 core->HpetCfg = core->Hpet->Config; in hpet_request() 167 core->HpetCmp = 0; in hpet_request() [all …]
|
| H A D | cpu_threads.h | 46 #define _cpu_to_core(cpu) (_cpu_to_lcpu(cpu)->core) 50 #define cpu_to_core(cpu) ((cpu_to_lcpu(cpu) != NULL) ? _cpu_to_lcpu(cpu)->core : NUL… 56 #define x86_core() (x86_lcpu()->core)
|
| H A D | cpu_topology.h | 129 struct x86_core *core; /* core containing the logical cpu */ member
|
| /xnu-11417.140.69/tools/lldbmacros/ |
| H A D | Makefile | 32 core/__init__.py \ 33 core/caching.py \ 34 core/iterators.py \ 35 core/configuration.py \ 36 core/cvalue.py \ 37 core/io.py \ 38 core/kernelcore.py \ 39 core/lazytarget.py \ 40 core/lldbwrap.py \ 41 core/operating_system.py \ [all …]
|
| H A D | exclaves.py | 6 from core.kernelcore import IterateLinkageChain 7 from core.cvalue import addressof 8 from core.standard import VT, ArgumentError 9 from core.configuration import config, vHUMAN
|
| H A D | README.md | 32 …u need to debug a core file, you can add '--core /path/to/corefile' to your lldb command (e.g. `xc… 44 * connect to remote device or load a core file 49 #for loading a core file 50 (lldb) file --core /path/to/core/file /path/to/kernel_symbol_file 81 | | |--lldb core--| | | <-- interacts with remote kernel or corefile. 106 …|-core/ # Core logic about kernel, lldb value abstraction, configs etc. **DO NOT TOUCH THIS … 115 …ts/ # unit tests for macros, using lldb scripted process to simulate debugging a core file 156 It is recommended that you do a decoupled development for command interface and core utility functi… 169 …- note that we use core.value class as an interface to underlying C structures. Refer [Section B] … 171 - remember that the ideal type of object to be passed around is core.value [all …]
|
| H A D | kext.py | 6 import core 9 from core.cvalue import ( 14 from core.caching import ( 18 from core.io import SBProcessRawIO 61 …lf, uuid: str, vmaddr, name: str, address: int, segments: list[MachOSegment], summary: core.value): 147 for kext in (core.value(e.AddressOf()) for e in arr.xIterSiblings(0, total)):
|
| H A D | .lldbinit | 1 settings set target.process.python-os-plugin-path ./core/operating_system.py
|
| H A D | utils.py | 10 from core.cvalue import * 11 from core.configuration import * 12 from core.lazytarget import * 78 if type(sbval) == core.value:
|
| H A D | xnu.py | 11 import core 12 from core import caching 13 from core.standard import * 14 from core.configuration import * 15 from core.kernelcore import * 17 from core.lazytarget import * 80 return '\n' + obj.header + '\n' + obj(core.value(lldbval), O=stream) 86 out_string += obj(core.value(lldbval)) 654 retval = core.cvalue.value(sbval)
|
| H A D | taskinfo.py | 1 from core.cvalue import sizeof, value
|
| H A D | waitq.py | 3 from core.configuration import * 4 from core import OSHashPointer
|
| H A D | memorystatus.py | 1 from core.cvalue import sizeof, value
|
| H A D | vm_pageout.py | 4 from core.cvalue import addressof, cast, sizeof, unsigned, value
|
| H A D | turnstile.py | 1 from core import xnu_format, iter_SLIST_HEAD
|
| /xnu-11417.140.69/bsd/skywalk/ |
| H A D | Makefile | 10 core channel mem nexus packet namespace 13 core channel mem nexus packet namespace
|
| /xnu-11417.140.69/doc/building/ |
| H A D | xnu_build_consolidation.md | 10 core/cluster counts or cache sizes). Similarly, SoC-specific fix-ups are usually conditionally comp… 59 * On a specific core type of a specific SoC. 72 …iding a family of assembly macros that can be used to conditionally execute code on a specific core 77 Similarly, where a block of code is to be executed on a core type, rather than a specific core ID, … 95 ### Deriving core/cluster counts from device tree 108 * Removing hardcoded core counts (`CPU_COUNT`) and cluster counts (`ARM_CLUSTER_COUNT`) from XNU, a… 113 ### Allocating memory that is core size/cluster size/cache size aligned 116 element per core or cluster. Whilst this information is not known precisely at compile time anymore…
|
| /xnu-11417.140.69/tools/lldbmacros/kmemory/ |
| H A D | vm.py | 13 from core import ( 21 from core.standard import ( 24 from core.kernelcore import ( 27 from core.iterators import (
|
| H A D | whatis.py | 4 from core import (
|
| /xnu-11417.140.69/doc/debugging/ |
| H A D | debugging.md | 3 Debugging XNU through kernel core files or with a live device. 53 from core.io import SBProcessRawIO 74 from core.io import SBProcessRawIO 85 from core.io import SBProcessRawIO 157 $ DEBUG_XNU_LLDBMACROS=1 xcrun -sdk <sdk> lldb -c core <dsympath>/mach_kernel 160 (lldb) settings set target.process.python-os-plugin-path <srcpath>/tools/lldbmacros/core/operating_… 182 $ xcrun -sdk <sdk> lldb -c core <dsym_path>/<kernel image> 193 * Some macros needs arguments which must be found in a core file. 194 * Some macros take a long time to run against a target (more than 30 minutes). Instead, a core dump
|
| /xnu-11417.140.69/bsd/man/man5/ |
| H A D | Makefile | 11 core.5 \
|
| /xnu-11417.140.69/tools/lldbmacros/usertaskdebugging/ |
| H A D | userprocess.py | 6 from core.operating_system import Armv8_RegisterSet, Armv7_RegisterSet, I386_RegisterSet, X86_64Reg… 7 from core import caching
|
| /xnu-11417.140.69/ |
| H A D | Makefile | 372 -disable-checker core.NullDereference \ 373 -disable-checker core.DivideZero \
|
| /xnu-11417.140.69/osfmk/x86_64/ |
| H A D | monotonic_x86_64.c | 53 #pragma mark core counters
|