Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-12100-765609
OSKernel2022-LOS
Commits
0c381e05
Commit
0c381e05
authored
3 years ago
by
last-las
Browse files
Options
Download
Patches
Plain Diff
feat: change RAM_SIZE to 6MB
parent
19886589
game
match
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
os/src/config.rs
+2
-1
os/src/config.rs
with
2 additions
and
1 deletion
+2
-1
os/src/config.rs
+
2
−
1
View file @
0c381e05
...
...
@@ -3,7 +3,8 @@ pub const FRAME_SIZE: usize = 4096;
pub
const
KERNEL_MAPPING_OFFSET
:
usize
=
0xFFFFFFC000000000
;
pub
const
RAM_MAPPING_OFFSET
:
usize
=
0xFFFFFFD000000000
;
pub
const
RAM_START_ADDRESS
:
usize
=
0x80000000
;
pub
const
RAM_SIZE
:
usize
=
0x8_000_000
;
pub
const
RAM_SIZE
:
usize
=
0x600_000
;
// pub const RAM_SIZE: usize = 0x8_000_000;
pub
const
MAX_USER_ADDRESS
:
usize
=
0x4_000_000_000
;
pub
const
MMAP_START_ADDRESS
:
usize
=
0x2_000_000_000
;
pub
const
UART_BASE_ADDRESS
:
usize
=
0x1000_0000
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets