Skip to content

Commit

Permalink
feat/guest-example: extend data size
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Nicolas committed Nov 15, 2024
1 parent a1181e1 commit efed100
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ceno_emul/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pub struct Platform {
pub const CENO_PLATFORM: Platform = Platform {
rom_start: 0x2000_0000,
rom_end: 0x3000_0000 - 1,
ram_start: 0x0020_0000,
ram_end: 0x0040_0000 - 1,
ram_start: 0x8000_0000,
ram_end: 0xFFFF_FFFF,
unsafe_ecall_nop: false,
};

Expand All @@ -40,11 +40,11 @@ impl Platform {

// TODO figure out proper region for program_data
pub const fn program_data_start(&self) -> Addr {
self.ram_start
0x4000_0000
}

pub const fn program_data_end(&self) -> Addr {
self.ram_end
0x5000_0000 - 1
}

// TODO figure out a proper region for public io
Expand Down

0 comments on commit efed100

Please sign in to comment.