B

NR_REGS
NR_SEGS
NR_TASKS
NR_PROCS
NR_HOLES

struct mem_map {
    vir_clicks mem_vir;
    phys_clicks mem_phys;
    vir_clicks mem_len;
};

EXTERN struct proc {
    int p_reg [NR_REGS];
    ...
} proc [NR_TASK + NR_PROCS];

PRIVATE struct hole {
    phys_clicks h_base;
    phys_clicks h_len;
    struct hole *h_next;
} hole [NR_HOLES];

h
kernel
mm
fs

h/const.h
h/callnr.h
h/com.h
h/signal.h
h/stat.h
h/sgtty.h
h/error.h
h/type.h

kernel/glo.h
kernel/type.h
kernel/const.h
kernel/proc.h

kernel/main.c
kernel/system.c
kernel/proc.c
kernel/mpx88.s
kernel/klib88.s
kernel/clock.c
kernel/tty.c
kernel/memory.c
kernel/floppy.c

kernel/main.c
    main
    unexpected_int
    trap
    div_trap
    panic
    set_vec
kernel/mpx88.s
    MINIX
    s_call
    tty_int
    lpr_int
    disk_int
    wini_int
    clock_int
    suprise
    trp
    divide
    save
    restart
    idle
    data