Page MenuHomeFreeBSD

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

Authored by bdragon on Oct 6 2020, 7:09 PM.
Referenced Files
Unknown Object (File)
Dec 13 2024, 1:36 PM
Unknown Object (File)
Nov 24 2024, 11:57 PM
Unknown Object (File)
Nov 9 2024, 10:51 PM
Unknown Object (File)
Nov 8 2024, 4:10 PM
Unknown Object (File)
Nov 1 2024, 8:04 PM
Unknown Object (File)
Oct 26 2024, 6:01 PM
Unknown Object (File)
Oct 23 2024, 12:09 AM
Unknown Object (File)
Oct 19 2024, 6:35 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.