Minix - Ich habe was vor

Benutzeravatar
davidvajda.de
Site Admin
Beiträge: 1371
Registriert: Di Jul 18, 2023 6:36 pm
Wohnort: D-72072, Tübingen
Kontaktdaten:

Minix - Ich habe was vor

Beitrag von davidvajda.de »

Code: Alles auswählen

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

Code: Alles auswählen

kernel/const.h
kernel/glo.h
kernel/proc.h
kernel/type.h
kernel/main.c
kernel/mpx88.s
kernel/klib88.s
kernel/proc.c
kernel/memory.c
kernel/floppy.c
kernel/clock.c
kernel/tty.c
kernel/system.c
kernel/table.c

Code: Alles auswählen

mm/const.h
mm/glo.h
mm/mproc.h
mm/param.h
mm/main.c
mm/forkexit.c
mm/exec.c
mm/break.c
mm/signal.c
mm/getset.c
mm/alloc.c
mm/utility.c
mm/putc.c
mm/table.c

Code: Alles auswählen

fs/buf.h
fs/dev.h
fs/file.h
fs/fproc.h
fs/glo.h
fs/inode.h
fs/param.h
fs/super.h
fs/type.h
fs/cache.c
fs/inode.c
fs/super.c
fs/filedes.c
fs/main.c
fs/table.c
fs/open.c
fs/read.c
fs/write.c
fs/pipe.c
fs/path.c
fs/mount.c
fs/link.c
fs/stadir.c
fs/protect.c
fs/time.c
fs/misc.c
fs/device.c
fs/utility.c
fs/putc.c

Code: Alles auswählen

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

kernel/const.h
kernel/glo.h
kernel/proc.h
kernel/type.h
kernel/main.c
    PUBLIC main ()
    PUBLIC unexpected_int ()
    PUBLIC trap ()
    PUBLIC div_trap ()
    PUBLIC panic (s, n) { char *s; int n; ...}
    PRIVATE set_vec (vec_nr, addr, base_click) { int vec_nr; int (*addr)(); phys_clicks base_click; ...}    
kernel/mpx88.s
    MINIX:
    _s_call:
    _tty_int: 
    _lpr_int:
    _disk_int:
    _wini_int:
    _clock_int:
    _suprise:
    _trp:
    _divide:
    _save:
    _restart:
    idle:
    data
kernel/klib88.s
    _phys_copy:
    _cp_mess:
    _port_out:
    _port_in:
    _lock:
    _unlock:
    _restore:
    _build_sig:
    csv: 
    crot:
    (csv & crot)
    _get_chrome:
    _dma_read:
    _dma_write:
    _vid_copy:
    _get_byte:
    _reboot:
    _wreboot:
kernel/proc.c
    PUBLIC interrupt (task, m_ptr) {int task; message *m_ptr; ...}
    PUBLIC sys_call (function, caller, sys_dest, m_ptr) {int function; int caller; int src_dest; message *m_ptr; ...}
    PUBLIC int mini_send (caller, dest, m_ptr) {int caller; int dest; message *m_ptr; ...}
    PRIVATE int mini_rec (caller, src, m_ptr) {int caller; int src; message *m_ptr; ...}
    PUBLIC pick_proc ()
    PUBLIC ready (rp) {register struct proc *rp; ...}
    PUBLIC unready (rp) {register struct proc *rp; ...}
    PUBLIC sched ()
kernel/memory.c
    PUBLIC mem_task ()
    PRIVATE int do_mem (m_ptr) {register message *m_ptr; ...}
    PRIVATE int do_setup (m_ptr) {register message *m_ptr; ...}
kernel/floppy.c
    PUBLIC floppy_task ()
    PRIVATE int do_rdwt (m_ptr) {message *m_ptr; ...}
    PRIVATE dma_setup (fp) {struct floppy *fp; ...}
    PRIVATE start_motor (fp) {struct floppy *fp; ...}
    PRIVATE stop_motor ()
    PRIVATE int seek (fp) {struct floppy *fp; ...}
    PRIVATE int transfer (fp) {struct floppy *fp; ...}
    PRIVATE int fdc_results (fp) {struct floppy *fp; ...}
    PRIVATE fdc_out (val) {int val; ...}
    PRIVATE int recalibrate (fp) {struct floppy *fp; ...}
    PRIVATE reset ()
    PRIVATE clock_mess (ticks, func) {int ticks; int (*func)(); ...}
    PRIVATE send_mess ()
