Commit Graph

  • 0754d21c86 stricter log consumption by write() Robert Morris 2017-10-24 08:49:31 -04:00
  • 1ab23170a1 improve swtch comment Robert Morris 2017-10-08 07:12:31 -04:00
  • 4638cabf8c fix runoff complaints about pagination and long lines Robert Morris 2017-08-29 14:11:59 -04:00
  • 164f4bae54 thx Frans Kaashoek 2017-08-10 07:09:53 -04:00
  • 3e392c7288 Update comment to reflect xv6 doesn't have per-cpu segments anymore Frans Kaashoek 2017-08-09 08:07:55 -04:00
  • 6389d9d410 nothing much Robert Morris 2017-08-09 14:16:55 -04:00
  • 4f14d8d1e5 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. Frans Kaashoek 2017-08-09 07:43:06 -04:00
  • 70705966ad comment fixes Robert Morris 2017-08-09 06:54:45 -04:00
  • da3b931ddb Thanks Anton Burtsev <aburtsev@uci.edu> Frans Kaashoek 2017-08-08 19:42:51 -04:00
  • a4ee6f7de3 fix iput() to more obviously avoid deadlock Robert Morris 2017-08-08 14:19:54 -04:00
  • 1c7aa96005 a little more lock documentation Robert Morris 2017-08-08 14:12:25 -04:00
  • 70d912b332 protect ip->valid and ip->nlink with sleep lock in iput() Robert Morris 2017-08-08 13:48:48 -04:00
  • 3375df5061 change ip->flags&I_VALID to ip->valid Robert Morris 2017-08-08 13:34:13 -04:00
  • 14270288b7 Merge branch 'master' of g.csail.mit.edu:xv6-dev Robert Morris 2017-08-08 13:27:06 -04:00
  • aba8423c4a frans' fixes to iput() Robert Morris 2017-08-08 13:26:57 -04:00
  • 9cec455b17 fs comment nits Robert Morris 2017-08-08 13:24:38 -04:00
  • 825ce074b1 Remove some debugging statements Frans Kaashoek 2017-08-07 15:15:18 -04:00
  • 61cb32aa9b Merge branch 'nogs' Frans Kaashoek 2017-08-07 14:35:05 -04:00
  • 5cbccef811 Merge branch 'patch-1' of https://github.com/aliceinwire/xv6-public Frans Kaashoek 2017-08-07 13:44:03 -04:00
  • 0249311675 Merge branch 'patch-1' of https://github.com/Saarett/xv6-public Frans Kaashoek 2017-08-07 13:29:11 -04:00
  • 61f26e3c97 Fix typo in dirlookup Grant Wu 2017-04-26 19:56:51 -07:00
  • 1fb2ea8890 Update LICENSE Alice Ferrazzi 2017-02-27 13:12:59 +09:00
  • 03b3086327 Free pgdir in setupkvm in case of mappages failure Saarett 2017-02-05 12:44:56 +02:00
  • 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 -05:00
  • 2e2d14c235 use panic Frans Kaashoek 2017-02-01 19:21:43 -05:00
  • 7c00ce8110 shorten comment Frans Kaashoek 2017-02-01 19:18:47 -05:00
  • 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 -05:00
  • 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 -05:00
  • abf847a083 Start of an experiment to remove the use of gs for cpu local variables. Frans Kaashoek 2017-01-31 17:47:16 -05:00
  • 59cdd6c63b wolfgang keller Frans Kaashoek 2017-01-30 20:24:13 -05:00
  • b4f2235e43 Fix spelling Gaoron. Frans Kaashoek 2017-01-30 20:11:23 -05:00
  • d57d37eb87 Thanks to Wolfgang Keller <nubok@users.noreply.github.com> Frans Kaashoek 2017-01-30 20:09:54 -05:00
  • c383612a7d Thanks to Wolfgang Keller <nubok@users.noreply.github.com> Frans Kaashoek 2017-01-30 20:07:42 -05:00
  • 1772853d39 Add support for qemu-system-x86_64 in 64bit hosts Antonio Gutierrez 2016-12-02 20:17:54 +01:00
  • 906610efc9 Thanks to Jeehoon Kang <jeehoon.kang@sf.snu.ac.kr> Frans Kaashoek 2017-01-30 20:01:33 -05:00
  • 8d1f99637a Fix long-standing switchuvm() inconsistency. Peter Froehlich 2016-12-22 20:26:37 -05:00
  • e916d668f7 Fix unsigned conversion bug. Peter H. Froehlich 2016-09-27 16:58:29 -04:00
  • 462930727f Cody Frans Kaashoek 2017-01-30 09:38:19 -05:00
  • ffe444926e fix possible memory leak in deallocuvm Cody Cutler 2016-09-26 12:21:01 -04:00
  • 91fd3470b0 Fixed broken build on newer gold linker with NaCl support Icenowy Zheng 2016-04-09 09:38:40 +08:00
  • 907f23a5bb Add mikecat's argp test Frans Kaashoek 2016-09-26 07:54:02 -04:00
  • 2a675089b1 fix memory region validation in argptr() MikeCAT 2015-12-19 22:52:11 +09:00
  • 0df5f11bae Typo (Thanks to Austin Liew) Frans Kaashoek 2016-09-25 08:27:26 -04:00
  • 7ddba7a636 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-19 07:02:08 -04:00
  • 89826f41bd Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail) Frans Kaashoek 2016-09-19 07:01:30 -04:00
  • fc1a5da295
    Fix a small README typo Tej Chajed 2016-09-16 09:11:23 -04:00
  • 912575ad12 Remove left-over print statements Frans Kaashoek 2016-09-15 19:16:30 -04:00
  • d6dc5bcb2d Merge branch 'master' of g.csail.mit.edu:xv6-dev Robert Morris 2016-09-15 12:56:17 -04:00
  • 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 -04:00
  • 469aa8b9b3 xx Robert Morris 2016-09-15 12:01:52 -04:00
  • 33188666da Delete two left-over print statements Frans Kaashoek 2016-09-14 21:13:09 -04:00
  • 6cec0211d8 Update comment a bit. Frans Kaashoek 2016-09-14 13:01:53 -04:00
  • da91a3a408 Add sleeplock.[ch] to listing Frans Kaashoek 2016-09-14 08:43:57 -04:00
  • e85cb90cbf one more BUSY Frans Kaashoek 2016-09-13 14:51:44 -04:00
  • 564a1cf0cb sleeplock files Frans Kaashoek 2016-09-11 21:01:24 -04:00
  • dec637bc59 Replace I_BUSY with sleep locks Frans Kaashoek 2016-09-11 20:59:57 -04:00
  • 2adb7c21dc Move retry loop/sleep/wakeup in bio.c into sleeping locks Frans Kaashoek 2016-09-11 20:17:22 -04:00
  • 6670d3b5e0 Straight replacement of B_BUSY with a sleeping lock. Frans Kaashoek 2016-09-11 17:24:04 -04:00
  • 551c2f3576 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-08 21:20:26 -04:00
  • 1b8ccf9482 x Frans Kaashoek 2016-09-08 21:20:17 -04:00
  • 34c2efc1d0 use asm() for lock release, not a C assignment Robert Morris 2016-09-08 14:45:20 -04:00
  • d63ac118e8 this might fix the reported deadlock, though I can't reproduce it. Robert Morris 2016-09-08 14:22:38 -04:00
  • 761ea5471f Be a bit more explicit what kind of suggestions are are interested. Frans Kaashoek 2016-09-08 13:09:09 -04:00
  • 5bf3fbee00 Make runoff happy Frans Kaashoek 2016-09-02 15:27:28 -04:00
  • b7fed77b7b Fix a few lines that runoff is complaining about that they are too long Frans Kaashoek 2016-09-02 14:59:00 -04:00
  • 5f03799f84 ack xi Frans Kaashoek 2016-09-02 08:43:33 -04:00
  • b8fd4cba13 Merge branch 'master' of g.csail.mit.edu:xv6-dev Frans Kaashoek 2016-09-02 08:36:14 -04:00
  • 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 -04:00
  • bc8221a59c comment about sched() saving/restoring cpu->intena Robert Morris 2016-09-02 05:40:54 -04:00
  • 4b2152cc2d curproc -> proc in a comment Robert Morris 2016-09-01 17:21:37 -04:00
  • 37939f24c2 better comment Frans Kaashoek 2016-08-26 08:46:13 -04:00
  • 27ff70dc08 ack Frans Kaashoek 2016-08-26 08:22:24 -04:00
  • 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 -04:00
  • 745a4d31a6 x Frans Kaashoek 2016-08-25 09:14:52 -04:00
  • 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 -04:00
  • 6de6a3c952 ack mikecat Frans Kaashoek 2016-08-25 07:12:33 -04:00
  • 5625ae4973 add check for wrapping of address + size in exec() MikeCAT 2015-12-20 00:04:52 +09:00
  • 67a7f9597e add alignment check of virtual address to exec() MikeCAT 2015-12-19 23:43:56 +09:00
  • a7c03bd914 p2v -> P2V Robert Morris 2016-08-24 13:40:06 -04:00
  • 7a77375d64 x Frans Kaashoek 2016-08-19 07:20:08 -04:00
  • 1fc87f367c Coding style (thanks to phf). Frans Kaashoek 2016-08-18 21:02:05 -04:00
  • 5faed8ba64 Fixed QEMU command line avoids raw image warning. Peter H. Froehlich 2015-09-26 17:38:04 -04:00
  • 0f3d9d9d68 It will be for 2016 Frans Kaashoek 2016-08-18 14:00:48 -04:00
  • 987064cb12 Update based on a scan of my 6828 folder Frans Kaashoek 2016-08-18 13:37:32 -04:00
  • 2a117310b5 Removed useless variable. Peter H. Froehlich 2015-10-03 04:43:05 -04:00
  • 216fdf846f Again, QEMU command line to avoid image warning. Peter H. Froehlich 2015-10-03 01:55:43 -04:00
  • 1ccb5a6fca Remove unused variable, nits. Peter H. Froehlich 2015-09-26 23:10:25 -04:00
  • 2c60b7f31f Removed useless function and prototypes. Peter H. Froehlich 2015-09-26 18:47:39 -04:00
  • 09396a801a Thanks to Warren Toomey for RDMUL and WRMUL. Frans Kaashoek 2016-08-18 07:42:13 -04:00
  • 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 -04:00
  • 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 -04:00
  • 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 -04:00
  • 9c65b32d9e nothing much Robert Morris 2016-08-11 15:41:53 -04:00
  • c779cc2be1 main comments Robert Morris 2016-08-11 13:55:13 -04:00
  • 241188276c nits Robert Morris 2016-08-10 12:06:02 -04:00
  • 3431cd4927 more comments in entryother.S Robert Morris 2016-08-10 11:35:28 -04:00
  • 0a69dc9b17 even more explicit that entry.S is linked into kernel, unlike bootasm.S. Robert Morris 2016-08-10 11:22:36 -04:00
  • 858475e4df tiny clarifications to some gdt code. Robert Morris 2016-08-10 10:51:14 -04:00
  • 0a4a4230a3 shell nits fix Regehr complaint Robert Morris 2016-08-08 13:06:38 -04:00
  • 50edfe1412 nits Frans Kaashoek 2015-11-15 13:40:42 -05:00