Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 49) sorted by relevance

12

/xnu-11417.140.69/osfmk/i386/
H A Dcpu_threads.c351 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 Dhpet.c114 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 Dcpu_threads.h46 #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 Dcpu_topology.h129 struct x86_core *core; /* core containing the logical cpu */ member
/xnu-11417.140.69/tools/lldbmacros/
H A DMakefile32 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 Dexclaves.py6 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 DREADME.md32 …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 Dkext.py6 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.lldbinit1 settings set target.process.python-os-plugin-path ./core/operating_system.py
H A Dutils.py10 from core.cvalue import *
11 from core.configuration import *
12 from core.lazytarget import *
78 if type(sbval) == core.value:
H A Dxnu.py11 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 Dtaskinfo.py1 from core.cvalue import sizeof, value
H A Dwaitq.py3 from core.configuration import *
4 from core import OSHashPointer
H A Dmemorystatus.py1 from core.cvalue import sizeof, value
H A Dvm_pageout.py4 from core.cvalue import addressof, cast, sizeof, unsigned, value
H A Dturnstile.py1 from core import xnu_format, iter_SLIST_HEAD
/xnu-11417.140.69/bsd/skywalk/
H A DMakefile10 core channel mem nexus packet namespace
13 core channel mem nexus packet namespace
/xnu-11417.140.69/doc/building/
H A Dxnu_build_consolidation.md10 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 Dvm.py13 from core import (
21 from core.standard import (
24 from core.kernelcore import (
27 from core.iterators import (
H A Dwhatis.py4 from core import (
/xnu-11417.140.69/doc/debugging/
H A Ddebugging.md3 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 DMakefile11 core.5 \
/xnu-11417.140.69/tools/lldbmacros/usertaskdebugging/
H A Duserprocess.py6 from core.operating_system import Armv8_RegisterSet, Armv7_RegisterSet, I386_RegisterSet, X86_64Reg…
7 from core import caching
/xnu-11417.140.69/
H A DMakefile372 -disable-checker core.NullDereference \
373 -disable-checker core.DivideZero \
/xnu-11417.140.69/osfmk/x86_64/
H A Dmonotonic_x86_64.c53 #pragma mark core counters

12