Commit Graph

19 Commits

Author SHA1 Message Date
刘丰源 8566a6993a flush tlb 2021-04-14 16:22:19 +08:00
刘丰源 17e612659a fix riscv64 2021-03-29 15:39:15 +08:00
Ben Pig Chu 055581d226 Merge remote-tracking branch 'rcore-os/master' into vmo 2020-11-11 14:43:47 +08:00
Runji Wang b6abc8d03f update nightly to 2020-10-01 2020-10-01 16:40:11 +08:00
Ben Pig Chu 67a273a2af Add the aspace-separate feature 2020-09-24 02:27:03 +08:00
Ben Pig Chu fb21ec519e Update rcore-fs 2020-09-22 22:47:29 +08:00
Yukiteru Lee 2c6893e043
add some syscalls and add stdin (#131)
* add sys_getrandom and sys_nanosleep

* add stdin

* fix sys_nanosleep

* update rcore-fs and add sys_poll

* add sys_prlimit64

* fix color problem of ls

* fix a problem of compiling zCore

* add gdbinit for make debug

* fix typo of flag

* Update linux-syscall/src/file/poll.rs

Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>

* Update linux-syscall/src/file/poll.rs

Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>

* remove comment

* remove pub at inner

* fix a problem of pointer

* fix arg of nanosleep

* Update linux-syscall/src/misc.rs

Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>

* remove pub

* fix a problem of null ptr in sys_prlimit

Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>
2020-08-11 21:05:50 +08:00
Runji Wang 360b3cbe39 fix cargo dependency 2020-03-28 13:08:17 +08:00
Runji Wang e726707120 update nightly to 2020-03-22 and remove core-futures-tls
WARN: fix a bug of weak linkage ABI mismatch.
there maybe more need to fix later.
2020-03-22 12:14:14 +08:00
Runji Wang 3d399f80e8 fix linux libos 2020-03-05 00:14:27 +08:00
Runji Wang 41f95b2d4e refactor: split 'linux-object' crate 2020-02-07 11:00:55 +08:00
Runji Wang 872071b8f5 switch from tokio to async-std 2020-02-06 17:10:35 +08:00
Runji Wang 6390980ef1 hal: async works! run multi-thread user program on single kernel thread! 2020-02-01 19:57:31 +08:00
Runji Wang aa225c45ad refactor: flip kernel-user control flow
[before] kernel context cleared
  user         kernel
                 |
    +----start--<+
 +->|
 |  +--syscall-->+
 |  .            |
 |  +---sysret--<+
 +--|

[ after] kernel context reserved
  user         kernel
                 |<-+
    +<----run----+  |
    |            .  |
    +>---trap----+  |
                 |--+
2020-02-01 19:13:10 +08:00
Runji Wang a50b3d5fc7 linux: fix hostfs path. remove structopt. 2020-01-27 18:15:41 +08:00
Runji Wang 76dfbe32ab rename 'zircon-hal' to 'kernel-hal' 2020-01-27 15:40:43 +08:00
Runji Wang f08bab9a90 linux: fix libc.so, file system works 2020-01-26 15:28:32 +08:00
Runji Wang b02f9fee13 fix test 2020-01-23 11:19:55 +08:00
Runji Wang 26d124dee4 add crate 'linux-loader' and 'linux-syscall' 2020-01-22 23:50:59 +08:00