kernel/clock.c
    PUBLIC clock_task ()
    PRIVATE do_setalarm (m_ptr) {message *m_ptr; ...}
    PRIVATE do_get_time () 
    PRIVATE do_set_time (m_ptr) {message *m_ptr; ...}
    PRIVATE do_clocktick ()
    PRIVATE accounting ()
    PRIVATE init_clock ()
kernel/tty.c
    PUBLIC tty_task ()
    PRIVATE do_charint (m_ptr) {message *m_ptr; ...}
    PRIVATE in_char (line, ch) {int line; char ch; ...}
    PRIVATE char make_break (ch) {char ch; ...}
    PRIVATE echo (tp, c) {register struct tty_struct *tp; register char c; ...}
    PRIVATE int chuck (tp) {register struct tty_struct *tp; ...}
    PRIVATE do_read (tp, m_ptr) {register struct tty_struct *tp; message *m_ptr; ...}
    PRIVATE int rd_chars (tp) {register struct tty_struct *tp; ...}
    PRIVATE finish (tp, code) {register struct tty_struct *tp; int code; ...}
    PRIVATE do_write (tp, m_ptr) {register struct tty_struct *tp; message *m_ptr; ...}
    PRIVATE do_ioctl (tp, m_ptr) {register struct tty_struct *tp; message *m_ptr; ...}
    PRIVATE do_cancel (tp, m_ptr) {register struct tty_struct *tp; message *m_ptr; ...}
    PRIVATE tty_reply (code, replyee, proc_nr, status, extra, other) {
        int code;
        int replyee;
        int proc_nr;
        int status;
        long extra;
        long other;
    }
    PRIVATE sigchar (tp, line, sig) {register struct tty_struct *tp; int line; int sig; ...}
    PUBLIC keyboard ()
    PRIVATE console (tp) {register struct tty_struct *tp; ...}
    PRIVATE out_char (tp, c) {register struct tty_struct *tp; ...}
    PRIVATE scroll_screen (tp, dir) {register struct tty_struct *tp; int dir; ...}
    PRIVATE flush (tp) {register struct tty_struct *tp; ...}
    PRIVATE move_to (tp, x, y) {register struct tty_struct *tp; int x; int y; ...}
    PRIVATE escape (tp, x, y) {register struct tty_struct *tp; int x; int y; ...}
    PRIVATE set_6845 (reg, val) {int reg; int val; ...}
    PRIVATE int beep (f) {int f; ...}
    PRIVATE tty_init ()
    PUBLIC putc (c) {char c; ...}
    PRIVATE func_key (ch) {char ch; ...}
