summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)AuthorFilesLines
2024-02-17lab lock: update bcache lock namelockMole Shang1-2/+2
2024-02-16lab lock/bcache: finishMole Shang2-32/+117
2024-02-15lab lock/kalloc: finishMole Shang1-20/+71
2024-02-14Merge branch 'net' into lockMole Shang26-46/+1667
Conflicts: .gitignore Makefile conf/lab.mk kernel/defs.h user/user.h
2024-02-13lab net: finishnetMole Shang2-9/+58
2024-02-13Merge branch 'cow' into netMole Shang14-22/+441
Conflicts: .gitignore Makefile conf/lab.mk kernel/defs.h kernel/syscall.c kernel/vm.c user/pingpong.c user/user.h user/usys.pl
2024-02-11lab cow: finishcowMole Shang7-9/+106
2024-02-11lab traps: finishtrapsMole Shang8-2/+104
2024-02-10lab pgtbl: finishpgtblMole Shang9-5/+94
2024-02-05lab syscall: finishMole Shang9-0/+127
Conflicts: kernel/syscall.c kernel/syscall.h user/user.h user/usys.pl
2024-01-02xRobert Morris1-0/+26
2024-01-02xRobert Morris1-0/+8
2023-10-30lock: release labSanjit Bhat12-8/+687
2023-10-26net add missing filesSanjit Bhat6-0/+1047
2023-10-25release lab netSanjit Bhat12-25/+320
2023-09-083rd labRobert Morris4-4/+54
2022-10-18Made va and size page aligned in mappagesasselism1-4/+11
2022-10-17xRobert Morris1-1/+2
2022-10-17oops. scheduler() inherits the interrupt status of theRobert Morris1-4/+4
most recent process to run, so it must explicitly turn them on again. It would be better if cpu->intena were really thread->intena.
2022-10-16scheduler()'s intr_on() is in the wrong place, reflectingRobert Morris1-3/+4
the locking scheme from long ago.
2022-10-12forkret first memory modelRobert Morris1-1/+4
2022-10-04fix copyout() to refuse to write a read-only pageRobert Morris2-3/+8
2022-09-18Remove unused PLIC_M* macrosFrans Kaashoek1-3/+0
2022-09-09handle negative arguments to sleep() a little betterRobert Morris1-0/+2
2022-08-24comment the sfencesRobert Morris1-1/+9
2022-08-24sfence before enabling pagingRobert Morris1-0/+5
2022-08-24Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-0/+5
2022-08-24sfence before writing satp, as well as afterRobert Morris2-1/+3
2022-08-24Help students read this C syntaxFrans Kaashoek1-0/+5
2022-08-23Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-1/+1
2022-08-23tolerate running out of inodesRobert Morris2-4/+8
2022-08-23xFrans Kaashoek1-1/+1
2022-08-23Linker script makes binaries bigger; use larger disk so that usertestsFrans Kaashoek1-1/+1
can run. Must assumed_free in badwrite() be adjusted?
2022-08-23Merge branch 'riscv' into uvm-permFrans Kaashoek11-93/+118
2022-08-23Use simple linker script to force data segment to be page alignedFrans Kaashoek1-8/+6
2022-08-23tolerate out of disk when creating . and .. in mkdir()Robert Morris1-9/+16
2022-08-23don't panic if out of disk space when extending a directory.Robert Morris2-3/+9
2022-08-23Merge branch 'riscv-killed' into riscvFrans Kaashoek6-8/+29
2022-08-22Use pp instead of np to be more consistentFrans Kaashoek1-12/+12
2022-08-22Make argint() and argaddr() of type void (thanks Harry Porter)Frans Kaashoek4-30/+27
2022-08-22Simplify uartputc slightly (thanks Harry Porter)Frans Kaashoek1-13/+9
2022-08-22slightly better commentsRobert Morris2-19/+18
2022-08-17Use uint64 (thanks carlclone and Harry Porter)Frans Kaashoek2-2/+2
2022-08-15Compile user binary to map text without W and data without XFrans Kaashoek1-7/+20
Use the flags in elf header to set vm permissions Modify pgbug() so that usertests text segment is without W Add test to check app cannot write text segment
2022-08-12Costmestic change (thanks Harry Porter)Frans Kaashoek1-4/+3
2022-08-12Experiment with being more precise setting permissions for user pages.Frans Kaashoek4-6/+6
Growing adds R|W pages (without X). Exec() marks the stack only R|W. Probably could setup permissions for text and data better if we call ld with --no-omagic instead of -N.
2022-08-12Cosmetic change (thanks Harry Porter)Frans Kaashoek1-1/+1
2022-08-12cosmetic changes (thanks Harry Porter)Frans Kaashoek3-19/+20
2022-08-12cosmetic changes (thanks Harry Porter)Frans Kaashoek3-10/+10
2022-08-12Delete rtcdate, which is a left-over from an old lab (thanks Harry Porter)Frans Kaashoek2-9/+0