Page MenuHomeFreeBSD

[PowerPC64LE] (WIP) Cross-endian loader support
AbandonedPublic

Authored by bdragon on Oct 6 2020, 7:09 PM.
Referenced Files
Unknown Object (File)
Fri, Nov 1, 8:04 PM
Unknown Object (File)
Sat, Oct 26, 6:01 PM
Unknown Object (File)
Wed, Oct 23, 12:09 AM
Unknown Object (File)
Sat, Oct 19, 6:35 AM
Unknown Object (File)
Oct 4 2024, 4:22 AM
Unknown Object (File)
Oct 3 2024, 3:09 PM
Unknown Object (File)
Sep 27 2024, 6:37 PM
Unknown Object (File)
Sep 24 2024, 2:08 AM
Subscribers

Details

Reviewers
None
Group Reviewers
PowerPC
Summary

Due to _elfN(x) only having a distinction between 32 and 64 bit (meaning we can only have one load endianness in a given loader binary), and the requirement that we need to build a 32 bit big-endian loader that can load 64-bit little-endian kernels, teach stand/common/load_elf.c how to do a cross-endian load.

This hasn't been proven to work correctly (kernel currently crashes, but after banner. I need to reverify with my old load procedure that the kernel is still okay on pseries.)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bdragon edited the summary of this revision. (Show Details)

We are going to go with the solution of compiling the entire loader in LE, so we don't have to deal with stuff like filesystem endianness etc.