-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
uefi: Implement getcwd and chdir #129794
base: master
Are you sure you want to change the base?
uefi: Implement getcwd and chdir #129794
Conversation
0d0e44f
to
48dd6a3
Compare
☔ The latest upstream changes (presumably #130724) made this pull request unmergeable. Please resolve the merge conflicts. |
- Using EFI Shell Protocol. These functions do not make much sense unless a shell is present. - Return the exe dir in case shell protocol is missing. Signed-off-by: Ayush Singh <[email protected]>
48dd6a3
to
1f718f9
Compare
ping @joboet |
I'm very sorry for not getting back to you sooner. The problem I see here is that
Option 2 is more work, but has the advantage that |
It's fine. Everyone is doing stuff in their free time after all.
Thanks for pointing it out. I will add a TODO to implement it in the fs PR. Having support for mappings in file i/o is essential. Personally, I would like to stick to the normal UEFI file APIs, and add plumbing in Rust side to handle the mapping to device path. It is fairly simple to do since we have edk2 as reference. |
Right, then let's ship this. |
r? @joboet