Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

loader assumes <= 128k elf file #1

Closed
convolvatron opened this issue Jan 4, 2018 · 1 comment
Closed

loader assumes <= 128k elf file #1

convolvatron opened this issue Jan 4, 2018 · 1 comment

Comments

@convolvatron
Copy link
Contributor

the long term solution for this issue is to fold stage2 into stage1 so the load exactly match what is needed for the segments.

however, since the extended read call under qemu fills it what it can before returning an error, and the elf image defines the length of the 'drive', we can really just read contiguously until error. need to fix the reporting of the allocated base to stage2 and the application

@convolvatron
Copy link
Contributor Author

fixed in hwmono branch - we actually need to do this load in protected mode in order to address
enough space, so there is a new slow ioport based disk driver that can be called from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant