]> Devi Nivas Git - cs3210-lab1.git/log
cs3210-lab1.git
9 days agobacktrace() phase 1: print return addresses
Advaith Menon [Fri, 30 Jan 2026 02:31:36 +0000 (08:01 +0530)]
backtrace() phase 1: print return addresses
* test via proc.c in userinit (once everything is initialized)

9 days agoAdd build scripts
Advaith Menon [Fri, 30 Jan 2026 02:30:22 +0000 (08:00 +0530)]
Add build scripts
* Add quick build scripts buildall and runxv6

2 weeks agoUpdate README.md: change repo to spring2026
Sriram, Sheetal [Fri, 23 Jan 2026 17:09:29 +0000 (12:09 -0500)]
Update README.md: change repo to spring2026

5 months agoUpdate old references to spring2024 in README.md
Bafna, Rohan Natansh [Wed, 3 Sep 2025 12:31:56 +0000 (08:31 -0400)]
Update old references to spring2024 in README.md

5 months agoUpdate stack-article link in README to Wayback machine
Bafna, Rohan Natansh [Wed, 3 Sep 2025 12:23:51 +0000 (08:23 -0400)]
Update stack-article link in README to Wayback machine

A student noticed the old link was down. Looks like the blog URL structure changed. Might as well link to an archived version.

5 months agoFix off-by-one error in the record count returned by do_e820
Rohan Bafna [Tue, 26 Aug 2025 21:29:16 +0000 (17:29 -0400)]
Fix off-by-one error in the record count returned by do_e820

%ebx is set to 0 when the last e820 record is returned, which means
that %bp was not incremented for the last record; this change moves
the increment of %bp to earlier in the function, before %ebx is
tested, and after the magic number returned by e820 is checked, so
that %bp is incremented once for every entry.

Also move the test for %ecx=0 (meaning the entry should be skipped)
for correctness.  It doesn't look like qemu ever actually sets %ecx to
0 in practice though.

12 months agoUpdate README.md to include information on ebp sentinels
Rohan Bafna [Thu, 16 Jan 2025 22:04:20 +0000 (17:04 -0500)]
Update README.md to include information on ebp sentinels

12 months agoAdd sentinel ebp values
Rohan Bafna [Sun, 12 Jan 2025 21:54:42 +0000 (16:54 -0500)]
Add sentinel ebp values

12 months agoFix Windows line endings issue
Ved Thiru [Fri, 10 Jan 2025 19:34:19 +0000 (14:34 -0500)]
Fix Windows line endings issue

This commit should fix issues caused by students cloning this repo from outside
of WSL (which leads to line ending conversion issues).

12 months agomake image point to cs3210 org
Elton Pinto [Thu, 9 Jan 2025 17:45:06 +0000 (12:45 -0500)]
make image point to cs3210 org

2 years agoupdates spring 2024 pt. 2
Colten Webb [Thu, 18 Jan 2024 14:50:03 +0000 (09:50 -0500)]
updates spring 2024 pt. 2

2 years agoupdate for spring 2024
Colten Webb [Tue, 16 Jan 2024 16:25:54 +0000 (11:25 -0500)]
update for spring 2024

2 years agofix typo in readme
sanav33 [Sun, 10 Sep 2023 19:51:59 +0000 (15:51 -0400)]
fix typo in readme

2 years agoUpdate hyperlinks in readme
Tristan Rogers [Thu, 7 Sep 2023 02:07:39 +0000 (22:07 -0400)]
Update hyperlinks in readme

2 years agoupdate for fall2023
Colten Webb [Thu, 31 Aug 2023 16:20:19 +0000 (12:20 -0400)]
update for fall2023

3 years agoUpdate README.md
Snigdha04 [Mon, 5 Sep 2022 16:54:25 +0000 (12:54 -0400)]
Update README.md

3 years agoMerge branch 'lab1' of https://github.gatech.edu/cs3210-spring2022/xv6 into lab1
Elton [Fri, 18 Feb 2022 14:24:15 +0000 (09:24 -0500)]
Merge branch 'lab1' of https://github.gatech.edu/cs3210-spring2022/xv6 into lab1

3 years agoAdd collab policy
Elton [Fri, 18 Feb 2022 14:22:44 +0000 (09:22 -0500)]
Add collab policy

4 years agoUpdate README.md
Pinto, Elton Leander [Thu, 20 Jan 2022 11:38:11 +0000 (06:38 -0500)]
Update README.md

4 years agoUpdate README.md
Pinto, Elton Leander [Thu, 20 Jan 2022 11:36:46 +0000 (06:36 -0500)]
Update README.md

4 years agoUpdate lab1 readme
Elton [Tue, 18 Jan 2022 18:01:23 +0000 (13:01 -0500)]
Update lab1 readme

4 years agoUpdate for Fall 2021
Jack Wolfard [Sat, 4 Sep 2021 05:36:22 +0000 (01:36 -0400)]
Update for Fall 2021

5 years agoUpdate lab1.md
Devecsery, David [Thu, 4 Feb 2021 01:11:01 +0000 (20:11 -0500)]
Update lab1.md

5 years agoUpdate lab1.md
Devecsery, David [Tue, 2 Feb 2021 23:43:21 +0000 (18:43 -0500)]
Update lab1.md

5 years agoUpdate lab1.md
Devecsery, David [Wed, 27 Jan 2021 23:28:29 +0000 (18:28 -0500)]
Update lab1.md

Quick clarification to hex printing.

5 years agoUpdate lab1.md
Devecsery, David [Tue, 26 Jan 2021 18:33:05 +0000 (13:33 -0500)]
Update lab1.md

5 years agoUpdate lab1.md: fixed several typos
Jack Wolfard [Fri, 28 Aug 2020 16:05:46 +0000 (16:05 +0000)]
Update lab1.md: fixed several typos

5 years agoUpdate lab1.md: fixed typos and added instructions for a necessary bug fix (@119)
Jack Wolfard [Fri, 28 Aug 2020 15:49:11 +0000 (15:49 +0000)]
Update lab1.md: fixed typos and added instructions for a necessary bug fix (@119)

5 years agoFix minor bug in mkfs, causes compilation error on release mode
David Devecsery [Fri, 28 Aug 2020 13:20:09 +0000 (09:20 -0400)]
Fix minor bug in mkfs, causes compilation error on release mode

5 years agoUpdate lab1.md
Devecsery, David [Thu, 27 Aug 2020 13:45:19 +0000 (09:45 -0400)]
Update lab1.md

Added extended memory clause to kernel modifications.

5 years agoUpdate lab1.md
Devecsery, David [Tue, 25 Aug 2020 19:32:46 +0000 (15:32 -0400)]
Update lab1.md

5 years agoshrink binary size
David Devecsery [Sun, 23 Aug 2020 22:38:06 +0000 (18:38 -0400)]
shrink binary size

5 years agoReduced lab1 bootblock code size (hopefully)
David Devecsery [Sun, 23 Aug 2020 22:36:31 +0000 (18:36 -0400)]
Reduced lab1 bootblock code size (hopefully)

5 years agoUpdate lab1.md
Devecsery, David [Sun, 23 Aug 2020 18:02:08 +0000 (14:02 -0400)]
Update lab1.md

5 years agoUpdate e820.S
Devecsery, David [Sun, 23 Aug 2020 18:00:26 +0000 (14:00 -0400)]
Update e820.S

5 years agoUpdate lab1.md
Devecsery, David [Tue, 18 Aug 2020 18:23:03 +0000 (14:23 -0400)]
Update lab1.md

5 years agoUpdate lab1.md
Devecsery, David [Sun, 16 Aug 2020 05:44:59 +0000 (01:44 -0400)]
Update lab1.md

