Lines Matching refs:oreg
21 struct biosregs ireg, oreg; in query_apm_bios() local
26 intcall(0x15, &ireg, &oreg); in query_apm_bios()
28 if (oreg.flags & X86_EFLAGS_CF) in query_apm_bios()
31 if (oreg.bx != 0x504d) /* "PM" signature */ in query_apm_bios()
34 if (!(oreg.cx & 0x02)) /* 32 bits supported? */ in query_apm_bios()
43 intcall(0x15, &ireg, &oreg); in query_apm_bios()
45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
46 boot_params.apm_bios_info.offset = oreg.ebx; in query_apm_bios()
47 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios()
48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios()
49 boot_params.apm_bios_info.cseg_len = oreg.si; in query_apm_bios()
50 boot_params.apm_bios_info.cseg_16_len = oreg.hsi; in query_apm_bios()
51 boot_params.apm_bios_info.dseg_len = oreg.di; in query_apm_bios()
53 if (oreg.flags & X86_EFLAGS_CF) in query_apm_bios()
60 intcall(0x15, &ireg, &oreg); in query_apm_bios()
62 if ((oreg.eflags & X86_EFLAGS_CF) || oreg.bx != 0x504d) { in query_apm_bios()
69 boot_params.apm_bios_info.version = oreg.ax; in query_apm_bios()
70 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()