/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
enable_execute_stack.c | 51 MEMORY_BASIC_INFORMATION mbi; local in function:__enable_execute_stack 52 if (!VirtualQuery (addr, &mbi, sizeof(mbi))) 54 VirtualProtect (mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect);
|
/src/sys/arch/i386/stand/lib/ |
exec_multiboot1.c | 122 struct multiboot_info *mbi; local in function:exec_multiboot1 128 mbi = alloc(sizeof(struct multiboot_info)); 129 mbi->mi_flags = MULTIBOOT_INFO_HAS_MEMORY; 131 mbi->mi_mem_upper = mbp->mbp_extmem; 132 mbi->mi_mem_lower = mbp->mbp_basemem; 135 mbi->mi_flags |= MULTIBOOT_INFO_HAS_CMDLINE; 139 mbi->mi_cmdline = (char *) vtophys(cmdline); 157 mbi->mi_flags |= MULTIBOOT_INFO_HAS_MODS; 158 mbi->mi_mods_count = btinfo_modulelist->num; 159 mbi->mi_mods_addr = vtophys(mbm) [all...] |
exec_multiboot2.c | 163 multiboot2_info_dump(uint32_t magic, char *mbi) 179 if (mbi != (char *)rounddown((vaddr_t)mbi, MULTIBOOT_TAG_ALIGN)) { 180 printf("mbi at %p is not properly aligned\n", mbi); 184 total_size = *(uint32_t *)mbi; 185 reserved = *(uint32_t *)mbi + 1; 186 mbt = (struct multiboot_tag *)(uint32_t *)mbi + 2; 187 actual_size = (char *)mbt - mbi; 188 printf("mbi.total_size = %d\n", total_size) 1323 char *mbi = NULL; local in function:exec_multiboot2 [all...] |
/src/sys/dev/ic/ |
ahavar.h | 57 struct aha_mbx_in mbi[AHA_MBX_SIZE]; member in struct:aha_mbx 95 #define AHA_MBI_OFF(m) (offsetof(struct aha_control, ac_mbx.mbi[0]) + \ 96 (((u_long)(m)) - ((u_long)&wmbx->mbi[0])))
|
bha.c | 130 bha_nextmbi(struct bha_softc *sc, struct bha_mbx_in *mbi) 132 if (mbi == &sc->sc_mbi[sc->sc_mbox_count - 1]) 134 return (mbi + 1); 1355 struct bha_mbx_in *mbi; local in function:bha_init 1363 mbi = &sc->sc_mbi[i]; 1368 mbi->comp_stat = BHA_MBI_FREE; 1369 BHA_MBI_SYNC(sc, mbi, BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE); 1503 struct bha_mbx_in *mbi; local in function:bha_finish_ccbs 1507 mbi = sc->sc_tmbi; 1509 BHA_MBI_SYNC(sc, mbi, BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE) [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/ |
interception_win_test.cc | 227 MEMORY_BASIC_INFORMATION mbi = {}; local in function:__interception::__anon9eca3d460110::AllocateCode2GBAway 228 while (sizeof(mbi) == VirtualQuery(Base, &mbi, sizeof(mbi))) { 229 if (mbi.State & MEM_FREE) break; 230 Base += mbi.RegionSize;
|
/src/sys/arch/x86/x86/ |
multiboot2.c | 277 multiboot2_pre_reloc(char *mbi) 288 mbi_size = *(uint32_t *)mbi; 290 memcpy(mbidest, mbi, mbi_size); 296 for (cp = mbi + (2 * sizeof(uint32_t)); 297 cp - mbi < mbi_size; 457 mbi_modules(char *mbi, uint32_t mbi_size, int module_count) 476 for (cp = mbi + (2 * sizeof(uint32_t)); 477 cp - mbi < mbi_size; 652 char *mbi = multiboot_info; local in function:multiboot2_post_reloc 669 for (cp = mbi + (2 * sizeof(uint32_t)) [all...] |
/src/sys/dev/isa/ |
wds.c | 137 struct wds_mbx_in mbi[WDS_MBX_SIZE]; member in struct:wds_mbx 420 printf("%s: mbi not in round-robin order\n", 424 wds_nextmbx(wmbi, wmbx, mbi); 427 printf("%s: mbi interrupt with no full mailboxes\n", 437 printf("%s: bad mbi scb pointer; skipping\n", 447 printf("stat %x for mbi addr = %p, ", 458 wds_nextmbx(wmbi, wmbx, mbi); 971 wmbx->mbi[i].stat = WDS_MBI_FREE; 974 wmbx->tmbi = &wmbx->mbi[0];
|
/src/sys/arch/arc/dti/ |
btl.c | 102 struct bt_mbx_in mbi[BT_MBX_SIZE]; member in struct:bt_mbx 428 printf("%s: mbi not in round-robin order\n", 432 bt_nextmbx(wmbi, wmbx, mbi); 435 printf("%s: mbi interrupt with no full mailboxes\n", 445 printf("%s: bad mbi ccb pointer; skipping\n", 455 printf("stat %x for mbi addr = 0x%08x, ", 486 printf("%s: bad mbi status %02x; skipping\n", 496 bt_nextmbx(wmbi, wmbx, mbi); 1123 wmbx->mbi[i].stat = BT_MBI_FREE; 1126 wmbx->tmbi = &wmbx->mbi[0] [all...] |
/src/sys/dev/pci/ |
amr.c | 1481 struct amr_mailbox_ioctl *mbi; local in function:amrioctl 1539 mbi = (struct amr_mailbox_ioctl *)&ac->ac_cmd; 1540 mbi->mb_command = au_cmd[0]; 1541 mbi->mb_channel = au_cmd[1]; 1542 mbi->mb_param = au_cmd[2]; 1543 mbi->mb_pad[0] = au_cmd[3]; 1544 mbi->mb_drive = au_cmd[4];
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_win.cc | 101 MEMORY_BASIC_INFORMATION mbi; local in function:__sanitizer::GetThreadStackTopAndBottom 102 CHECK_NE(VirtualQuery(&mbi /* on stack */, &mbi, sizeof(mbi)), 0); 106 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; 107 *stack_bottom = (uptr)mbi.AllocationBase; 123 MEMORY_BASIC_INFORMATION mbi; local in function:__sanitizer::UnmapOrDie 124 CHECK(VirtualQuery(addr, &mbi, sizeof(mbi))); 354 MEMORY_BASIC_INFORMATION mbi; local in function:__sanitizer::MemoryRangeIsAvailable [all...] |