Commit Graph

197 Commits

Author SHA1 Message Date
Lu Sitong 3f3ed61d9b Rename kalloc.c/h to pm.c/h;
Add primitive kmalloc module (not being used yet).
2021-04-25 13:22:09 +08:00
Lu Sitong ac1cfb3fee Update execve.
Only hart 0 update ticks, so tickslock isn't needed at present.
2021-04-22 21:08:16 +08:00
Lu Sitong f85997e91e Merge branch 'develop' of https://github.com/HUST-OS/xv6-k210 into develop 2021-04-22 15:26:46 +08:00
Lu Sitong fc4f8c56b2 Add execve syscall. 2021-04-22 15:21:00 +08:00
Sitong Lu 24a1716910
Merge branch 'main' into develop 2021-04-16 20:41:51 +08:00
Lu Sitong 27951515a2 Update README. 2021-04-16 20:26:44 +08:00
Lu Sitong abd0efb151 Update README 2021-04-15 23:50:56 +08:00
Lu Sitong 7fa5d1d016 Add rename syscall and mv command (not stable);
Fix potential bugs of fs (eput and '0xff').
2021-04-14 15:03:53 +08:00
Lu Sitong ccc2c1f9e5 Adjust fs behavior of removing and truncation. 2021-04-12 21:49:57 +08:00
Lu Sitong 82c94b5311 Fix uvmcopy bugs. 2021-04-09 11:35:20 +08:00
Lu Sitong f6e265ca70 Modify some file operations;
Pass most usertests on QEMU.
2021-04-07 09:47:29 +08:00
Lu Sitong 5f91d9229c Fix somes bugs found by usertests. 2021-04-06 12:43:29 +08:00
Lu Sitong b5ab183066 Move dev-addr to high space for U-addr mapping;
Abandon defs.h and some files;
2021-04-05 19:09:15 +08:00
Lu Sitong 84fda4fb7f Lazy kernel page table copying mechanism. 2021-04-04 22:03:32 +08:00
Lu Sitong a230db37ed Add kernel page table for every proc. 2021-04-04 10:47:28 +08:00
Artyom Liu f88f9fa479
Merge pull request #1 from HUST-OS/console
Console
2021-04-03 23:13:06 +08:00
Lu Sitong a3751519b1 Add trace syscall;
Fix xargs bugs.
2021-04-03 22:32:56 +08:00
retrhelo 6ae1b0bb54 stop using uart functions 2021-03-18 22:07:22 +08:00
retrhelo 4b9d0b83f8 bug fix: console/uart global var not init, sd read timeout 2021-03-17 15:08:29 +08:00
Lu Sitong 54a6681885 Change another way of ext-intr handling. 2021-03-14 17:03:08 +08:00
Lu Sitong cdbc08df78 Update docs. 2021-03-13 14:23:50 +08:00
Lu Sitong 423584d7ee dma interrupt works;
M runs S'codes to handle ext-intr;
rustsbi still panic in some peculiar cases.
2021-03-13 00:52:29 +08:00
Lu Sitong 560f22e9ba Delete some unused files. 2021-03-09 16:02:02 +08:00
retrhelo b3899b3d31 add SD driver doc v2 2021-03-09 15:32:23 +08:00
YongkangLi 11519ec270 intr 2021-03-08 14:35:37 +08:00
Lu Sitong f11911fca7 Revise fs script;
Delete some unused files.
2021-03-07 19:26:46 +08:00
Lu Sitong 1858a86b82 Add FAT32 filename checksum. 2021-03-07 00:55:50 +08:00
Lu Sitong 9b0bf37fab A version that works both on k210 and qemu. 2021-03-06 00:14:00 +08:00
Lu Sitong bdf8eb09eb Merge branch 'main' of https://github.com/HUST-OS/xv6-k210 into main 2021-03-05 23:25:53 +08:00
hustccc 6ba3c7ab4f add readme for rustsbi and remove something 2021-03-06 01:39:34 +09:00
hustccc b8e37994a0 update rustsbi-qemu to 0.1.1 version 2021-03-06 01:33:25 +09:00
Lu Sitong 3531c6d7bd Update docs and readme. 2021-03-05 23:25:01 +08:00
YongkangLi 538585f030 '$\' replace 2021-03-05 16:15:51 +08:00
hustccc 6a8932d74b fix something on main.c 2021-03-06 00:45:13 +09:00
hustccc ea8000b278 update rustsbi-k210 to 0.1.1 version 2021-03-06 00:37:30 +09:00
retrhelo cb88349530 merge retrhelo's code 2021-03-04 22:50:28 +08:00
retrhelo 687599774a fix a big bug in sdcard.c, and some smaller ones 2021-03-04 22:46:09 +08:00
Lu Sitong 8112675364 make adaption for k210 2021-03-04 22:19:31 +08:00
retrhelo 5a1e143b34 finished SD card driver, but to work on k210 requires more to be done 2021-03-04 14:18:37 +08:00
Lu Sitong 7172563512 fix a FAT32 bug 2021-03-04 11:12:38 +08:00
Lu Sitong d2d2aa7916 fix a little bug 2021-03-04 00:06:41 +08:00
Lu Sitong ab6996e0ab Make simple modification for unaligned visit. 2021-03-03 23:25:43 +08:00
Lu Sitong 5005fb5e75 Add some shell commands. 2021-03-03 20:11:46 +08:00
Lu Sitong 2155b6691d Merge branch 'main' of https://github.com/HUST-OS/xv6-k210 into main 2021-03-03 19:48:56 +08:00
Lu Sitong 869ce52b2b Fixed FAT32 bugs;
Adapted file writing and removing.
2021-03-03 19:48:35 +08:00
YongkangLi 064ced7f1e env var "SHELL" embedded 2021-03-03 11:22:43 +08:00
YongkangLi 8b1fda7538 revised env var 2021-03-03 11:02:52 +08:00
YongkangLi 169bc8f05b primary ENV 2021-03-03 08:38:08 +08:00
YongkangLi 788a8149f3 strcat 2021-03-02 17:22:47 +08:00
YongkangLi 5946f0bb7e fs image creating sh 2021-03-02 17:18:29 +08:00