kernel/system.c
    PUBLIC sys_task ()
    PRIVATE int do_fork (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_newmap (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_exec (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_xit (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_getsp (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_times (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_abort (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_sig (m_ptr) {message *m_ptr; ...}
    PRIVATE int do_copy (m_ptr) {message *m_ptr; ...}
    PUBLIC cause_sig (proc_nr, sig_nr) {int proc_nr; int sig_nr; ...}
    PUBLIC inform (proc_nr) {int proc_nr; ...}
    PUBLIC phys_bytes umap (rp, seg, vir_addr, bytes) {
        register struct proc *rp;
        int seg;
        vir_bytes vir_addr;
        vir_bytes bytes;
    }
kernel/table.c

mm/const.h
mm/glo.h
mm/mproc.h
mm/param.h
mm/main.c
    PUBLIC main ()
    PRIVATE get_work ()
    PUBLIC reply (proc_nr, result, res2, respt) {
        int proc_nr;
        int result;
        int res2;
        char *respt;
    }
    PRIVATE mm_init ()
    PUBLIC do_brk2 ()
    PRIVATE set_map (proc_nr, base, clicks) {int proc_nr; phys_clicks base; phys_clicks clicks; ...}
mm/forkexit.c
    PUBLIC int do_fork ()
    PUBLIC int do_mm_exit ()
    PUBLIC mm_exit (rmp, exit_status) {register struct mproc *rmp; int exit_status; ...}
    PUBLIC int do_wait () {}
    PRIVATE cleanup (child) {register struct mproc *child; ...}
mm/exec.c
    PUBLIC int do_exec (f) {}
    PRIVATE int read_header (fd, ft, text_bytes, data_bytes, bss_bytes, tot_bytes, sc) {
        int fd;
        int *ft;
        vir_bytes *text_bytes;
        vir_bytes *data_bytes;
        vir_bytes *bss_bytes;
        phys_bytes *tot_bytes;
        vir_clicks sc;
    }
    PRIVATE int new_mem (text_bytes, data_bytes, bss_bytes, stk_bytes, tot_bytes, bf, zs) {
        vir_bytes *text_bytes;
        vir_bytes *data_bytes;
        vir_bytes *bss_bytes;
        vir_bytes *stk_bytes;
        phys_bytes *tot_bytes;
        char bf [ZEROBUF_SIZE];
        int zs;
    }
    PRIVATE patch_ptr (stack, base) {char stack [MAX_ISTACK_BYTES]; vir_bytes base; ...}
    PRIVATE load_seg (fd, seg, seg_break) {int fd; int seg; vir_bytes seg_bytes; ...}
mm/break.c
    PUBLIC int do_brk ()
    PUBLIC int adjust (rmp, data_clicks, sp) {register struct mproc *rmp; vir_clicks data_clicks; vir_bytes sp; ...}
    PUBLIC int size_ok (file_type, tc, dc, sc, dvir, s_vir) {
        int file_type;
        vir_clicks tc;
        vir_clicks dc;
        vir_clicks sc;
        vir_clicks dvir;
        vir_clicks s_vir;
    }
    PUBLIC stack_fault (proc_nr) {int proc_nr; ...}
mm/signal.c
    PUBLIC int do_signal ()
    PUBLIC int do_kill ()
    PUBLIC int do_ksig ()
    PUBLIC int check_sig ()
    PUBLIC sig_proc (nmp, sig_nr) {register struct mproc *rmp; int sig_nr; ...}
    PUBLIC int do_alarm ()
    PUBLIC int set_alarm (proc_nr, sec) {int proc_nr; unsigned sec; ...}
    PUBLIC int do_pause ()
    PUBLIC unpause (pro) {int pro; ...}
    PRIVATE dump_core (rmp) {register struckt mproc *rmp; ...}
mm/getset.c
    PUBLIC int do_getset ()
mm/alloc.c
    PUBLIC phys_clicks alloc_mem (clicks) {phys_clicks clicks; ...}
    PUBLIC free_mem (base, clicks) {phys_clicks base; phys_clicks clicks; ...}
    PRIVATE del_slot (prev_ptr, hp) {register struct hole *prev_ptr, register struct hole *hp; ...}
    PRIVATE merge (hp) {register struct hole *hp; ...}
    PUBLIC phys_clicks max_hole ()
    PUBLIC mem_init (clicks) {phys_clicks clicks; ...}
mm/utility.c
    PUBLIC int allowed (name_buf, s_buf, mask) {char *name_buf, struct stat *s_buf, int mask; ...}
    PUBLIC int mem_copy (src_proc, src_reg, src_vir, dst_proc, dst_seg, dst_vir, bytes) {
        int src_proc;
        int src_reg;
        long src_vir;
        int dst_proc;
        int dst_seg;
        long dst_vir;
        long bytes;
    }
    PUBLIC int no_sys ()
    PUBLIC panic (format, num) {char *format; int num; ...}
mm/putc.c
    PUBLIC putc (c) {char c; ...}
    PRIVATE f_l_u_s_h ()
mm/table.c
    int (*call_vec [NCALLS]) () = {
        no_sys,
        do_mm_exit, 
        do_fork, 
        do_sys,
        no_sys, ...}
fs/buf.h
fs/dev.h
fs/file.h
fs/fproc.h
fs/glo.h
fs/inode.h
fs/param.h
fs/super.h
fs/type.h
fs/cache.c
    PUBLIC struct buf *get_block (dev, block, only_search) {register dev_nr dev; register block_nr block; int only_search; ...}
    PUBLIC put_block (bp, block_type) {register struct buf *bp; int block_type; ...}
    PUBLIC zone_nr alloc_zone (dev, z) {dev_nr dev; zone_nr z; ...}
    PUBLIC free_zone (dev, numb) {dev_nr; zone_nr numb; ...}
    PUBLIC rw_block (bp, rw_flag) {register buf *bp; int rw_flag; ...}
    PUBLIC invalidate (device) {dev_nr device; ...}
fs/inode.c
    PUBLIC struct inode *get_inode (dev, numb) {dev_nr dev; inode_nr numb; ...}
    PUBLIC put_inode (rip) {register struct inode *rip; ...}
fs/super.c
fs/filedes.c
fs/main.c
fs/table.c
fs/open.c
fs/read.c
fs/write.c
fs/pipe.c
fs/path.c
fs/mount.c
fs/link.c
fs/stadir.c
fs/protect.c
fs/time.c
fs/misc.c
fs/devie.c
fs/utility.c
fs/putc.c
Antworten