l Boot l l addaout c boot ch
l Boot/ : 啟動相關的程式碼 l l addaout. c, boot. c/h, bootlock. s, boothead. s, bootimage. c, doshead. s, image. h, installboot. c, jumpboot. s, masterboot. s, mkfhead. s, mkfile. c, rawfs. c/h kernel/ : 行程相關的程式碼 l clock. c, config. c/h, debug. c/h, exception. c, glo. h, i 8259. c, ipc. h, kernel. h, klib 88. s, klib 386. s, klib. s, main. c, mpx 88. s, mpx 386. s, mpx. s, priv. h, proc. c/h, protect. c/h, proto. h, sconst. h, start. c, system. c, table. c, type. h, utility. c l system/ l : do_xx 的程式, do_abort. c, do_copy. c, dodevio. c, do_endksig. c, do_exec. c, do_exit. c, do_fork. c, do_getinfo. c, do_getksig. c, do_int 86. c, do_iopenable. c, do_irqctl. c, dodo_exec. c, do_fork. c, do_kill. c, do_memset. c, do_newmap. c, do_nice. c, do_privctl. c, do_sdevio. c, do_segctl. c, do_setalarm. c, do_sigreturn. c, do_sigend. c, do_times. c, do_trace. c, do_umap. c, do_unused. c, do_vcopy. c, do_vdevio. c 2 陳鍾誠 - 2021/9/7
l servers/ l l ds/ : Data Store Server, (main. c, store. c/h, glo. h, inc. h, proto. h) fs/ : File System, l l : 訊息傳遞相關的程式碼 () buf. h, cache. c, cache 2. c, cdprobe. c, device. c, dmap. c, file. h, filedes. c, fproc. h, fs. h, glo. h, inode. c/h, link. c, lock. c/h, main. c, misc. c, mount. c, open. c, param. h, path. c, pipe. c, protect. c, proto. h, read. c, select. c/h, stadir. c, super. c/h, table. c, timers. c, type. h, utility. c, write. c Inet/ : : Networking, l buf. c, clock. c, inet_config. c, mnx_eth. c, mq. c, qp. c, sha 2. c, sr. c, stacktrace. c, version. c l generic/: 網路通用程式 (arp. c/h, assert. h, buf. h, clock. h, eth. c/h, eth_int. h, event. c/h, icmp_lib. h, io. c/h, ip_eth. c/h, ip_int. h, ip_ioctl. c/h, ip_lib. c, ip_ps. c, ip_read. c, ip_write. c, ipr. c/h, psip. c/h, rand 256. c/h, sr. h, tcp. c/h, tcp_int. h, tcp_lib. c, tcp_recv. c, tcp_send. c, type. h, udp. c, udp. h, udp_int. h) l l l minix 3/ : 只有 queryparam. c, . h init : 只有 init. c , 是所有 Process 的 Father Process. is/ : information server, 除錯資訊的 dump. l l pm/ : : Process Management, 包含 l l l dump. c, dmp_ds. c, dmp_fs. c, dmp_kernel. c, dmp_pm. c, dmp_rs. c, glo. h, inc. h, is. h, main. c, proto. h alloc. c, break. c, const. h, exec. c, forkexit. c, getset. c, glo. h, main. c, misc. c, mproc. h, param. h, proto. h, signal. c, table. c, timers. c, trace. c, type. h, utility. c rs/ : Reincarnation(輪迴轉世) Server, (inc. h, main. c, manager. c/h, proto. h, service. c) sm/: System Process Manager, (沒有 *. c 只有一個 makefile) 3 陳鍾誠 - 2021/9/7
l drivers/ l l l at_wini/ bios_wini/ Cmos/ dp 8390/ dpeth/ l l l l : driver for the IBM-AT winchester controller. : hard disk driver that uses the ROM BIOS. : access the CMOS chip to get or set the system time. : Ethernet device driver for NS dp 8390 cards. (dp 8390. c, ne 2000. c, rtl 9029. c, wdeth. c) : Ethernet device driver for 3 Com Etherlink (3 c 501) boards, 包含 3 c 501. c, 3 c 503. c, 3 c 509. c, 8390. c, devio. c, dp. c, netbuff. c, wd. c, floppy/ fxp/ l l : IO 驅動程式 (drivers. h) : Floppy Disk Driver, 包含 floppy. c : Ethernet device driver for Intel 82557, 82558, 82559, 82550, and 82562 fast ethernet controllers. 包含 : fxp. c (與裝置相關), mii. c (與裝置無關) lance/ : Ethernet driver for AMD LANCE based ethernet cards. (lance. c) libdriver/ : Device Independent Device Driver Interface. (driver. c, drvlib. c) libpci/ : PCI 插槽 (pci. c, pci_table. c, pci_amd. h, pci_intel. h, pci_via. h, pci. h) log/ : system log device (log. c, diag. c, kput. c) memory/ : (memory. c) printer/ : printer driver. It is a fairly simple driver, supporting only one printer. Characters that are written to the driver are written to the printer without any changes at all. random/ : random number generator, (main. c, random. c, sha 2. c) rescue/ : rescue device driver (rescue. c) rtl 8138/ : device driver for Realtek rtl 8139 based ethernet cards. sb 16/ : driver for a DSP (Digital Sound Processor) on a Sound. Blaster 16 soundcard. tty/ : terminal driver (tty. c, rs 232. c, pty. c, keyboard. c, console. c, vidcopy. c) 4 陳鍾誠 - 2021/9/7
l l tools/ : 具軟體 (Makefile, mkboot, tell_config) include/ : *. h 的表頭檔 l l l l a. out. h, alloca. h, ansi. h, assert. h, configfile. h, ctype. h, courses. h, dirent. h, env. h, errno. h, fcntl. h, float. h, grp. h, inttype. h, libgen. h, libutil. h, limits. h, locale. h, mathconst. h, netdb. h, pwd. h, regexp. h, setjmp. h, sgtty. h, signal. h, stdarg. h, stddef. h, stdint. h, stdio. h, stdlib. h, string. h, tar. h, termcap. h, termios. h, timers. h, tools. h, ttyent. h, unistd. h, utime. h, utmp. h arpa/ : inet. h ibm/ : bios. h, cmos. h, cpu. h, diskparm. h, int 86. h, interrupt. h, memory. h, partition. h, portio. h, ports. h minix/ : bitmap. h, callnr. h, cdrom. h, config. h, const. h, devio. h, dl_eth. h, dmap. h, fslib. h, ioctl. h, ipc. h, jmp_buf. h, keymap. h, minlib. h, partition. h, paths. h, sound. h, swap. h, sys_config. h, syslib. h, sysutil. h, type. h, u 64. h, net/ : hton. h, if. h, ioctl. h, netlib. h gen/ : arp_io. h, dhcp. h, eth_hdr. h, eth_io. h, ether. h, icmp_hdr. h, if_ether. h, inet. h, ip_hdr. h, ip_io. h, nameser. h, netdb. h, one. Csum. h, psip_hdr. h, psip_io. h, resolv. h, rip. h, route. h, socket. h, tcp_hdr. h, tcp_io. h, udp_hdr. h, udp_io. h, vjhc. h netinet/ : in. h, tcp. h sys/ : asynchio. h, dir. y, file. h, ioc_cmos. h, ioc_disk. h, ioc_file. h, ioc_memory. h, ioc_scsi. h, ioc_sound. h, ioc_tape. h, ioc_tty. h, ioctl. h, mtio. h, param. h, ptrace. h, resource. h, select. h, sigcontext. h, socket. h, statfs. h, svrctl. h, time. h, types. h, uio. h, un. h, utsname. h, wait. h, 5 陳鍾誠 - 2021/9/7
- Slides: 5