base 11 asm.h #define SEG_ASM(type,base,lim) \ base 12 asm.h .word (((lim) >> 12) & 0xffff), ((base) & 0xffff); \ base 13 asm.h .byte (((base) >> 16) & 0xff), (0x90 | (type)), \ base 14 asm.h (0xC0 | (((lim) >> 28) & 0xf)), (((base) >> 24) & 0xff) base 27 console.c printint(int xx, int base, int sign) base 41 console.c buf[i++] = digits[x % base]; base 42 console.c }while((x /= base) != 0); base 69 mmu.h #define SEG(type, base, lim, dpl) (struct segdesc) \ base 70 mmu.h { ((lim) >> 12) & 0xffff, (uint)(base) & 0xffff, \ base 71 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ base 72 mmu.h (uint)(lim) >> 28, 0, 0, 1, 1, (uint)(base) >> 24 } base 73 mmu.h #define SEG16(type, base, lim, dpl) (struct segdesc) \ base 74 mmu.h { (lim) & 0xffff, (uint)(base) & 0xffff, \ base 75 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ base 76 mmu.h (uint)(lim) >> 16, 0, 0, 1, 0, (uint)(base) >> 24 } base 12 printf.c printint(int fd, int xx, int base, int sgn) base 29 printf.c buf[i++] = digits[x % base]; base 30 printf.c }while((x /= base) != 0); base 21 umalloc.c static Header base; base 71 umalloc.c base.s.ptr = freep = prevp = &base; base 72 umalloc.c base.s.size = 0;