Lines Matching defs:addr
54 static mpcth_t biosmptable_check_mpcth(off_t addr);
151 memread(off_t addr, void* entry, size_t size)
153 if ((size_t)pread(pfd, entry, size, addr) != size) {
154 warn("pread (%zu @ 0x%jx)", size, (intmax_t)addr);
168 uint16_t addr;
171 if (!memread(PTOV(0x40E), &addr, sizeof(addr)))
173 mpfps = biosmptable_search_mpfps(PTOV(addr << 4), 0x400);
225 biosmptable_check_mpcth(off_t addr)
232 if ((u_int32_t)addr >= 1024 * 1024) {
233 warnx("bad mpcth address (0x%jx)\n", (intmax_t)addr);
242 if (!memread(addr, mpcth, sizeof(*mpcth)))
255 if (!memread(addr, mpcth, table_length))