Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tweak memory allocation size for portability #221

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

ChinYikMing
Copy link
Collaborator

@ChinYikMing ChinYikMing commented Sep 17, 2023

From opinion of @qwe661234 at previous discussion, the data memory usage of most test cases would not reach 0xFFFFFFFF. Thus, it is safe for the changing of memory size allocation to 0xFFFFFFFF such that we do not need to check the platform during compilation.

Close #161

@jserv jserv requested a review from qwe661234 September 17, 2023 10:25
@jserv jserv changed the title src: resize mem size for portable mem allocation Tweak memory allocation size for portability Sep 17, 2023
src/io.c Outdated Show resolved Hide resolved
@ChinYikMing ChinYikMing force-pushed the pr branch 2 times, most recently from 3dcc234 to b6d6ec7 Compare September 17, 2023 10:48
src/io.c Outdated Show resolved Hide resolved
src/io.c Outdated Show resolved Hide resolved
src/io.c Outdated Show resolved Hide resolved
src/io.c Outdated Show resolved Hide resolved
@jserv jserv merged commit bae13a6 into sysprog21:master Sep 18, 2023
@ChinYikMing ChinYikMing deleted the pr branch September 18, 2023 03:30
vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
Tweak memory allocation size for portability
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-portable memory allocation
3 participants