├── .gitignore ├── README.md ├── blogcode └── 文件系统分析 │ ├── fs.h │ ├── inode.h │ ├── iobuf.h │ └── ucoredef.h ├── code-with-comments ├── .gitignore ├── Makefile ├── boot │ ├── asm.h │ ├── bootasm.S │ └── bootmain.c ├── kern │ ├── debug │ │ ├── assert.h │ │ ├── kdebug.c │ │ ├── kdebug.h │ │ ├── kmonitor.c │ │ ├── kmonitor.h │ │ ├── panic.c │ │ └── stab.h │ ├── driver │ │ ├── clock.c │ │ ├── clock.h │ │ ├── console.c │ │ ├── console.h │ │ ├── ide.c │ │ ├── ide.h │ │ ├── intr.c │ │ ├── intr.h │ │ ├── kbdreg.h │ │ ├── picirq.c │ │ └── picirq.h │ ├── fs │ │ ├── devs │ │ │ ├── dev.c │ │ │ ├── dev.h │ │ │ ├── dev_disk0.c │ │ │ ├── dev_stdin.c │ │ │ └── dev_stdout.c │ │ ├── file.c │ │ ├── file.h │ │ ├── fs.c │ │ ├── fs.h │ │ ├── iobuf.c │ │ ├── iobuf.h │ │ ├── sfs │ │ │ ├── bitmap.c │ │ │ ├── bitmap.h │ │ │ ├── sfs.c │ │ │ ├── sfs.h │ │ │ ├── sfs_fs.c │ │ │ ├── sfs_inode.c │ │ │ ├── sfs_io.c │ │ │ └── sfs_lock.c │ │ ├── swap │ │ │ ├── swapfs.c │ │ │ └── swapfs.h │ │ ├── sysfile.c │ │ ├── sysfile.h │ │ └── vfs │ │ │ ├── inode.c │ │ │ ├── inode.h │ │ │ ├── vfs.c │ │ │ ├── vfs.h │ │ │ ├── vfsdev.c │ │ │ ├── vfsfile.c │ │ │ ├── vfslookup.c │ │ │ └── vfspath.c │ ├── init │ │ ├── entry.S │ │ └── init.c │ ├── libs │ │ ├── readline.c │ │ ├── stdio.c │ │ └── string.c │ ├── mm │ │ ├── default_pmm.c │ │ ├── default_pmm.h │ │ ├── kmalloc.c │ │ ├── kmalloc.h │ │ ├── memlayout.h │ │ ├── mmu.h │ │ ├── pmm.c │ │ ├── pmm.h │ │ ├── swap.c │ │ ├── swap.h │ │ ├── swap_fifo.c │ │ ├── swap_fifo.h │ │ ├── vmm.c │ │ └── vmm.h │ ├── process │ │ ├── entry.S │ │ ├── proc.c │ │ ├── proc.h │ │ └── switch.S │ ├── schedule │ │ ├── rr_sched.c │ │ ├── rr_sched.h │ │ ├── sched.c │ │ ├── sched.h │ │ ├── stride_sched.c │ │ └── stride_sched.h │ ├── sync │ │ ├── check_sync.c │ │ ├── monitor.c │ │ ├── monitor.h │ │ ├── sem.c │ │ ├── sem.h │ │ ├── sync.h │ │ ├── wait.c │ │ └── wait.h │ ├── syscall │ │ ├── syscall.c │ │ └── syscall.h │ └── trap │ │ ├── trap.c │ │ ├── trap.h │ │ ├── trapentry.S │ │ └── vectors.S ├── libs │ ├── atomic.h │ ├── defs.h │ ├── dirent.h │ ├── elf.h │ ├── error.h │ ├── hash.c │ ├── list.h │ ├── printfmt.c │ ├── rand.c │ ├── skew_heap.h │ ├── stat.h │ ├── stdarg.h │ ├── stdio.h │ ├── stdlib.h │ ├── string.c │ ├── string.h │ ├── unistd.h │ └── x86.h ├── readme.md ├── tools │ ├── boot.ld │ ├── function.mk │ ├── gdbinit │ ├── grade.sh │ ├── kernel.ld │ ├── mksfs.c │ ├── sign.c │ ├── user.ld │ └── vector.c └── user │ ├── badarg.c │ ├── badsegment.c │ ├── divzero.c │ ├── exit.c │ ├── faultread.c │ ├── faultreadkernel.c │ ├── forktest.c │ ├── forktree.c │ ├── hello.c │ ├── libs │ ├── dir.c │ ├── dir.h │ ├── file.c │ ├── file.h │ ├── initcode.S │ ├── lock.h │ ├── panic.c │ ├── stdio.c │ ├── syscall.c │ ├── syscall.h │ ├── ulib.c │ ├── ulib.h │ └── umain.c │ ├── ls.c │ ├── matrix.c │ ├── pgdir.c │ ├── priority.c │ ├── sfs_filetest1.c │ ├── sh.c │ ├── sleep.c │ ├── sleepkill.c │ ├── softint.c │ ├── spin.c │ ├── testbss.c │ ├── waitkill.c │ └── yield.c ├── images ├── Canonical Device.png ├── PTE.png ├── SFS 磁盘组织.png ├── VFS 与 SFS 的衔接.png ├── fork-文件描述块.png ├── gdb 调试用户程序.jpg ├── gdb调试用户态程序 4.png ├── gdb调试用户态程序 5.png ├── gdb调试用户态程序3.png ├── gdb调试用户程序 2.png ├── io_buffer.png ├── iobuf 与 disk0_buffer.png ├── iobuf含义.png ├── kernel 链接信息.png ├── vdev_list.png ├── 中断寻址.png ├── 中断结构.png ├── 内核数据结构-pages.png ├── 内核虚拟地址.png ├── 双向链表示例.png ├── 哈希表.png ├── 存储管理模块依赖图.png ├── 文件系统分析 1.png ├── 文件系统分析 2.png ├── 文件系统分析 3.png ├── 文件系统架构.png ├── 文件系统类图fs.png ├── 文件系统类图inode.png ├── 文件系统设计图.png ├── 物理内存初始状态.png ├── 物理页示意图.png ├── 目录树的磁盘级表示1.png ├── 目录树的磁盘级表示2.png ├── 磁盘区块.png ├── 线性地址结构.png ├── 虚拟内存管理.png ├── 虚拟内存维护.png ├── 虚拟地址空间和物理地址空间的示意图.png ├── 进程与文件数据结构.png └── 进程数据结构 1.png ├── mindmaps ├── 操作系统机制.xmind ├── 操作系统设计.xmind └── 虚拟化.xmind ├── notes ├── bitmap.md ├── lab 7.md ├── lab0-1.md ├── lab2.md ├── lab3.md ├── lab4.md ├── lab5.md ├── lab6.md ├── lab8.md ├── ucore 中的数据结构与算法.md ├── ucore 分析之——文件系统的面向对象实现: 手写虚函数表.md ├── ucore 拓展之——日志输出及控制,调试逻辑优化.md ├── ucore 拓展之——用 gdb 调试程序从用户态到内核态的整个流程.md ├── ucore 文件系统疑似 bug 记录.md ├── 信号量.md ├── 内存管理概览.md ├── 函数调用与中断.md ├── 基于分页机制的虚拟内存管理实现.md ├── 心得.md ├── 总线相关.md ├── 总结.md ├── 教程.md ├── 网络编程.md ├── 自问自答.md └── 速查表.md ├── others ├── IDE 文档ATA-d1410r3a.pdf └── ucore.xls └── ppts ├── 任务管理.pptx ├── 内存管理.pptx ├── 数据结构.pptx ├── 文件系统.pptx ├── 网络编程.pptx └── 进程.pptx /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/README.md -------------------------------------------------------------------------------- /blogcode/文件系统分析/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/blogcode/文件系统分析/fs.h -------------------------------------------------------------------------------- /blogcode/文件系统分析/inode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/blogcode/文件系统分析/inode.h -------------------------------------------------------------------------------- /blogcode/文件系统分析/iobuf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/blogcode/文件系统分析/iobuf.h -------------------------------------------------------------------------------- /blogcode/文件系统分析/ucoredef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/blogcode/文件系统分析/ucoredef.h -------------------------------------------------------------------------------- /code-with-comments/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | *.udb 3 | .idea -------------------------------------------------------------------------------- /code-with-comments/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/Makefile -------------------------------------------------------------------------------- /code-with-comments/boot/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/boot/asm.h -------------------------------------------------------------------------------- /code-with-comments/boot/bootasm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/boot/bootasm.S -------------------------------------------------------------------------------- /code-with-comments/boot/bootmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/boot/bootmain.c -------------------------------------------------------------------------------- /code-with-comments/kern/debug/assert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/assert.h -------------------------------------------------------------------------------- /code-with-comments/kern/debug/kdebug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/kdebug.c -------------------------------------------------------------------------------- /code-with-comments/kern/debug/kdebug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/kdebug.h -------------------------------------------------------------------------------- /code-with-comments/kern/debug/kmonitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/kmonitor.c -------------------------------------------------------------------------------- /code-with-comments/kern/debug/kmonitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/kmonitor.h -------------------------------------------------------------------------------- /code-with-comments/kern/debug/panic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/panic.c -------------------------------------------------------------------------------- /code-with-comments/kern/debug/stab.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/debug/stab.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/clock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/clock.c -------------------------------------------------------------------------------- /code-with-comments/kern/driver/clock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/clock.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/console.c -------------------------------------------------------------------------------- /code-with-comments/kern/driver/console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/console.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/ide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/ide.c -------------------------------------------------------------------------------- /code-with-comments/kern/driver/ide.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/ide.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/intr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/intr.c -------------------------------------------------------------------------------- /code-with-comments/kern/driver/intr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/intr.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/kbdreg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/kbdreg.h -------------------------------------------------------------------------------- /code-with-comments/kern/driver/picirq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/picirq.c -------------------------------------------------------------------------------- /code-with-comments/kern/driver/picirq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/driver/picirq.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/devs/dev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/devs/dev.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/devs/dev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/devs/dev.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/devs/dev_disk0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/devs/dev_disk0.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/devs/dev_stdin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/devs/dev_stdin.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/devs/dev_stdout.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/devs/dev_stdout.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/file.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/file.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/fs.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/fs.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/iobuf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/iobuf.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/iobuf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/iobuf.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/bitmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/bitmap.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/bitmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/bitmap.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs_fs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs_fs.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs_inode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs_inode.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs_io.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sfs/sfs_lock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sfs/sfs_lock.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/swap/swapfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/swap/swapfs.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/swap/swapfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/swap/swapfs.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sysfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sysfile.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/sysfile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/sysfile.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/inode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/inode.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/inode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/inode.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfs.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfs.h -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfsdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfsdev.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfsfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfsfile.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfslookup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfslookup.c -------------------------------------------------------------------------------- /code-with-comments/kern/fs/vfs/vfspath.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/fs/vfs/vfspath.c -------------------------------------------------------------------------------- /code-with-comments/kern/init/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/init/entry.S -------------------------------------------------------------------------------- /code-with-comments/kern/init/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/init/init.c -------------------------------------------------------------------------------- /code-with-comments/kern/libs/readline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/libs/readline.c -------------------------------------------------------------------------------- /code-with-comments/kern/libs/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/libs/stdio.c -------------------------------------------------------------------------------- /code-with-comments/kern/libs/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/libs/string.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/default_pmm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/default_pmm.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/default_pmm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/default_pmm.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/kmalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/kmalloc.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/kmalloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/kmalloc.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/memlayout.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/memlayout.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/mmu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/mmu.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/pmm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/pmm.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/pmm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/pmm.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/swap.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/swap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/swap.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/swap_fifo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/swap_fifo.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/swap_fifo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/swap_fifo.h -------------------------------------------------------------------------------- /code-with-comments/kern/mm/vmm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/vmm.c -------------------------------------------------------------------------------- /code-with-comments/kern/mm/vmm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/mm/vmm.h -------------------------------------------------------------------------------- /code-with-comments/kern/process/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/process/entry.S -------------------------------------------------------------------------------- /code-with-comments/kern/process/proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/process/proc.c -------------------------------------------------------------------------------- /code-with-comments/kern/process/proc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/process/proc.h -------------------------------------------------------------------------------- /code-with-comments/kern/process/switch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/process/switch.S -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/rr_sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/rr_sched.c -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/rr_sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/rr_sched.h -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/sched.c -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/sched.h -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/stride_sched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/stride_sched.c -------------------------------------------------------------------------------- /code-with-comments/kern/schedule/stride_sched.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/schedule/stride_sched.h -------------------------------------------------------------------------------- /code-with-comments/kern/sync/check_sync.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/check_sync.c -------------------------------------------------------------------------------- /code-with-comments/kern/sync/monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/monitor.c -------------------------------------------------------------------------------- /code-with-comments/kern/sync/monitor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/monitor.h -------------------------------------------------------------------------------- /code-with-comments/kern/sync/sem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/sem.c -------------------------------------------------------------------------------- /code-with-comments/kern/sync/sem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/sem.h -------------------------------------------------------------------------------- /code-with-comments/kern/sync/sync.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/sync.h -------------------------------------------------------------------------------- /code-with-comments/kern/sync/wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/wait.c -------------------------------------------------------------------------------- /code-with-comments/kern/sync/wait.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/sync/wait.h -------------------------------------------------------------------------------- /code-with-comments/kern/syscall/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/syscall/syscall.c -------------------------------------------------------------------------------- /code-with-comments/kern/syscall/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/syscall/syscall.h -------------------------------------------------------------------------------- /code-with-comments/kern/trap/trap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/trap/trap.c -------------------------------------------------------------------------------- /code-with-comments/kern/trap/trap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/trap/trap.h -------------------------------------------------------------------------------- /code-with-comments/kern/trap/trapentry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/trap/trapentry.S -------------------------------------------------------------------------------- /code-with-comments/kern/trap/vectors.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/kern/trap/vectors.S -------------------------------------------------------------------------------- /code-with-comments/libs/atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/atomic.h -------------------------------------------------------------------------------- /code-with-comments/libs/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/defs.h -------------------------------------------------------------------------------- /code-with-comments/libs/dirent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/dirent.h -------------------------------------------------------------------------------- /code-with-comments/libs/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/elf.h -------------------------------------------------------------------------------- /code-with-comments/libs/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/error.h -------------------------------------------------------------------------------- /code-with-comments/libs/hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/hash.c -------------------------------------------------------------------------------- /code-with-comments/libs/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/list.h -------------------------------------------------------------------------------- /code-with-comments/libs/printfmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/printfmt.c -------------------------------------------------------------------------------- /code-with-comments/libs/rand.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/rand.c -------------------------------------------------------------------------------- /code-with-comments/libs/skew_heap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/skew_heap.h -------------------------------------------------------------------------------- /code-with-comments/libs/stat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/stat.h -------------------------------------------------------------------------------- /code-with-comments/libs/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/stdarg.h -------------------------------------------------------------------------------- /code-with-comments/libs/stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/stdio.h -------------------------------------------------------------------------------- /code-with-comments/libs/stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/stdlib.h -------------------------------------------------------------------------------- /code-with-comments/libs/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/string.c -------------------------------------------------------------------------------- /code-with-comments/libs/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/string.h -------------------------------------------------------------------------------- /code-with-comments/libs/unistd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/unistd.h -------------------------------------------------------------------------------- /code-with-comments/libs/x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/libs/x86.h -------------------------------------------------------------------------------- /code-with-comments/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/readme.md -------------------------------------------------------------------------------- /code-with-comments/tools/boot.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/boot.ld -------------------------------------------------------------------------------- /code-with-comments/tools/function.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/function.mk -------------------------------------------------------------------------------- /code-with-comments/tools/gdbinit: -------------------------------------------------------------------------------- 1 | file bin/kernel 2 | target remote :1234 3 | break kern_init 4 | -------------------------------------------------------------------------------- /code-with-comments/tools/grade.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/grade.sh -------------------------------------------------------------------------------- /code-with-comments/tools/kernel.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/kernel.ld -------------------------------------------------------------------------------- /code-with-comments/tools/mksfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/mksfs.c -------------------------------------------------------------------------------- /code-with-comments/tools/sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/sign.c -------------------------------------------------------------------------------- /code-with-comments/tools/user.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/user.ld -------------------------------------------------------------------------------- /code-with-comments/tools/vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/tools/vector.c -------------------------------------------------------------------------------- /code-with-comments/user/badarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/badarg.c -------------------------------------------------------------------------------- /code-with-comments/user/badsegment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/badsegment.c -------------------------------------------------------------------------------- /code-with-comments/user/divzero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/divzero.c -------------------------------------------------------------------------------- /code-with-comments/user/exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/exit.c -------------------------------------------------------------------------------- /code-with-comments/user/faultread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/faultread.c -------------------------------------------------------------------------------- /code-with-comments/user/faultreadkernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/faultreadkernel.c -------------------------------------------------------------------------------- /code-with-comments/user/forktest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/forktest.c -------------------------------------------------------------------------------- /code-with-comments/user/forktree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/forktree.c -------------------------------------------------------------------------------- /code-with-comments/user/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/hello.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/dir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/dir.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/dir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/dir.h -------------------------------------------------------------------------------- /code-with-comments/user/libs/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/file.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/file.h -------------------------------------------------------------------------------- /code-with-comments/user/libs/initcode.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/initcode.S -------------------------------------------------------------------------------- /code-with-comments/user/libs/lock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/lock.h -------------------------------------------------------------------------------- /code-with-comments/user/libs/panic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/panic.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/stdio.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/syscall.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/syscall.h -------------------------------------------------------------------------------- /code-with-comments/user/libs/ulib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/ulib.c -------------------------------------------------------------------------------- /code-with-comments/user/libs/ulib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/ulib.h -------------------------------------------------------------------------------- /code-with-comments/user/libs/umain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/libs/umain.c -------------------------------------------------------------------------------- /code-with-comments/user/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/ls.c -------------------------------------------------------------------------------- /code-with-comments/user/matrix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/matrix.c -------------------------------------------------------------------------------- /code-with-comments/user/pgdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/pgdir.c -------------------------------------------------------------------------------- /code-with-comments/user/priority.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/priority.c -------------------------------------------------------------------------------- /code-with-comments/user/sfs_filetest1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/sfs_filetest1.c -------------------------------------------------------------------------------- /code-with-comments/user/sh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/sh.c -------------------------------------------------------------------------------- /code-with-comments/user/sleep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/sleep.c -------------------------------------------------------------------------------- /code-with-comments/user/sleepkill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/sleepkill.c -------------------------------------------------------------------------------- /code-with-comments/user/softint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/softint.c -------------------------------------------------------------------------------- /code-with-comments/user/spin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/spin.c -------------------------------------------------------------------------------- /code-with-comments/user/testbss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/testbss.c -------------------------------------------------------------------------------- /code-with-comments/user/waitkill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/waitkill.c -------------------------------------------------------------------------------- /code-with-comments/user/yield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/code-with-comments/user/yield.c -------------------------------------------------------------------------------- /images/Canonical Device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/Canonical Device.png -------------------------------------------------------------------------------- /images/PTE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/PTE.png -------------------------------------------------------------------------------- /images/SFS 磁盘组织.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/SFS 磁盘组织.png -------------------------------------------------------------------------------- /images/VFS 与 SFS 的衔接.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/VFS 与 SFS 的衔接.png -------------------------------------------------------------------------------- /images/fork-文件描述块.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/fork-文件描述块.png -------------------------------------------------------------------------------- /images/gdb 调试用户程序.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/gdb 调试用户程序.jpg -------------------------------------------------------------------------------- /images/gdb调试用户态程序 4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/gdb调试用户态程序 4.png -------------------------------------------------------------------------------- /images/gdb调试用户态程序 5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/gdb调试用户态程序 5.png -------------------------------------------------------------------------------- /images/gdb调试用户态程序3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/gdb调试用户态程序3.png -------------------------------------------------------------------------------- /images/gdb调试用户程序 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/gdb调试用户程序 2.png -------------------------------------------------------------------------------- /images/io_buffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/io_buffer.png -------------------------------------------------------------------------------- /images/iobuf 与 disk0_buffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/iobuf 与 disk0_buffer.png -------------------------------------------------------------------------------- /images/iobuf含义.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/iobuf含义.png -------------------------------------------------------------------------------- /images/kernel 链接信息.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/kernel 链接信息.png -------------------------------------------------------------------------------- /images/vdev_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/vdev_list.png -------------------------------------------------------------------------------- /images/中断寻址.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/中断寻址.png -------------------------------------------------------------------------------- /images/中断结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/中断结构.png -------------------------------------------------------------------------------- /images/内核数据结构-pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/内核数据结构-pages.png -------------------------------------------------------------------------------- /images/内核虚拟地址.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/内核虚拟地址.png -------------------------------------------------------------------------------- /images/双向链表示例.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/双向链表示例.png -------------------------------------------------------------------------------- /images/哈希表.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/哈希表.png -------------------------------------------------------------------------------- /images/存储管理模块依赖图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/存储管理模块依赖图.png -------------------------------------------------------------------------------- /images/文件系统分析 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统分析 1.png -------------------------------------------------------------------------------- /images/文件系统分析 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统分析 2.png -------------------------------------------------------------------------------- /images/文件系统分析 3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统分析 3.png -------------------------------------------------------------------------------- /images/文件系统架构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统架构.png -------------------------------------------------------------------------------- /images/文件系统类图fs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统类图fs.png -------------------------------------------------------------------------------- /images/文件系统类图inode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统类图inode.png -------------------------------------------------------------------------------- /images/文件系统设计图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/文件系统设计图.png -------------------------------------------------------------------------------- /images/物理内存初始状态.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/物理内存初始状态.png -------------------------------------------------------------------------------- /images/物理页示意图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/物理页示意图.png -------------------------------------------------------------------------------- /images/目录树的磁盘级表示1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/目录树的磁盘级表示1.png -------------------------------------------------------------------------------- /images/目录树的磁盘级表示2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/目录树的磁盘级表示2.png -------------------------------------------------------------------------------- /images/磁盘区块.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/磁盘区块.png -------------------------------------------------------------------------------- /images/线性地址结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/线性地址结构.png -------------------------------------------------------------------------------- /images/虚拟内存管理.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/虚拟内存管理.png -------------------------------------------------------------------------------- /images/虚拟内存维护.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/虚拟内存维护.png -------------------------------------------------------------------------------- /images/虚拟地址空间和物理地址空间的示意图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/虚拟地址空间和物理地址空间的示意图.png -------------------------------------------------------------------------------- /images/进程与文件数据结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/进程与文件数据结构.png -------------------------------------------------------------------------------- /images/进程数据结构 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/images/进程数据结构 1.png -------------------------------------------------------------------------------- /mindmaps/操作系统机制.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/mindmaps/操作系统机制.xmind -------------------------------------------------------------------------------- /mindmaps/操作系统设计.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/mindmaps/操作系统设计.xmind -------------------------------------------------------------------------------- /mindmaps/虚拟化.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/mindmaps/虚拟化.xmind -------------------------------------------------------------------------------- /notes/bitmap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/bitmap.md -------------------------------------------------------------------------------- /notes/lab 7.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab 7.md -------------------------------------------------------------------------------- /notes/lab0-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab0-1.md -------------------------------------------------------------------------------- /notes/lab2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab2.md -------------------------------------------------------------------------------- /notes/lab3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab3.md -------------------------------------------------------------------------------- /notes/lab4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab4.md -------------------------------------------------------------------------------- /notes/lab5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab5.md -------------------------------------------------------------------------------- /notes/lab6.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab6.md -------------------------------------------------------------------------------- /notes/lab8.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/lab8.md -------------------------------------------------------------------------------- /notes/ucore 中的数据结构与算法.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/ucore 中的数据结构与算法.md -------------------------------------------------------------------------------- /notes/ucore 分析之——文件系统的面向对象实现: 手写虚函数表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/ucore 分析之——文件系统的面向对象实现: 手写虚函数表.md -------------------------------------------------------------------------------- /notes/ucore 拓展之——日志输出及控制,调试逻辑优化.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/ucore 拓展之——日志输出及控制,调试逻辑优化.md -------------------------------------------------------------------------------- /notes/ucore 拓展之——用 gdb 调试程序从用户态到内核态的整个流程.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/ucore 拓展之——用 gdb 调试程序从用户态到内核态的整个流程.md -------------------------------------------------------------------------------- /notes/ucore 文件系统疑似 bug 记录.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/ucore 文件系统疑似 bug 记录.md -------------------------------------------------------------------------------- /notes/信号量.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/信号量.md -------------------------------------------------------------------------------- /notes/内存管理概览.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/内存管理概览.md -------------------------------------------------------------------------------- /notes/函数调用与中断.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/函数调用与中断.md -------------------------------------------------------------------------------- /notes/基于分页机制的虚拟内存管理实现.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/基于分页机制的虚拟内存管理实现.md -------------------------------------------------------------------------------- /notes/心得.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/心得.md -------------------------------------------------------------------------------- /notes/总线相关.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/总线相关.md -------------------------------------------------------------------------------- /notes/总结.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/总结.md -------------------------------------------------------------------------------- /notes/教程.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/教程.md -------------------------------------------------------------------------------- /notes/网络编程.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/网络编程.md -------------------------------------------------------------------------------- /notes/自问自答.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /notes/速查表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/notes/速查表.md -------------------------------------------------------------------------------- /others/IDE 文档ATA-d1410r3a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/others/IDE 文档ATA-d1410r3a.pdf -------------------------------------------------------------------------------- /others/ucore.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/others/ucore.xls -------------------------------------------------------------------------------- /ppts/任务管理.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/任务管理.pptx -------------------------------------------------------------------------------- /ppts/内存管理.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/内存管理.pptx -------------------------------------------------------------------------------- /ppts/数据结构.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/数据结构.pptx -------------------------------------------------------------------------------- /ppts/文件系统.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/文件系统.pptx -------------------------------------------------------------------------------- /ppts/网络编程.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/网络编程.pptx -------------------------------------------------------------------------------- /ppts/进程.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libinyl/lcore/HEAD/ppts/进程.pptx --------------------------------------------------------------------------------