5 years agoUpdate lab1.md
Devecsery, David [Wed, 12 Aug 2020 22:47:54 +0000 (18:47 -0400)]
Update lab1.md

Added "extra" section to lab1.md

5 years agoUpdate lab1.md
Devecsery, David [Wed, 12 Aug 2020 18:15:40 +0000 (14:15 -0400)]
Update lab1.md

Added specification of backtrace.h file location.

5 years agoUpdate lab1.md
Devecsery, David [Sun, 9 Aug 2020 03:15:54 +0000 (23:15 -0400)]
Update lab1.md

Fixed typo in lab1 instructions around apic3 field offset.

5 years agoUpdate e820.S
Devecsery, David [Sun, 9 Aug 2020 03:14:58 +0000 (23:14 -0400)]
Update e820.S

Fixed typo in do_e820 comment.

5 years agoUpdate lab1.md
Devecsery, David [Mon, 27 Jul 2020 14:27:37 +0000 (10:27 -0400)]
Update lab1.md

5 years agoUpdated some links in lab1.md
David Devecsery [Tue, 23 Jun 2020 18:55:59 +0000 (14:55 -0400)]
Updated some links in lab1.md

5 years agoSome better commenting, improved lab1.md
David Devecsery [Wed, 10 Jun 2020 18:09:26 +0000 (14:09 -0400)]
Some better commenting, improved lab1.md

5 years agoTweaks to lab1.md
David Devecsery [Wed, 10 Jun 2020 16:39:58 +0000 (12:39 -0400)]
Tweaks to lab1.md

5 years agoMerge branch 'master' into lab1
David Devecsery [Thu, 21 May 2020 16:58:19 +0000 (12:58 -0400)]
Merge branch 'master' into lab1

5 years agoAdded disassembly building for user-programs to makefile
David Devecsery [Thu, 21 May 2020 16:55:17 +0000 (12:55 -0400)]
Added disassembly building for user-programs to makefile

5 years agoAdded in several quality-of-life needed patches.
David Devecsery [Thu, 21 May 2020 13:26:54 +0000 (09:26 -0400)]
Added in several quality-of-life needed patches.

5 years agoRemoved builtin nonsense again...
David Devecsery [Tue, 19 May 2020 19:53:03 +0000 (15:53 -0400)]
Removed builtin nonsense again...

5 years agoUpdated printing functionality
David Devecsery [Tue, 19 May 2020 19:51:53 +0000 (15:51 -0400)]
Updated printing functionality

5 years agoAbout to do big changes to console...
David Devecsery [Tue, 19 May 2020 18:58:00 +0000 (14:58 -0400)]
About to do big changes to console...

5 years agoConsolidated PHYSTOP operations, made it a little bit easier to define a dynamic...
David Devecsery [Mon, 18 May 2020 17:35:48 +0000 (13:35 -0400)]
Consolidated PHYSTOP operations, made it a little bit easier to define a dynamic phys_top

5 years agoAdded very minimal e820 support to the bootblock, had to omit frame pointers to compile
David Devecsery [Mon, 18 May 2020 15:59:06 +0000 (11:59 -0400)]
Added very minimal e820 support to the bootblock, had to omit frame pointers to compile

5 years agoMerge branch 'master' into lab1
David Devecsery [Mon, 18 May 2020 14:51:04 +0000 (10:51 -0400)]
Merge branch 'master' into lab1

5 years agoForgot to add bootblock...
David Devecsery [Mon, 18 May 2020 14:50:56 +0000 (10:50 -0400)]
Forgot to add bootblock...

5 years agoAdded read_ebp to x86.h
David Devecsery [Mon, 18 May 2020 14:50:31 +0000 (10:50 -0400)]
Added read_ebp to x86.h

5 years agoGot string library updated so stab compiles, now have stab info integrated
David Devecsery [Mon, 18 May 2020 14:27:54 +0000 (10:27 -0400)]
Got string library updated so stab compiles, now have stab info integrated

