]>
Devi Nivas Git - cs3210-lab1.git/log
Frans Kaashoek [Thu, 30 Aug 2018 20:14:34 +0000 (16:14 -0400)]
Allow holding to be called with interrupts enabled (for Mark Morrissey).
Frans Kaashoek [Thu, 30 Aug 2018 19:45:16 +0000 (15:45 -0400)]
Delete a patch
Adjust typesetting of code
Frans Kaashoek [Thu, 30 Aug 2018 18:47:07 +0000 (14:47 -0400)]
x
Frans Kaashoek [Thu, 30 Aug 2018 18:16:29 +0000 (14:16 -0400)]
x
Frans Kaashoek [Thu, 30 Aug 2018 18:09:03 +0000 (14:09 -0400)]
thanks mtasm
Frans Kaashoek [Thu, 30 Aug 2018 17:48:47 +0000 (13:48 -0400)]
thanks wxdao
Frans Kaashoek [Thu, 30 Aug 2018 17:46:48 +0000 (13:46 -0400)]
thanks eyalz800
Frans Kaashoek [Thu, 30 Aug 2018 17:36:07 +0000 (13:36 -0400)]
vectors.pl is executable and asks shell for perl
Frans Kaashoek [Thu, 30 Aug 2018 17:30:50 +0000 (13:30 -0400)]
thanks mataness
Frans Kaashoek [Thu, 30 Aug 2018 17:27:57 +0000 (13:27 -0400)]
thanks tyfkda
Frans Kaashoek [Thu, 30 Aug 2018 17:25:54 +0000 (13:25 -0400)]
x
Frans Kaashoek [Thu, 30 Aug 2018 17:14:01 +0000 (13:14 -0400)]
Remove unused flags (thanks Wolfgang Keller)
Frans Kaashoek [Thu, 30 Aug 2018 17:09:03 +0000 (13:09 -0400)]
x
Frans Kaashoek [Thu, 30 Aug 2018 16:12:16 +0000 (12:12 -0400)]
x
Frans Kaashoek [Thu, 30 Aug 2018 15:57:46 +0000 (11:57 -0400)]
Because sleeplocks replaced B_BUSY the holding test can
be more specific (thanks Mark Morrissey)
Frans Kaashoek [Thu, 30 Aug 2018 15:42:10 +0000 (11:42 -0400)]
x
Robert Morris [Tue, 24 Oct 2017 12:49:31 +0000 (08:49 -0400)]
stricter log consumption by write()
Robert Morris [Sun, 8 Oct 2017 11:12:31 +0000 (07:12 -0400)]
improve swtch comment
Robert Morris [Tue, 29 Aug 2017 18:11:59 +0000 (14:11 -0400)]
fix runoff complaints about pagination and long lines
Frans Kaashoek [Thu, 10 Aug 2017 11:09:53 +0000 (07:09 -0400)]
thx
Frans Kaashoek [Wed, 9 Aug 2017 12:07:55 +0000 (08:07 -0400)]
Update comment to reflect xv6 doesn't have per-cpu segments anymore
Robert Morris [Wed, 9 Aug 2017 18:16:55 +0000 (14:16 -0400)]
nothing much
Frans Kaashoek [Wed, 9 Aug 2017 11:43:06 +0000 (07:43 -0400)]
Commit to running on an SMP (perhaps with only 1 core). Remove most code
from picirq.c and remove timer.c completely. Update runoff.list.
Robert Morris [Wed, 9 Aug 2017 10:54:45 +0000 (06:54 -0400)]
comment fixes
Frans Kaashoek [Tue, 8 Aug 2017 23:42:51 +0000 (19:42 -0400)]
Thanks Anton Burtsev <aburtsev@uci.edu>
Robert Morris [Tue, 8 Aug 2017 18:19:54 +0000 (14:19 -0400)]
fix iput() to more obviously avoid deadlock
Robert Morris [Tue, 8 Aug 2017 18:12:25 +0000 (14:12 -0400)]
a little more lock documentation
Robert Morris [Tue, 8 Aug 2017 17:48:48 +0000 (13:48 -0400)]
protect ip->valid and ip->nlink with sleep lock in iput()
Robert Morris [Tue, 8 Aug 2017 17:34:13 +0000 (13:34 -0400)]
change ip->flags&I_VALID to ip->valid
Robert Morris [Tue, 8 Aug 2017 17:27:06 +0000 (13:27 -0400)]
Merge branch 'master' of g.csail.mit.edu:xv6-dev
Robert Morris [Tue, 8 Aug 2017 17:26:57 +0000 (13:26 -0400)]
frans' fixes to iput()
Robert Morris [Tue, 8 Aug 2017 17:24:38 +0000 (13:24 -0400)]
fs comment nits
Frans Kaashoek [Mon, 7 Aug 2017 19:15:18 +0000 (15:15 -0400)]
Remove some debugging statements
Frans Kaashoek [Mon, 7 Aug 2017 18:35:05 +0000 (14:35 -0400)]
Merge branch 'nogs'
Frans Kaashoek [Mon, 7 Aug 2017 17:44:03 +0000 (13:44 -0400)]
Merge branch 'patch-1' of https://github.com/aliceinwire/xv6-public
Frans Kaashoek [Mon, 7 Aug 2017 17:29:11 +0000 (13:29 -0400)]
Merge branch 'patch-1' of https://github.com/Saarett/xv6-public
Grant Wu [Thu, 27 Apr 2017 02:56:51 +0000 (19:56 -0700)]
Fix typo in dirlookup
Alice Ferrazzi [Mon, 27 Feb 2017 04:12:59 +0000 (13:12 +0900)]
Update LICENSE
updated copyright year
Saarett [Sun, 5 Feb 2017 10:44:56 +0000 (12:44 +0200)]
Free pgdir in setupkvm in case of mappages failure
There is a potential memory leak when mappages() fails inside setupkvm().
A call to freevm() is added in this case so as to reclaim the lost mapping pages.
Frans Kaashoek [Thu, 2 Feb 2017 01:36:41 +0000 (20:36 -0500)]
A tiny bit of clean up (e.g., move code searching cpu array from lapic.c into
mycpu() in proc.c.
Frans Kaashoek [Thu, 2 Feb 2017 00:21:43 +0000 (19:21 -0500)]
use panic
Frans Kaashoek [Thu, 2 Feb 2017 00:18:47 +0000 (19:18 -0500)]
shorten comment
Frans Kaashoek [Wed, 1 Feb 2017 23:04:13 +0000 (18:04 -0500)]
Eliminate code for gs trick to track per-cpu state. We rely on lapiccpunum()
to find a per-cpu id with which we locate a cpu's cpu struct.
Frans Kaashoek [Wed, 1 Feb 2017 01:21:14 +0000 (20:21 -0500)]
Read curproc from cpu structure, but be careful because after a schedule event
myproc() points to a different thread.
myproc();
sched();
myproc(); // this proc maybe different than the one before sched
Thus, in a function that operates on one thread better to retrieve the
current process once at the start of the function.
Frans Kaashoek [Tue, 31 Jan 2017 22:47:16 +0000 (17:47 -0500)]
Start of an experiment to remove the use of gs for cpu local variables.
Frans Kaashoek [Tue, 31 Jan 2017 01:24:13 +0000 (20:24 -0500)]
wolfgang keller
Frans Kaashoek [Tue, 31 Jan 2017 01:11:23 +0000 (20:11 -0500)]
Fix spelling Gaoron.
Frans Kaashoek [Tue, 31 Jan 2017 01:09:54 +0000 (20:09 -0500)]
Thanks to Wolfgang Keller <nubok@users.noreply.github.com>
Frans Kaashoek [Tue, 31 Jan 2017 01:07:42 +0000 (20:07 -0500)]
Thanks to Wolfgang Keller <nubok@users.noreply.github.com>
Antonio Gutierrez [Fri, 2 Dec 2016 19:17:54 +0000 (20:17 +0100)]
Add support for qemu-system-x86_64 in 64bit hosts
As x86-64 is a superset of x86, we can use qemu-system-x86_64 to run
the OS image.
Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>
Frans Kaashoek [Tue, 31 Jan 2017 01:01:33 +0000 (20:01 -0500)]
Thanks to Jeehoon Kang <jeehoon.kang@sf.snu.ac.kr>
Peter Froehlich [Fri, 23 Dec 2016 01:26:37 +0000 (20:26 -0500)]
Fix long-standing switchuvm() inconsistency.
switchuvm() is supposed to switch the TSS and page table to the
process p it is passed. Alas, instead of using p to access the
kstack field, it used the global proc. This worked fine because
(a) most uses of switchuvm() pass proc anyway and (b) because in
the schedule, where we call switchuvm with the newly scheduled
process, we actually set the global proc before the call. But I
think it's still a bug, even if it never broke a test case. :-)
Peter H. Froehlich [Tue, 27 Sep 2016 20:58:29 +0000 (16:58 -0400)]
Fix unsigned conversion bug.
Since readi() returns -1 for errors, checking with < against an unsigned
value is inadvisable. Checking with != works as intended however.
Frans Kaashoek [Mon, 30 Jan 2017 14:38:19 +0000 (09:38 -0500)]
Cody
Cody Cutler [Mon, 26 Sep 2016 16:21:01 +0000 (12:21 -0400)]
fix possible memory leak in deallocuvm
when a zero PDE is encountered while searching for present PTEs to free,
resume searching at first entry of the next page table instead of the
current entry of the next page table.
Icenowy Zheng [Sat, 9 Apr 2016 01:38:40 +0000 (09:38 +0800)]
Fixed broken build on newer gold linker with NaCl support
On platforms with NaCl support, ld.gold -V will return a "elf_i386_nacl" in
addition to "elf_i386", which will make the build fail.
Frans Kaashoek [Mon, 26 Sep 2016 11:54:02 +0000 (07:54 -0400)]
Add mikecat's argp test
MikeCAT [Sat, 19 Dec 2015 13:52:11 +0000 (22:52 +0900)]
fix memory region validation in argptr()
Frans Kaashoek [Sun, 25 Sep 2016 12:27:26 +0000 (08:27 -0400)]
Typo (Thanks to Austin Liew)
Frans Kaashoek [Mon, 19 Sep 2016 11:02:08 +0000 (07:02 -0400)]
Merge branch 'master' of g.csail.mit.edu:xv6-dev
Frans Kaashoek [Mon, 19 Sep 2016 11:01:30 +0000 (07:01 -0400)]
Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail)
Tej Chajed [Fri, 16 Sep 2016 13:11:23 +0000 (09:11 -0400)]
Fix a small README typo
Frans Kaashoek [Thu, 15 Sep 2016 23:16:30 +0000 (19:16 -0400)]
Remove left-over print statements
Robert Morris [Thu, 15 Sep 2016 16:56:17 +0000 (12:56 -0400)]
Merge branch 'master' of g.csail.mit.edu:xv6-dev
Robert Morris [Thu, 15 Sep 2016 16:12:05 +0000 (12:12 -0400)]
change allocproc() back to acquiring the ptable.lock.
fix bugs where caller incorrectly released lock on error return path.
Robert Morris [Thu, 15 Sep 2016 16:01:52 +0000 (12:01 -0400)]
xx
Frans Kaashoek [Thu, 15 Sep 2016 01:13:09 +0000 (21:13 -0400)]
Delete two left-over print statements
Frans Kaashoek [Wed, 14 Sep 2016 17:01:53 +0000 (13:01 -0400)]
Update comment a bit.
Frans Kaashoek [Wed, 14 Sep 2016 12:43:57 +0000 (08:43 -0400)]
Add sleeplock.[ch] to listing
Frans Kaashoek [Tue, 13 Sep 2016 18:51:44 +0000 (14:51 -0400)]
one more BUSY
Frans Kaashoek [Mon, 12 Sep 2016 01:01:24 +0000 (21:01 -0400)]
sleeplock files
Frans Kaashoek [Mon, 12 Sep 2016 00:59:57 +0000 (20:59 -0400)]
Replace I_BUSY with sleep locks
Frans Kaashoek [Mon, 12 Sep 2016 00:17:22 +0000 (20:17 -0400)]
Move retry loop/sleep/wakeup in bio.c into sleeping locks
Frans Kaashoek [Sun, 11 Sep 2016 21:24:04 +0000 (17:24 -0400)]
Straight replacement of B_BUSY with a sleeping lock.
Frans Kaashoek [Fri, 9 Sep 2016 01:20:26 +0000 (21:20 -0400)]
Merge branch 'master' of g.csail.mit.edu:xv6-dev
Frans Kaashoek [Fri, 9 Sep 2016 01:20:17 +0000 (21:20 -0400)]
x
Robert Morris [Thu, 8 Sep 2016 18:45:20 +0000 (14:45 -0400)]
use asm() for lock release, not a C assignment
Robert Morris [Thu, 8 Sep 2016 18:22:38 +0000 (14:22 -0400)]
this might fix the reported deadlock, though I can't reproduce it.
Frans Kaashoek [Thu, 8 Sep 2016 17:09:09 +0000 (13:09 -0400)]
Be a bit more explicit what kind of suggestions are are interested.
Frans Kaashoek [Fri, 2 Sep 2016 19:27:28 +0000 (15:27 -0400)]
Make runoff happy
Frans Kaashoek [Fri, 2 Sep 2016 18:59:00 +0000 (14:59 -0400)]
Fix a few lines that runoff is complaining about that they are too long
Frans Kaashoek [Fri, 2 Sep 2016 12:43:33 +0000 (08:43 -0400)]
ack xi
Frans Kaashoek [Fri, 2 Sep 2016 12:36:14 +0000 (08:36 -0400)]
Merge branch 'master' of g.csail.mit.edu:xv6-dev
Frans Kaashoek [Fri, 2 Sep 2016 12:31:13 +0000 (08:31 -0400)]
APIC IDs may not be consecutive and start from zero, so we cannot really use it
as a direct index into cpus. Record apicid in struct cpu and have cpunum() look
for it. Replace cpu->id with cpunum() everywhere, and replace cpu->id with cpu->apicid.
Thanks to Xi Wang.
Robert Morris [Fri, 2 Sep 2016 09:40:54 +0000 (05:40 -0400)]
comment about sched() saving/restoring cpu->intena
Robert Morris [Thu, 1 Sep 2016 21:21:37 +0000 (17:21 -0400)]
curproc -> proc in a comment
Frans Kaashoek [Fri, 26 Aug 2016 12:46:13 +0000 (08:46 -0400)]
better comment
Frans Kaashoek [Fri, 26 Aug 2016 12:22:24 +0000 (08:22 -0400)]
ack
Frans Kaashoek [Fri, 26 Aug 2016 12:20:11 +0000 (08:20 -0400)]
set iomb to forbid i/o instructions from user space
add to test that they indeed trap in user space
thanks to pablogventura@gmail.com and nwolovick@gmail.com
Frans Kaashoek [Thu, 25 Aug 2016 13:14:52 +0000 (09:14 -0400)]
x
Frans Kaashoek [Thu, 25 Aug 2016 13:13:00 +0000 (09:13 -0400)]
Remove trailing white space with:
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done
(Thanks to Nicolás Wolovick)
Frans Kaashoek [Thu, 25 Aug 2016 11:12:33 +0000 (07:12 -0400)]
ack mikecat
MikeCAT [Sat, 19 Dec 2015 15:04:52 +0000 (00:04 +0900)]
add check for wrapping of address + size in exec()
MikeCAT [Sat, 19 Dec 2015 14:43:56 +0000 (23:43 +0900)]
add alignment check of virtual address to exec()
Robert Morris [Wed, 24 Aug 2016 17:40:06 +0000 (13:40 -0400)]
p2v -> P2V
Frans Kaashoek [Fri, 19 Aug 2016 11:20:08 +0000 (07:20 -0400)]
x
Frans Kaashoek [Fri, 19 Aug 2016 01:02:05 +0000 (21:02 -0400)]
Coding style (thanks to phf).
Peter H. Froehlich [Sat, 26 Sep 2015 21:38:04 +0000 (17:38 -0400)]
Fixed QEMU command line avoids raw image warning.
Frans Kaashoek [Thu, 18 Aug 2016 18:00:48 +0000 (14:00 -0400)]
It will be for 2016
Frans Kaashoek [Thu, 18 Aug 2016 17:37:32 +0000 (13:37 -0400)]
Update based on a scan of my 6828 folder