1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00
Commit Graph

1466 Commits

Author SHA1 Message Date
gjz010
da028c1f10 Added virtual memory support for aarch64 and x86_64.
1. Memory mapping at KSEG2_START(0xffff_fe80_0000_0000) will now be visible to all processes.
   This feature is required by Loadable Kernel Module when mapping kernel module into memory.
2. Wrapping PageTableImpl::active() into ManuallyDrop, so that no extra "mem::forget" is required.
3. Added PageTableImpl::kernel_table(). This function is the same as active() on x86_64, but not the same on aarch64.
2019-06-07 15:57:18 +08:00
Jiajie Chen
8e5e798d78 Do not print to graphci console unless graphic=console on aarch64 2019-06-03 09:47:57 +08:00
Jiajie Chen
d8ea224283 Fix mgba merge 2019-06-03 09:46:27 +08:00
Jiajie Chen
a42d4b4d26 Merge branch 'mgba' into dev 2019-06-03 09:44:28 +08:00
Jiajie Chen
fa7e38951a Merge branch 'sdcard' into dev 2019-06-03 09:36:54 +08:00
Jiajie Chen
82cbf364c4 Merge remote-tracking branch 'rcore/dev' into dev 2019-06-03 09:36:41 +08:00
Jiajie Chen
c8b0014c5f Remove u-boot support 2019-06-03 09:36:01 +08:00
Jiajie Chen
8b06314828 Format code and update debug code 2019-06-03 09:33:02 +08:00
Jiajie Chen
33513ded94 Merge remote-tracking branch 'sdcard/geminilab' into sdcard 2019-06-03 09:27:21 +08:00
Jiajie Chen
ed720eb186 Bump user 2019-06-02 10:56:17 +08:00
NagiNikaido
730f5d94a6 write() check passed. a minor bug fixed. 2019-05-30 17:06:13 +08:00
NagiNikaido
e20a2ca8e2 Now we can parse the partion entries. Yeeeeaaahh! 2019-05-30 14:57:20 +08:00
NagiNikaido
a3f8601d18 HUGE SUCCESS! Now we can fetch the first section of an SD card.
the bug of SCR fixed.
2019-05-30 01:49:44 +08:00
BenjaminPMLovegood
cb682392f4 add emmc option for qemu 2019-05-29 18:38:59 +08:00
NagiNikaido
6a00cf602b tons of bugs fixed. moved sd_get_base_clock_hz() to mailbox 2019-05-29 18:32:43 +08:00
NagiNikaido
4b543a189f debug info added. 2019-05-27 18:39:20 +08:00
NagiNikaido
f1a25124b2 Merge branch 'rcore-os-dev' into geminilab 2019-05-27 18:38:27 +08:00
NagiNikaido
3535faccd9 Merge branch 'dev' of https://github.com/rcore-os/rCore into rcore-os-dev 2019-05-27 16:34:29 +08:00
PanQL
e8c38d748f
Merge pull request #54 from rcore-os/dev
Fix check_and_clone_cstr null check
2019-05-25 22:14:41 +08:00
PanQL
1bc3d9d42e
Merge pull request #53 from oscourse-tsinghua/dev
Dev
2019-05-25 21:21:38 +08:00
PanQL
376ca53f3a
Merge branch 'mgba' into dev 2019-05-25 21:21:02 +08:00
PanQL
7df015842d some about ioctl fb info 2019-05-25 21:08:43 +08:00
Yuhao Zhou
a708ee401d Fix syscall in thinpad. 2019-05-25 20:05:27 +08:00
Yuhao Zhou
2b96462da3 Fix malta const. 2019-05-25 18:04:54 +08:00
BenjaminPMLovegood
d2f583a948 wrap init 2019-05-25 17:57:02 +08:00
Yuhao Zhou
65b121e55e Merge remote-tracking branch 'origin/dev' 2019-05-25 14:51:45 +08:00
Yuhao Zhou
0938a0cb58 Update malta consts. 2019-05-25 14:33:52 +08:00
BenjaminPMLovegood
335f4701eb modified 2019-05-25 14:28:55 +08:00
Jiajie Chen
35e909d96b Fix check_and_clone_cstr null check 2019-05-25 13:51:21 +08:00
Jiajie Chen
cd49ee5093 Fix x86_64 fb depth 2019-05-25 11:39:42 +08:00
Jiajie Chen
235005608d Do not hardcode fb addr in Vga 2019-05-25 08:29:54 +08:00
Jiajie Chen
30f94238b8 Yeild when polling for EAGAIN 2019-05-25 07:48:49 +08:00
Jiajie Chen
dcfb02c514 Add EAGAIN for nonblocking io and poll for file in read_at() 2019-05-24 20:53:13 +08:00
Jiajie Chen
22946c699d Allow ahci port init to fail 2019-05-24 19:21:48 +08:00
Jiajie Chen
0be1b1e56b Support 32bit MSI Addr 2019-05-24 16:45:28 +08:00
Jiajie Chen
e2bb86aa54 Get screen info from bootloader for vga 2019-05-24 16:20:25 +08:00
Jiajie Chen
aefbecb127 Merge remote-tracking branch 'origin/mgba' into dev 2019-05-24 15:21:07 +08:00
Jiajie Chen
e9c0bcadf7 Add graphic=console option and fix vga on x86_64 2019-05-24 15:20:39 +08:00
PanQL
3b9e7e0216
Merge pull request #52 from oscourse-tsinghua/dev
Dev
2019-05-24 11:35:05 +08:00
PanQL
fcc8fb4b2d
Merge branch 'mgba' into dev 2019-05-24 11:34:28 +08:00
PanQL
3b6d94efae simple ioctl for fb is reachable 2019-05-24 09:33:03 +08:00
Jiajie Chen
e22cfd9b30 Fix compilation for u540 2019-05-24 09:22:49 +08:00
Jiajie Chen
0971181473 Fix compilation for rv32 2019-05-24 09:09:35 +08:00
Jiajie Chen
c5acdb67e6 Fix compilation for merge and update vga buffer address 2019-05-24 08:57:21 +08:00
Jiajie Chen
53bb55b971 Merge remote-tracking branch 'origin/dev' into dev 2019-05-24 08:42:33 +08:00
Jiajie Chen
f410aef5bc Merge branch 'mipsel' into dev 2019-05-24 08:39:29 +08:00
Jiajie Chen
51c463e120 Remove non-AHCI pci id 2019-05-24 08:28:47 +08:00
Jiajie Chen
51868e1616 Eliminate some warnings 2019-05-23 23:31:36 +08:00
Jiajie Chen
d1d7fe44a7 Fix condvar race(maybe) 2019-05-23 23:21:02 +08:00
Jiajie Chen
f10421bf83 Revert "x86_64: enable interrupt during syscall. set TSS.sp0 through gs."
This reverts commit 72efa797e5.
2019-05-23 23:13:47 +08:00