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 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 Dconsport.c121 uint32_t *eax, void *arg)
130 *eax = BVM_CONS_SIG;
139 *eax = 0xff;
160 *eax = ttyread();
162 ttywrite(*eax);
120 console_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dinout.c82 uint32_t *eax, void *arg)
87 *eax = 0xffffffff;
90 *eax = 0xffff;
93 *eax = 0xff;
148 error = hfunc(ctx, vcpu, in, inout->port, bytes, &inout->eax, harg);
81 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
H A Dpci_lpc.c160 uint32_t *eax, void *arg)
170 *eax = uart_read(sc->uart_softc, offset);
172 uart_write(sc->uart_softc, offset, *eax);
176 *eax = uart_read(sc->uart_softc, offset);
177 *eax |= uart_read(sc->uart_softc, offset + 1) << 8;
179 uart_write(sc->uart_softc, offset, *eax);
180 uart_write(sc->uart_softc, offset + 1, *eax >> 8);
186 *eax = uart_read(sc->uart_softc, offset);
187 *eax |= uart_read(sc->uart_softc, offset + 1) << 8;
188 *eax |
159 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.c76 uint32_t *eax, void *arg)
85 *eax = reset_control;
87 reset_control = *eax;
174 uint32_t *eax, void *arg)
182 *eax = pm1_status;
188 pm1_status &= ~(*eax & (PM1_WAK_STS | PM1_RTC_STS |
198 uint32_t *eax, void *arg)
206 *eax = pm1_enable;
213 pm1_enable = *eax & (PM1_PWRBTN_EN | PM1_GBL_EN);
281 uint32_t *eax, voi
75 reset_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
173 pm1_status_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
197 pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
280 pm1_control_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
332 gpe0_sts(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
356 gpe0_en(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
380 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.c610 inout->eax = data;
625 inout->eax = 0;
630 uint32_t eax)
658 error = vmexit_handle_notify(ctx, vme, pvcpu, inout.eax);
676 vmentry_inout_read(vcpu, inout.port, bytes, inout.eax);
688 uint32_t eax, edx; local
702 eax = val;
703 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RAX, eax);
629 vmexit_handle_notify(struct vmctx *ctx, struct vm_exit *vme, int *pvcpu, uint32_t eax) argument
H A Dpci_emul.c381 uint32_t *eax, void *arg)
394 *eax = (*pe->pe_barread)(ctx, vcpu, pdi, i,
398 bytes, *eax);
1797 int coff, int bytes, uint32_t *eax)
1820 *eax = 0xffffffff;
1830 *eax = 0xffffffff;
1838 *eax = 0x00000000;
1852 eax);
1858 *eax = CFGREAD(pi, coff, bytes);
1860 pci_emul_hdrtype_fixup(bus, slot, coff, bytes, eax);
380 pci_emul_io_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
1796 pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func, int coff, int bytes, uint32_t *eax) argument
1939 pci_emul_cfgaddr(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
1969 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 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 uint8_t bytes, uint32_t *eax)
432 *eax = TMR2_OUT_STS;
434 *eax = 0;
339 vatpit_handler(struct vm *vm, int vcpuid, bool in, uint16_t port, uint8_t bytes, uint32_t *eax) argument
422 vatpit_nmisc_handler(struct vm *vm, int vcpuid, bool in, uint16_t port, uint8_t bytes, uint32_t *eax) argument
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 uint8_t bytes, 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, uint16_t port, uint8_t bytes, uint32_t *eax) argument
732 vatpic_slave_handler(struct vm *vm, int vcpuid, bool in, uint16_t port, uint8_t bytes, uint32_t *eax) argument
752 vatpic_elc_handler(struct vm *vm, int vcpuid, bool in, uint16_t port, uint8_t bytes, uint32_t *eax) argument
[all...]
/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.c767 inout->eax = (uint32_t)(state->rax);
1297 uint32_t eax, ecx, edx; local
1435 eax = state->rax;
1441 val = (uint64_t)edx << 32 | eax;

Completed in 83 milliseconds

12