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 28 console.c printint(int xx, int base, int sign) base 42 console.c buf[i++] = digits[x % base]; base 43 console.c }while((x /= base) != 0); base 43 mmu.h #define SEG(type, base, lim, dpl) (struct segdesc) \ base 44 mmu.h { ((lim) >> 12) & 0xffff, (uint)(base) & 0xffff, \ base 45 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ base 46 mmu.h (uint)(lim) >> 28, 0, 0, 1, 1, (uint)(base) >> 24 } base 47 mmu.h #define SEG16(type, base, lim, dpl) (struct segdesc) \ base 48 mmu.h { (lim) & 0xffff, (uint)(base) & 0xffff, \ base 49 mmu.h ((uint)(base) >> 16) & 0xff, type, 1, dpl, 1, \ base 50 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;