Lines Matching defs:oreg
21 struct biosregs ireg, oreg;
46 intcall(0x15, &ireg, &oreg);
47 ireg.ebx = oreg.ebx; /* for next iteration... */
52 if (oreg.eflags & X86_EFLAGS_CF)
60 if (oreg.eax != SMAP) {
74 struct biosregs ireg, oreg;
78 intcall(0x15, &ireg, &oreg);
80 if (oreg.eflags & X86_EFLAGS_CF)
84 if (oreg.cx || oreg.dx) {
85 oreg.ax = oreg.cx;
86 oreg.bx = oreg.dx;
89 if (oreg.ax > 15*1024) {
91 } else if (oreg.ax == 15*1024) {
92 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax;
101 boot_params.alt_mem_k = oreg.ax;
107 struct biosregs ireg, oreg;
111 intcall(0x15, &ireg, &oreg);
113 boot_params.screen_info.ext_mem_k = oreg.ax;