5 years agoForgot to add instructions...
David Devecsery [Mon, 18 May 2020 13:54:04 +0000 (09:54 -0400)]
Forgot to add instructions...

5 years agoDraft 1 on instructions
David Devecsery [Mon, 18 May 2020 13:51:11 +0000 (09:51 -0400)]
Draft 1 on instructions

5 years agoJust realized old gitignore was causing kernel not to push... that could have been...
David Devecsery [Thu, 14 May 2020 15:13:00 +0000 (11:13 -0400)]
Just realized old gitignore was causing kernel not to push... that could have been bad.

5 years agoFixed run scripts... blerg
David Devecsery [Thu, 14 May 2020 14:49:44 +0000 (10:49 -0400)]
Fixed run scripts... blerg

5 years agoAdded run scripts. Life is better now
David Devecsery [Thu, 14 May 2020 14:48:58 +0000 (10:48 -0400)]
Added run scripts.  Life is better now

5 years agoCmake builds and runs!
David Devecsery [Thu, 14 May 2020 13:37:42 +0000 (09:37 -0400)]
Cmake builds and runs!

5 years agoPorted to c11, switched to c11 atomics
David Devecsery [Thu, 9 Apr 2020 17:17:53 +0000 (13:17 -0400)]
Ported to c11, switched to c11 atomics

6 years agoMention we switched to xv6 on RISC-V
Frans Kaashoek [Tue, 24 Sep 2019 18:45:16 +0000 (14:45 -0400)]
Mention we switched to xv6 on RISC-V

6 years agoAvoid rereading the superblock in bfree
Dan Cross [Wed, 20 Mar 2019 17:28:13 +0000 (17:28 +0000)]
Avoid rereading the superblock in bfree

The superblock is read when the first process returns to
userspace (via the call to `iinit` from the first invocation of
`forkret`, when `first` is still set to 1) and cached in a
global; it is treated as immutable from that point on.  There is
no reason to re-read it in bfree.

Removing this call seems to have simply been missed in 8320d61b
when this general area was last touched.  Remove it now to avoid
potential confusion.

Signed-off-by: Dan Cross <cross@gajendra.net>
6 years agoRemoved unused `dirlookup` argument in `create`
Dan Cross [Thu, 21 Mar 2019 01:15:38 +0000 (01:15 +0000)]
Removed unused `dirlookup` argument in `create`

The `off` argument to `dirlookup` is optional.  It
was not being used in the `dirlookup` call in `create`,
so pass NULL instead and delete the unused local.

Signed-off-by: Dan Cross <cross@gajendra.net>
7 years agoUpdate name
Frans Kaashoek [Sun, 2 Sep 2018 12:33:55 +0000 (08:33 -0400)]
Update name
Use generic 6.828 url (without year)

7 years agothanks tyfkda
Frans Kaashoek [Fri, 31 Aug 2018 13:21:19 +0000 (09:21 -0400)]
thanks tyfkda

7 years agothanks Wolfgang Keller
Frans Kaashoek [Fri, 31 Aug 2018 12:41:23 +0000 (08:41 -0400)]
thanks Wolfgang Keller

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 20:20:16 +0000 (16:20 -0400)]
x

7 years agoAllow holding to be called with interrupts enabled (for Mark Morrissey).
Frans Kaashoek [Thu, 30 Aug 2018 20:14:34 +0000 (16:14 -0400)]
Allow holding to be called with interrupts enabled (for Mark Morrissey).

7 years agoDelete a patch
Frans Kaashoek [Thu, 30 Aug 2018 19:45:16 +0000 (15:45 -0400)]
Delete a patch
Adjust typesetting of code

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 18:47:07 +0000 (14:47 -0400)]
x

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 18:16:29 +0000 (14:16 -0400)]
x

