Commit graph

  • 5cbccef811 Merge branch 'patch-1' of https://github.com/aliceinwire/xv6-public Frans Kaashoek 2017-08-07 13:44:03 -0400
  • 0249311675 Merge branch 'patch-1' of https://github.com/Saarett/xv6-public Frans Kaashoek 2017-08-07 13:29:11 -0400
  • 61f26e3c97 Fix typo in dirlookup Grant Wu 2017-04-26 19:56:51 -0700
  • 1fb2ea8890 Update LICENSE Alice Ferrazzi 2017-02-27 13:12:59 +0900
  • 03b3086327 Free pgdir in setupkvm in case of mappages failure Saarett 2017-02-05 12:44:56 +0200
  • c9fa90f7e5 A tiny bit of clean up (e.g., move code searching cpu array from lapic.c into mycpu() in proc.c. Frans Kaashoek 2017-02-01 20:36:41 -0500
  • 2e2d14c235 use panic Frans Kaashoek 2017-02-01 19:21:43 -0500
  • 7c00ce8110 shorten comment Frans Kaashoek 2017-02-01 19:18:47 -0500
  • ed396c068b 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 2017-02-01 18:04:13 -0500
  • fbb4c09444 Read curproc from cpu structure, but be careful because after a schedule event myproc() points to a different thread. Frans Kaashoek 2017-01-31 20:21:14 -0500
  • abf847a083 Start of an experiment to remove the use of gs for cpu local variables. Frans Kaashoek 2017-01-31 17:47:16 -0500
  • 59cdd6c63b wolfgang keller Frans Kaashoek 2017-01-30 20:24:13 -0500
  • b4f2235e43 Fix spelling Gaoron. Frans Kaashoek 2017-01-30 20:11:23 -0500
  • d57d37eb87 Thanks to Wolfgang Keller <nubok@users.noreply.github.com> Frans Kaashoek 2017-01-30 20:09:54 -0500
  • c383612a7d Thanks to Wolfgang Keller <nubok@users.noreply.github.com> Frans Kaashoek 2017-01-30 20:07:42 -0500
  • 1772853d39 Add support for qemu-system-x86_64 in 64bit hosts Antonio Gutierrez 2016-12-02 20:17:54 +0100
  • 906610efc9 Thanks to Jeehoon Kang <jeehoon.kang@sf.snu.ac.kr> Frans Kaashoek 2017-01-30 20:01:33 -0500
  • 8d1f99637a Fix long-standing switchuvm() inconsistency. Peter Froehlich 2016-12-22 20:26:37 -0500
  • e916d668f7 Fix unsigned conversion bug. Peter H. Froehlich 2016-09-27 16:58:29 -0400
  • 462930727f Cody Frans Kaashoek 2017-01-30 09:38:19 -0500
  • ffe444926e fix possible memory leak in deallocuvm Cody Cutler 2016-09-26 12:21:01 -0400
  • 91fd3470b0 Fixed broken build on newer gold linker with NaCl support Icenowy Zheng 2016-04-09 09:38:40 +0800
  • 907f23a5bb Add mikecat's argp test Frans Kaashoek 2016-09-26 07:54:02 -0400
  • 2a675089b1 fix memory region validation in argptr() MikeCAT 2015-12-19 22:52:11 +0900
  • 0df5f11bae Typo (Thanks to Austin Liew) Frans Kaashoek 2016-09-25 08:27:26 -0400
  • 7ddba7a636 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-19 07:02:08 -0400
  • 89826f41bd Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail) Frans Kaashoek 2016-09-19 07:01:30 -0400
  • fc1a5da295
    Fix a small README typo Tej Chajed 2016-09-16 09:11:23 -0400
  • 912575ad12 Remove left-over print statements Frans Kaashoek 2016-09-15 19:16:30 -0400
  • d6dc5bcb2d Merge branch 'master' of g.csail.mit.edu:xv6-dev Robert Morris 2016-09-15 12:56:17 -0400
  • aeaa308943 change allocproc() back to acquiring the ptable.lock. fix bugs where caller incorrectly released lock on error return path. Robert Morris 2016-09-15 12:12:05 -0400
  • 469aa8b9b3 xx Robert Morris 2016-09-15 12:01:52 -0400
  • 33188666da Delete two left-over print statements Frans Kaashoek 2016-09-14 21:13:09 -0400
  • 6cec0211d8 Update comment a bit. Frans Kaashoek 2016-09-14 13:01:53 -0400
  • da91a3a408 Add sleeplock.[ch] to listing Frans Kaashoek 2016-09-14 08:43:57 -0400
  • e85cb90cbf one more BUSY Frans Kaashoek 2016-09-13 14:51:44 -0400
  • 564a1cf0cb sleeplock files Frans Kaashoek 2016-09-11 21:01:24 -0400
  • dec637bc59 Replace I_BUSY with sleep locks Frans Kaashoek 2016-09-11 20:59:57 -0400
  • 2adb7c21dc Move retry loop/sleep/wakeup in bio.c into sleeping locks Frans Kaashoek 2016-09-11 20:17:22 -0400
  • 6670d3b5e0 Straight replacement of B_BUSY with a sleeping lock. Frans Kaashoek 2016-09-11 17:24:04 -0400
  • 551c2f3576 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-08 21:20:26 -0400
  • 1b8ccf9482 x Frans Kaashoek 2016-09-08 21:20:17 -0400
  • 34c2efc1d0 use asm() for lock release, not a C assignment Robert Morris 2016-09-08 14:45:20 -0400
  • d63ac118e8 this might fix the reported deadlock, though I can't reproduce it. Robert Morris 2016-09-08 14:22:38 -0400
  • 761ea5471f Be a bit more explicit what kind of suggestions are are interested. Frans Kaashoek 2016-09-08 13:09:09 -0400
  • 5bf3fbee00 Make runoff happy Frans Kaashoek 2016-09-02 15:27:28 -0400
  • b7fed77b7b Fix a few lines that runoff is complaining about that they are too long Frans Kaashoek 2016-09-02 14:59:00 -0400
  • 5f03799f84 ack xi Frans Kaashoek 2016-09-02 08:43:33 -0400
  • b8fd4cba13 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-02 08:36:14 -0400
  • ae15515d80 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. Frans Kaashoek 2016-09-02 08:31:13 -0400
  • bc8221a59c comment about sched() saving/restoring cpu->intena Robert Morris 2016-09-02 05:40:54 -0400
  • 4b2152cc2d curproc -> proc in a comment Robert Morris 2016-09-01 17:21:37 -0400
  • 37939f24c2 better comment Frans Kaashoek 2016-08-26 08:46:13 -0400
  • 27ff70dc08 ack Frans Kaashoek 2016-08-26 08:22:24 -0400
  • aff0c8d5c7 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 2016-08-26 08:20:11 -0400
  • 745a4d31a6 x Frans Kaashoek 2016-08-25 09:14:52 -0400
  • 7894fcd217 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 2016-08-25 09:13:00 -0400
  • 6de6a3c952 ack mikecat Frans Kaashoek 2016-08-25 07:12:33 -0400
  • 5625ae4973 add check for wrapping of address + size in exec() MikeCAT 2015-12-20 00:04:52 +0900
  • 67a7f9597e add alignment check of virtual address to exec() MikeCAT 2015-12-19 23:43:56 +0900
  • a7c03bd914 p2v -> P2V Robert Morris 2016-08-24 13:40:06 -0400
  • 7a77375d64 x Frans Kaashoek 2016-08-19 07:20:08 -0400
  • 1fc87f367c Coding style (thanks to phf). Frans Kaashoek 2016-08-18 21:02:05 -0400
  • 5faed8ba64 Fixed QEMU command line avoids raw image warning. Peter H. Froehlich 2015-09-26 17:38:04 -0400
  • 0f3d9d9d68 It will be for 2016 Frans Kaashoek 2016-08-18 14:00:48 -0400
  • 987064cb12 Update based on a scan of my 6828 folder Frans Kaashoek 2016-08-18 13:37:32 -0400
  • 2a117310b5 Removed useless variable. Peter H. Froehlich 2015-10-03 04:43:05 -0400
  • 216fdf846f Again, QEMU command line to avoid image warning. Peter H. Froehlich 2015-10-03 01:55:43 -0400
  • 1ccb5a6fca Remove unused variable, nits. Peter H. Froehlich 2015-09-26 23:10:25 -0400
  • 2c60b7f31f Removed useless function and prototypes. Peter H. Froehlich 2015-09-26 18:47:39 -0400
  • 09396a801a Thanks to Warren Toomey for RDMUL and WRMUL. Frans Kaashoek 2016-08-18 07:42:13 -0400
  • 4a3576b810 Small change to support RWMUL and WRMUL. Now xv6 truly works with a block size that is a multiple of the sector size. Frans Kaashoek 2016-08-18 07:39:03 -0400
  • 19f65413bd hold ptable.lock for the entire process creation however, processes still modify their own p->* without locking Robert Morris 2016-08-13 03:44:13 -0400
  • 20d05d4411 separate atomic test-and-set from memory barrier. * use xchg only for its atomicness. * use __sync_synchronize() for both CPU and compiler barrier. Robert Morris 2016-08-12 07:03:35 -0400
  • 9c65b32d9e nothing much Robert Morris 2016-08-11 15:41:53 -0400
  • c779cc2be1 main comments Robert Morris 2016-08-11 13:55:13 -0400
  • 241188276c nits Robert Morris 2016-08-10 12:06:02 -0400
  • 3431cd4927 more comments in entryother.S Robert Morris 2016-08-10 11:35:28 -0400
  • 0a69dc9b17 even more explicit that entry.S is linked into kernel, unlike bootasm.S. Robert Morris 2016-08-10 11:22:36 -0400
  • 858475e4df tiny clarifications to some gdt code. Robert Morris 2016-08-10 10:51:14 -0400
  • 0a4a4230a3 shell nits fix Regehr complaint Robert Morris 2016-08-08 13:06:38 -0400
  • 50edfe1412 nits Frans Kaashoek 2015-11-15 13:40:42 -0500
  • 5906118897 Remove console input.lock Nathaniel Wesley Filardo 2015-11-07 00:37:23 -0500
  • 02530a4859 Add sanity check panic for CRTC interactions Nathaniel Wesley Filardo 2015-11-07 00:38:40 -0500
  • b019ac4f7d Merge pull request #3 from beordle/master kaashoek 2015-11-15 12:51:54 -0500
  • 9cbe056cec Merge pull request #5 from kehao95/master kaashoek 2015-11-15 12:45:53 -0500
  • 5371a631d7 Update URL for 2014 kehao95 2015-11-14 00:14:31 +0800
  • abce9b8140 Fix comments Jindong Zhang 2015-09-18 23:36:45 +0800
  • 4f2d38147f Fixed broken build on Arch Linux Ayan Shafqat 2015-08-12 22:11:39 -0400
  • ecb40fb19d coding style (per Jeremías Feltan <jeremias.feltan@gmail.com>) Frans Kaashoek 2015-06-30 16:23:56 -0400
  • b67ed0902d Update memide to reflect recent changes to fs and buf Frans Kaashoek 2015-06-27 13:38:03 -0400
  • 8320d61be5 Pick up where i left off in april: - move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets) - sizes and offsets are computed in one place (mkfs) and the rest of the code refers to the superblock for these values, instead of recomputing them. Frans Kaashoek 2015-06-27 12:39:13 -0400
  • de4af193c8 One ide command for nsector_per_block generates nsector_per_block interrupts, instead of 1. ideintr() should wait for nsector_per_block interrupts before waking up the reader; now it wakes up the reader after 1 interrupt, which apparently means that the first sector is available of the command instead of all. For now keep BSIZE to 512. Frans Kaashoek 2015-04-10 20:39:40 -0400
  • 895af77fe6 check blockno passed to idestart Frans Kaashoek 2015-04-10 07:15:06 -0400
  • c24ac5d763 Disentangle block size from the disk's sector size. Set block size to 1024 to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes. Frans Kaashoek 2015-04-03 08:22:02 -0400
  • 7443b9649a Fix missing NUL-terminator in grep Austin Clements 2015-03-24 20:54:39 -0400
  • 3d2dedd427 fix buf where concurrent fs syscalls race on log entries Cody Cutler 2015-02-19 11:51:47 -0500
  • 41f16c2183 Increase VM memory when running qemu-memfs Austin Clements 2014-10-03 09:44:26 -0400
  • 8e54196355 Make kernelmemfs depend on kernel.ld Austin Clements 2014-10-03 09:43:44 -0400
  • 0dd991dd20 Fix kernelmemfs linking Austin Clements 2014-10-03 09:39:09 -0400