Commit Graph

47 Commits

Author SHA1 Message Date
74b1c2c69d Switch getc to also use fast_syscall. 2019-04-25 17:26:16 -07:00
3449b8c566 Implement the fast syscall challenge. 2019-04-25 17:14:57 -07:00
7d76204053 Add debugging kernel monitor functions 2019-04-24 23:49:13 -07:00
0fe97e52c3 Change address reporting to fit the grading script's standards. 2019-04-23 20:46:11 -07:00
8cd1daf8dd Implement the memcheck. 2019-04-23 20:37:53 -07:00
113093f919 Fix page table copying bug. 2019-04-23 20:37:41 -07:00
94b52c5730 Forward return value of syscall. 2019-04-23 17:10:35 -07:00
9231075799 Properly set environment pointer. 2019-04-23 17:10:25 -07:00
f4e3196494 Fix permissions. 2019-04-23 17:09:54 -07:00
f0e2ab8abd Do not crash on handled traps. 2019-04-23 16:31:01 -07:00
eae0475758 Seemingly implement system calls (still appears to have a bug). 2019-04-23 16:14:41 -07:00
bbdb8bd811 Avoid corrupting eax during system call. 2019-04-23 16:14:21 -07:00
6ab267bb9b Add basic trap handlers 2019-04-23 14:26:02 -07:00
667f2df4cc Fix the trap function.
God fucking damn it 16 bit registers!
2019-04-23 02:06:11 -07:00
8120dfde65 Intermediate commit (trap is close to working). 2019-04-23 01:44:23 -07:00
73dad8b484 Intermediate commit of lab 3 changes 2019-04-22 22:16:32 -07:00
c07415cffc fixup! Add permission changing kernel function 2019-04-19 18:54:37 -07:00
e1d239139a Add permission changing kernel function 2019-04-19 17:36:23 -07:00
e484704ce8 Implement the showmappings command 2019-04-19 13:21:08 -07:00
60ee3619af Add some macros for color support 2019-04-19 11:24:59 -07:00
ca51596893 Initial implementation of lab 2. 2019-04-19 01:14:51 -07:00
d7a96eb60f Merge branch 'lab1' into lab2 2019-04-18 23:49:39 -07:00
47a176223b Fix color support to work everywhere via hacky static variable 2019-04-05 19:20:33 -07:00
f00ab71fb5 Implement very bad state machine to match a subset of ANSI escape codes. 2019-04-04 21:46:17 -07:00
dd3281aba0 Implement the backtrace code. 2019-04-04 20:37:53 -07:00
8ef5e2f810 Add the needed binary search to find line numbers. 2019-04-04 20:37:40 -07:00
b0880daaa3 Implement octal printing. 2019-04-04 20:37:11 -07:00
62b840a994 Change lab number 2019-04-02 12:32:39 -07:00
575eb44598 Edit student info file 2019-04-02 12:25:19 -07:00
Yeongjin Jang
af7ec7b7da add hint 2019-04-02 02:49:09 -07:00
Yeongjin Jang
0b89b560f3 Merge branch 'lab2' into lab3 2019-04-01 21:31:58 -07:00
Yeongjin Jang
187496eb19 Merge branch 'lab1' into lab2 2019-04-01 21:31:47 -07:00
Yeongjin Jang
467f147d83 gitignore 2019-04-01 21:31:33 -07:00
Yeongjin Jang
f1840b8b11 add some hints 2019-04-01 21:22:40 -07:00
Yeongjin Jang
a37b5511d0 Merge branch 'lab2' into lab3 2019-04-01 01:26:30 -07:00
Yeongjin Jang
c56b8ebcbd Merge branch 'lab1' into lab2 2019-04-01 01:23:10 -07:00
Yeongjin Jang
ae442212be hint 2019-04-01 01:22:52 -07:00
Yeongjin Jang
b48a2f6d29 exit 2019-04-01 00:22:30 -07:00
Yeongjin Jang
0ce94c7ca2 Merge branch 'lab2' into lab3 2019-04-01 00:01:31 -07:00
Yeongjin Jang
815502c0cc Merge branch 'lab1' into lab2 2019-04-01 00:01:15 -07:00
Yeongjin Jang
90ea65452a ignore this 2019-04-01 00:00:45 -07:00
Yeongjin Jang
cab1b89b4f change the value 2019-03-31 23:09:16 -07:00
Yeongjin Jang
b8a91304ad add some qemu files 2019-03-31 16:51:45 -07:00
Anish Athalye
a9d7717cc4 Lab 3 2018-09-25 12:22:51 -04:00
Anish Athalye
2d1187aa3c Lab 2 2018-09-12 14:55:07 -04:00
Jonathan Behrens
a56269d4be Tweak kernel.ld linker script so edata and end are set correctly
This change should hopefully resolve issues when compiling with newer versions
of GCC.
2018-09-07 15:57:40 -04:00
Anish Athalye
1a83673424 Lab 1 2018-08-30 15:17:20 -04:00