7 years agothanks mtasm
Frans Kaashoek [Thu, 30 Aug 2018 18:09:03 +0000 (14:09 -0400)]
thanks mtasm

7 years agothanks wxdao
Frans Kaashoek [Thu, 30 Aug 2018 17:48:47 +0000 (13:48 -0400)]
thanks wxdao

7 years agothanks eyalz800
Frans Kaashoek [Thu, 30 Aug 2018 17:46:48 +0000 (13:46 -0400)]
thanks eyalz800

7 years agovectors.pl is executable and asks shell for perl
Frans Kaashoek [Thu, 30 Aug 2018 17:36:07 +0000 (13:36 -0400)]
vectors.pl is executable and asks shell for perl

7 years agothanks mataness
Frans Kaashoek [Thu, 30 Aug 2018 17:30:50 +0000 (13:30 -0400)]
thanks mataness

7 years agothanks tyfkda
Frans Kaashoek [Thu, 30 Aug 2018 17:27:57 +0000 (13:27 -0400)]
thanks tyfkda

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 17:25:54 +0000 (13:25 -0400)]
x

7 years agoRemove unused flags (thanks Wolfgang Keller)
Frans Kaashoek [Thu, 30 Aug 2018 17:14:01 +0000 (13:14 -0400)]
Remove unused flags (thanks Wolfgang Keller)

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 17:09:03 +0000 (13:09 -0400)]
x

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 16:12:16 +0000 (12:12 -0400)]
x

7 years agoBecause sleeplocks replaced B_BUSY the holding test can
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)

7 years agox
Frans Kaashoek [Thu, 30 Aug 2018 15:42:10 +0000 (11:42 -0400)]
x

8 years agostricter log consumption by write()
Robert Morris [Tue, 24 Oct 2017 12:49:31 +0000 (08:49 -0400)]
stricter log consumption by write()

8 years agoimprove swtch comment
Robert Morris [Sun, 8 Oct 2017 11:12:31 +0000 (07:12 -0400)]
improve swtch comment

8 years agofix runoff complaints about pagination and long lines
Robert Morris [Tue, 29 Aug 2017 18:11:59 +0000 (14:11 -0400)]
fix runoff complaints about pagination and long lines

8 years agothx
Frans Kaashoek [Thu, 10 Aug 2017 11:09:53 +0000 (07:09 -0400)]
thx

8 years agoUpdate comment to reflect xv6 doesn't have per-cpu segments anymore
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

8 years agonothing much
Robert Morris [Wed, 9 Aug 2017 18:16:55 +0000 (14:16 -0400)]
nothing much

8 years agoCommit to running on an SMP (perhaps with only 1 core). Remove most code
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.

8 years agocomment fixes
Robert Morris [Wed, 9 Aug 2017 10:54:45 +0000 (06:54 -0400)]
comment fixes

8 years agoThanks Anton Burtsev <aburtsev@uci.edu>
Frans Kaashoek [Tue, 8 Aug 2017 23:42:51 +0000 (19:42 -0400)]
Thanks Anton Burtsev <aburtsev@uci.edu>

8 years agofix iput() to more obviously avoid deadlock
Robert Morris [Tue, 8 Aug 2017 18:19:54 +0000 (14:19 -0400)]
fix iput() to more obviously avoid deadlock

8 years agoa little more lock documentation
Robert Morris [Tue, 8 Aug 2017 18:12:25 +0000 (14:12 -0400)]
a little more lock documentation

8 years agoprotect ip->valid and ip->nlink with sleep lock in iput()
Robert Morris [Tue, 8 Aug 2017 17:48:48 +0000 (13:48 -0400)]
protect ip->valid and ip->nlink with sleep lock in iput()

8 years agochange ip->flags&I_VALID to ip->valid
Robert Morris [Tue, 8 Aug 2017 17:34:13 +0000 (13:34 -0400)]
change ip->flags&I_VALID to ip->valid