| /misc/efi-stub/ |
| A D | pe.c | 109 EFI_STATUS get_pe_section(CHAR8 *base, char *section_name, in get_pe_section() argument 118 dh = (struct DosFileHeader *)base; in get_pe_section() 123 pe = (struct PeHeader *)&base[dh->ExeHeader]; in get_pe_section() 134 ph = (struct PeSectionHeader *)&base[offset]; in get_pe_section() 148 EFI_IMAGE_ENTRY_POINT get_pe_entry(CHAR8 *base) in get_pe_entry() argument 155 dh = (struct DosFileHeader *)base; in get_pe_entry() 160 pe = (struct PeHeader *)&base[dh->ExeHeader]; in get_pe_entry() 169 oh = (struct OptionHeader*)&base[offset]; in get_pe_entry() 171 return (EFI_IMAGE_ENTRY_POINT)((UINT64)base + oh->EntryPoint); in get_pe_entry()
|
| A D | boot.h | 80 EFI_STATUS get_pe_section(CHAR8 *base, char *section_name, UINTN section_name_len, UINTN *vaddr, UI…
|
| /misc/config_tools/board_inspector/inspectorlib/ |
| A D | mmio.py | 11 base = res.get("min") 15 ret.append((obj, int(base, base=16), int(top, base=16)))
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 60-pci.py | 117 device, function = int(m.group(3), base=16), int(m.group(4), base=16) 155 base = bar.base 157 if bar.base == 0: 163 …d_child(device_node, "resource", None, type=resource_type, min=hex(base), max=hex(base + size - 1)… 171 elif bar.base != 0: 181 …f_bus, pf_device, pf_function = int(m.group(2), base=16), int(m.group(3), base=16), int(m.group(4)… 185 …f_bus, vf_device, vf_function = int(m.group(2), base=16), int(m.group(3), base=16), int(m.group(4)… 197 if bar.base == 0: 201 base = bar.base + vf_id * size 202 …d_child(device_node, "resource", None, type=resource_type, min=hex(base), max=hex(base + size - 1)… [all …]
|
| A D | 80-lookup.py | 37 … subvendor_id, subdevice_id = tuple(map(lambda x: int(x, base=16), parts[0].split(" "))) 43 device_id = int(parts[0], base=16) 48 subclass_id = int(parts[0], base=16) 53 class_id = int(parts[0][2:], base=16) 60 vendor_id = int(parts[0], base=16) 102 desc = ids.lookup(*list(map(lambda x: int(x, base=16) if x else None, args))) if ids else "" 104 bus_id = int(get_node(element, "ancestor-or-self::bus[1]/@address"), base=16) 105 dev_func_id = int(get_node(element, "./@address"), base=16)
|
| A D | helpers.py | 36 return int(m.group(2), base=16), int(m.group(3), base=16), int(m.group(4), base=16)
|
| A D | 90-sorting.py | 12 return int(node.get("min"), base=16) 25 return int(adr, base=16)
|
| A D | 40-acpi-tables.py | 60 add_child(cap, "start", "0x{:08x}".format(entry.base)) 61 add_child(cap, "end", "0x{:08x}".format(entry.base + entry.size - 1)) 120 add_child(ssram_node, "start", "0x{:08x}".format(entry.base)) 121 add_child(ssram_node, "end", "0x{:08x}".format(entry.base + entry.size - 1))
|
| A D | 20-cache.py | 102 cache_id = hex(int(get_node(thread, "apic_id/text()"), base=16) >> shift_width) 161 id = int(n.get("id"), base=16)
|
| /misc/config_tools/board_inspector/legacy/ |
| A D | misc.py | 64 def iomem2bdf(base): argument 66 base_iomem = base.strip('0x').lower() 95 base = read_ttys_node(base_path) 102 … print("\tseri:{} type:portio base:{} irq:{} bdf:{}".format(ttys, base, irq, bdf), file=config) 104 print("\tseri:{} type:portio base:{} irq:{}".format(ttys, base, irq), file=config) 107 base = read_ttys_node(base_path) 108 bdf = iomem2bdf(base) 110 … print('\tseri:{} type:mmio base:{} irq:{} bdf:"{}"'.format(ttys, base, irq, bdf), file=config) 112 print('\tseri:{} type:mmio base:{} irq:{}'.format(ttys, base, irq), file=config)
|
| /misc/config_tools/acpi_gen/ |
| A D | bin_gen.py | 35 base = 0 38 top = (entry.base + entry.size) if top < (entry.base + entry.size) else top 39 base = entry.base if base == 0 or entry.base < base else base 40 if new_area_max_size < (top - base): 42 rtct_move_offset = new_base_addr - base 45 entry.base += rtct_move_offset
|
| /misc/config_tools/board_inspector/acpiparser/aml/ |
| A D | stream.py | 12 def print_binary(self, base): argument 15 for i in range(base, base + 16): 22 if i > base and ((i - base) % 4) == 3:
|
| A D | datatypes.py | 180 def __init__(self, stream, base, length): argument 183 self.__base = base 454 return Integer(int(self.__s, base=16))
|
| /misc/debug_tools/acrn_crashlog/usercrash/ |
| A D | server.c | 228 struct event_base *base = event_get_base(crash->crash_event); in perform_request() local 230 event_assign(crash->crash_event, base, crash->crash_fd, in perform_request() 259 struct event_base *base = evconnlistener_get_base(listener); in crash_accept_cb() local 264 struct event *crash_event = event_new(base, sockfd, in crash_accept_cb() 393 struct event_base *base; in main() local 471 base = event_base_new(); in main() 472 if (!base) { in main() 478 listener = evconnlistener_new(base, crash_accept_cb, NULL, in main() 486 event_base_dispatch(base); in main() 489 event_base_free(base); in main()
|
| /misc/config_tools/board_inspector/memmapparser/ |
| A D | e820.py | 41 start = int(read_file(os.path.join(sysfs_memmap_path, i, "start")), base=16) 42 end = int(read_file(os.path.join(sysfs_memmap_path, i, "end")), base=16)
|
| /misc/config_tools/service_vm_config/ |
| A D | serial_config.py | 55 base = " port " + vuart["io_port"] 58 conf = "/dev/ttyS" + str(uart_start_num) + base + UART_IRQ_BAUD + '\n'
|
| /misc/config_tools/board_inspector/pcieparser/ |
| A D | header.py | 38 def base(self): member in MemoryBar32 53 def base(self): member in MemoryBar64 67 def base(self): member in IOBar
|
| /misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/CAT/ |
| A D | HexBlockRangeSelector.vue | 85 .slider-base, .slider-connects { 107 .slider-base, .slider-connects {
|
| /misc/config_tools/configurator/packages/configurator/ |
| A D | vite.config.js | 24 base: './',
|
| /misc/config_tools/static_allocators/ |
| A D | memory_allocator.py | 23 start = int(memory_range.get("start"), base=16) 24 size = int(memory_range.get("size"), base=10) 38 if int(hpa_node.text, base=16) != 0:
|
| A D | cpu_freq.py | 35 apic_id = int(get_node("./apic_id/text()", cpu)[2:], base=16) 41 other_apic_id = int(get_node("./apic_id/text()", other_cpu)[2:], base=16)
|
| A D | gpa.py | 502 base = 0 507 base = entry_base if base == 0 or entry_base < base else base 508 ssram_area_max_size = math.ceil((top - base)/0x1000) * 0x1000
|
| /misc/hv_prebuild/ |
| A D | vm_cfg_checks.c | 97 (((vm_config->epc.size | vm_config->epc.base) & ~PAGE_MASK) != 0UL)) { in sanitize_vm_config()
|
| /misc/config_tools/library/ |
| A D | acrn_config_utilities.py | 636 base = 10 637 if s.startswith('0x'): base = 16 638 return int(s, base)
|
| /misc/config_tools/scenario_config/ |
| A D | scenario_item.py | 220 base = {} variable in EpcSection 227 … self.base = acrn_config_utilities.get_leaf_tag_map(self.scenario_info, "epc_section", "base")
|