Lines Matching +full:start +full:- +full:up
4 # SPDX-License-Identifier: BSD-2-Clause
12 A function to look up PCPU and DPCPU fields by name.
14 To look up the value of the PCPU field foo on CPU n, use
16 omitted, and the currently selected thread is on-CPU, that CPU is
22 def invoke(self, field, cpuid=-1):
23 if cpuid == -1:
25 if cpuid == -1:
26 raise gdb.error("Currently selected thread is off-CPU")
53 start = uintptr_t(ef['pcpu_start'])
54 if start == 0:
62 start = uintptr_t(pe['origaddr'])
63 end = start + uintptr_t(pe['size'])
72 if pcpu_entry_addr >= start and pcpu_entry_addr < end:
73 obj = gdb.Value(pcpu_base + pcpu_entry_addr - start + base)