Minix auswenig schreiben - 2024-10-31

Das was ich weiss:

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

extern struct proc {
    int p_reg [NR_REGS];
    ...
} proc [NR_TASKS + NR_PROCS];

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

vir, phys, bytes, clicks

vir_clicks
phys_clicks
vir_bytes
phys_bytes;

h
mm
kernel
fs

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

kernel/const.h
kernel/glo.h
kernel/type.h?

kernel/main.c
kernel/mpx88s.s
kernel/klib88.s
kernel/proc.c ???
kernel/...?
kernel/memory.c
kernel/floppy.c
kernel/clock.c
kernel/tty.c

kernel/main.c
    main
    unexpected_int
    trap
    div_trap ?

kernel/mpx88s:
    _MINIX
    _scall
    _disk_int
    _floppy_int
    _tty_int
    _clock_int
    _wini_int???

    suprise
    trp
    divide
    save
    restart
    idle
    data

kernel/floppy.c:
    floopy_task
    do_rdwt
    ...
    start_motor
    stop_motor
    fdc_results
    fdc_...
    clock_mess
    send_mess
    recalibrate
    seek
    restart???

kernel/tty.c
    tty_task
    init_task
    reply_task
    in_char
    out_char
    do_read
    do_write
    do_ioctl
    do_charint
    ...??
    console
    keyboard
    putc
    set_6845
Und noch mehr:
Das was ich weiss:

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

extern struct proc {
    int p_reg [NR_REGS];
    ...
} proc [NR_TASKS + NR_PROCS];

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

vir, phys, bytes, clicks

vir_clicks
phys_clicks
vir_bytes
phys_bytes;

h
mm
kernel
fs

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

kernel/const.h
kernel/glo.h
kernel/type.h?

kernel/main.c
kernel/mpx88s.s
kernel/klib88.s
kernel/proc.c ???
kernel/...?
kernel/memory.c
kernel/floppy.c
kernel/clock.c
kernel/tty.c

kernel/main.c
    main
    unexpected_int
    trap
    div_trap ?

kernel/mpx88s:
    _MINIX
    _scall
    _disk_int
    _floppy_int
    _tty_int
    _clock_int
    _wini_int???

    suprise
    trp
    divide
    save
    restart
    idle
    data

kernel/floppy.c:
    floopy_task
    do_rdwt
    ...
    start_motor
    stop_motor
    fdc_results
    fdc_...
    clock_mess
    send_mess
    recalibrate
    seek
    restart???

kernel/tty.c
    tty_task
    init_task
    reply_task
    in_char
    out_char
    do_read
    do_write
    do_ioctl
    do_charint
    ...??
    console
    keyboard
    putc
    set_6845

Das zur Sicherheit und wenn man nicht wusste, mehrfach schreiben, nicht auswendig

const.h, callnr.h, com.h
const.h, callnr.h, com.h
const.h, callnr.h, com.h
const.h, callnr.h, com.h
const.h, callnr.h, com.h
const.h, callnr.h, com.h

sgtty, sgtty.h, sgtty.h, sgtty.h
sgtty.h, signal.h, stat.h,
sgtty.h, signal.h, stat.h,
sgtty.h, signal.h, stat.h,
sgtty.h, signal.h, stat.h,

h/error.h, h/type.h, h/error.h, h/type.h
h/error.h, h/type.h, h/error.h, h/type.h

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

h/error.h, h/type.h
h/error.h, h/type.h
h/error.h, h/type.h
h/error.h, h/type.h

main, proc, system
main, proc, system
main, proc, system
main, proc, system
main, proc, system

main.c proc.c system.c
main.c proc.c system.c
main.c proc.c system.c

kernel/main.c kernel/proc.c kernel/system.c
kernel/main.c kernel/proc.c kernel/system.c

main
proc
system
main
proc
system

kernel/main.c
kernel/proc.c
kernel/system.c

kernel/main.c
kernel/proc.c
kernel/system.c

main, unexpected_int
main, unexpected_int
main, unexpected_int
trap, div_trap
trap, div_trap
trap, div_trap
trap, div_trap

main, unexpected_int, trap, div_trap
main, unexpected_int, trap, div_trap
main, unexpected_int, trap, div_trap
panic, set_vec, panic, set_vec

panic, set_vec, panic, set_vec

main, unexpected_int, trap, div_trap
panic, set_vec
main unexpected_int, trap div_trap panic set_vec
main unexpected_int trap div_trap panic set_vec
main unexpected_int trap div_trap panic set_vec
main unexpected_int trap div_trap panic set_vec

s_call s_call s_call

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

kernel/main.c
kernel/proc.c
kernel/system.c
kernel/mpx88.s
kernel/klib88.s

main
trap
div_trap
panic
set_vec
unexpected_int


dma_setup
dma_setup
dma_setup
dma_setup
dma_setup
dma_setup

seek
transfer
seek
transfer
seek
transfer
seek
transfer
recalibrate
reset
recalibrate
reset
recalibrate
reset

seek
transfer
recalibrate
reset

seek
transfer
recalibrate
reset

seek
transfer
recalibrate
reset

seek
transfer
recalibrate
reset

fdc_out
fdc_out
fdc_out
fdc_out

fdc_results
fdc_out

fdc_results
fdc_out

do_cancel
do_cancel
do_cancel
do_cancel
do_cancel

make_break
make_break
make_break
make_break
make_break
make_break
echo chuck
echo chuck
echo chuck
echo chuck
echo chuck

make_break echo chuck
make_break echo chuck
make_break echo chuck

rd_chars
rd_chars
rd_chars
rd_chars

make_break echo chuck rd_chars
make_break echo chuck rd_chars
make_break echo chuck rd_chars

finish finish finish finish
finish finish finish finish

make_break echo chuck rd_chars finish
make_break echo chuck rd_chars finish

sigchar sigchar sigchar
sigchar sigchar sigchar
sigchar sigchar sigchar

scroll_screen
scroll_screen
scroll_screen

flush flush flush flush flush

make_break echo chuck rd_chars finish flush
make_break echo chuck rd_chars finish scroll_screen flush
make_break echo chuck rd_chars finich scroll_screen flush

move_to move_to move_to move_to move_to
escape escape escape escape escape

make_break echo chuck rd_chars finish scroll_screen flush move_to escape

beep beep beep beep beep

escape beep
escape beep
escape beep
escape beep

putc
putc
putc
putc
func_key
func_key
func_key

putc func_key
putc func_key