Searched defs:eax (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/bhyve/
H A Dpost.c43 uint32_t *eax, void *arg)
50 *eax = 0xff; /* return some garbage */
42 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dconsport.c119 uint32_t *eax, void *arg)
128 *eax = BVM_CONS_SIG;
137 *eax = 0xff;
158 *eax = ttyread();
160 ttywrite(*eax);
118 console_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Ddbgport.c67 uint32_t *eax, void *arg)
74 *eax = BVM_DBG_SIG;
104 *eax = -1;
106 *eax = ch;
113 ch = *eax;
66 dbg_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dinout.c69 uint32_t *eax, void *arg)
74 *eax = 0xffffffff;
77 *eax = 0xffff;
80 *eax = 0xff;
109 uint32_t eax, val; local
224 eax = vmexit->u.inout.eax;
225 val = eax & vie_size2mask(bytes);
228 eax &= ~vie_size2mask(bytes);
229 eax |
68 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
H A Dpci_lpc.c159 uint32_t *eax, void *arg)
169 *eax = uart_read(sc->uart_softc, offset);
171 uart_write(sc->uart_softc, offset, *eax);
175 *eax = uart_read(sc->uart_softc, offset);
176 *eax |= uart_read(sc->uart_softc, offset + 1) << 8;
178 uart_write(sc->uart_softc, offset, *eax);
179 uart_write(sc->uart_softc, offset + 1, *eax >> 8);
185 *eax = uart_read(sc->uart_softc, offset);
186 *eax |= uart_read(sc->uart_softc, offset + 1) << 8;
187 *eax |
158 lpc_uart_io_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
H A Dpm.c72 uint32_t *eax, void *arg)
81 *eax = reset_control;
83 reset_control = *eax;
167 uint32_t *eax, void *arg)
175 *eax = pm1_status;
181 pm1_status &= ~(*eax & (PM1_WAK_STS | PM1_RTC_STS |
191 uint32_t *eax, void *arg)
199 *eax = pm1_enable;
206 pm1_enable = *eax & (PM1_PWRBTN_EN | PM1_GBL_EN);
274 uint32_t *eax, voi
71 reset_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
166 pm1_status_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
190 pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
273 pm1_control_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
315 smi_cmd_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
H A Datkbdc.c306 uint32_t *eax, void *arg)
321 *eax = sc->ctrlbyte & 0xff;
326 *eax = buf;
340 sc->ram[0] = *eax;
347 sc->outport = *eax;
350 ps2mouse_write(sc->ps2mouse_sc, *eax, 0);
354 atkbdc_kbd_queue_data(sc, *eax);
357 ps2mouse_write(sc->ps2mouse_sc, *eax, 1);
367 sc->ram[byten] = *eax & 0xff;
382 ps2kbd_write(sc->ps2kbd_sc, *eax);
305 atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
391 atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
H A Dfwctl.c522 uint32_t *eax, void *arg)
527 *eax = fwctl_inb();
529 *eax = fwctl_inl();
531 *eax = 0xffff;
534 fwctl_outw(*eax);
536 fwctl_outl(*eax);
521 fwctl_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dvga.c1242 uint32_t *eax, void *arg)
1250 *eax &= ~0xff;
1254 *eax |= val & 0xff;
1257 val = *eax & 0xff;
1264 *eax &= ~0xffff;
1268 *eax |= val & 0xff;
1273 *eax |= (val & 0xff) << 8;
1276 val = *eax & 0xff;
1279 val = (*eax >> 8) & 0xff;
1241 vga_port_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dbhyverun.c566 uint32_t eax)
592 error = vmexit_handle_notify(ctx, vme, pvcpu, vme->u.inout.eax);
612 uint32_t eax, edx; local
626 eax = val;
627 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RAX, eax);
565 vmexit_handle_notify(struct vmctx *ctx, struct vm_exit *vme, int *pvcpu, uint32_t eax) argument
H A Dpci_emul.c380 uint32_t *eax, void *arg)
393 *eax = (*pe->pe_barread)(ctx, vcpu, pdi, i,
397 bytes, *eax);
1794 int coff, int bytes, uint32_t *eax)
1817 *eax = 0xffffffff;
1827 *eax = 0xffffffff;
1835 *eax = 0x00000000;
1849 eax);
1855 *eax = CFGREAD(pi, coff, bytes);
1857 pci_emul_hdrtype_fixup(bus, slot, coff, bytes, eax);
379 pci_emul_io_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
1793 pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func, int coff, int bytes, uint32_t *eax) argument
1936 pci_emul_cfgaddr(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
1966 pci_emul_cfgdata(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dbootregs.h62 i8080reg(a) eax; /* The so-called "general purpose" registers */ member in struct:bop_regs
/illumos-gate/usr/src/boot/sys/boot/i386/btx/lib/
H A Dbtxv86.h41 uint32_t eax; /* V86 EAX register */ member in struct:__v86
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dproc64_id.c35 * Intel cpuid eax=4 Cache Types
43 uint_t eax; member in struct:cpuid_values
71 cache_type = cpuid_info.eax & 0x1f;
87 cache_level = (cpuid_info.eax >> 0x5) & 0x7;
124 cpuid_info.eax = 0;
126 maxeax = cpuid_info.eax;
208 if (cpuid_info.eax >= 4) {
/illumos-gate/usr/src/lib/libcpc/i386/
H A Dconf_pentium.c526 uint32_t eax, ebx, ecx, edx; local
528 eax = cpc_getcpuid(1, &ebx, &ecx, &edx);
530 if ((family = BITS(eax, 11, 8)) == 0xf)
531 family = BITS(eax, 27, 20);
532 if ((model = BITS(eax, 7, 4)) == 0xf)
533 model = BITS(eax, 19, 16);
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c215 greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip,
248 ucp->uc_mcontext.gregs[EAX] = eax;
212 __csigsetjmp(greg_t cs, greg_t ss, greg_t gs, greg_t fs, greg_t es, greg_t ds, greg_t edi, greg_t esi, greg_t ebp, greg_t esp, greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip, sigjmp_buf env, int savemask) argument
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c49 dtrace_invop(uintptr_t addr, uintptr_t *stack, uintptr_t eax) argument
55 if ((rval = hdlr->dtih_func(addr, stack, eax)) != 0)
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dsdt.c58 sdt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t eax) argument
/illumos-gate/usr/src/uts/i86pc/io/vmm/io/
H A Dvatpic.c628 int bytes, uint32_t *eax)
639 *eax = 0x80 | pin;
641 *eax = 0;
646 *eax = atpic->mask;
650 *eax = atpic->service;
653 *eax = atpic->request;
666 int bytes, uint32_t *eax)
672 val = *eax;
713 uint32_t *eax)
725 return (vatpic_read(vatpic, atpic, in, port, bytes, eax));
627 vatpic_read(struct vatpic *vatpic, struct atpic *atpic, bool in, int port, int bytes, uint32_t *eax) argument
665 vatpic_write(struct vatpic *vatpic, struct atpic *atpic, bool in, int port, int bytes, uint32_t *eax) argument
712 vatpic_master_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax) argument
732 vatpic_slave_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax) argument
752 vatpic_elc_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax) argument
[all...]
H A Dvatpit.c340 uint32_t *eax)
352 val = *eax;
377 *eax = c->status;
395 *eax = tmp;
398 *eax = c->ol[--c->olbyte];
400 c->cr[c->crbyte++] = *eax;
423 uint32_t *eax)
432 *eax = TMR2_OUT_STS;
434 *eax = 0;
339 vatpit_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax) argument
422 vatpit_nmisc_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, uint32_t *eax) argument
/illumos-gate/usr/src/uts/common/xen/public/arch-x86/
H A Dxen-x86_32.h33 * Output: %eax
42 * mov $hypercall-number*32,%eax ; int $0x82
149 uint32_t eax; member in struct:cpu_user_regs
208 unsigned long eax; member in struct:panic_regs
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dcpu.h111 unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx)
114 : "=a" (*eax),
126 unsigned int eax; local
129 : "=a" (eax)
132 return eax;
136 unsigned int eax, ebx; local
139 : "=a" (eax), "=b" (ebx)
146 unsigned int eax, ecx; local
149 : "=a" (eax), "=c" (ecx)
156 unsigned int eax, ed local
110 cpuid(int op, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) argument
[all...]
/illumos-gate/usr/src/boot/sys/i386/include/pc/
H A Dbios.h303 u_int eax; member in struct:bios_regs
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c2366 uint32_t eax = 0x80000000; local
2367 uint32_t edx = get_cpuid_edx(&eax);
2369 if (eax >= 0x80000001) {
2370 eax = 0x80000001;
2371 edx = get_cpuid_edx(&eax);
2381 uint32_t eax = 1; local
2382 uint32_t edx = get_cpuid_edx(&eax);
2418 uint32_t eax, edx; local
2420 eax = 1;
2421 edx = get_cpuid_edx(&eax);
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/amd/
H A Dsvm.c817 vmexit->u.inout.eax = (uint32_t)(state->rax);
1338 uint32_t eax, ecx, edx; local
1477 eax = state->rax;
1484 val = (uint64_t)edx << 32 | eax;

Completed in 107 milliseconds

12