11.2-RC3 powerpc CD image does not boot on PowerMac G4
Jukka A. Ukkonen
jau789 at gmail.com
Sat Jul 7 13:29:31 UTC 2018
I tried browsing through everything that has been changed in
the ppc SMP code since 10.4. I cannot claim much success, though.
Anyhow I found one odd feature which does not quite make sense
on a 32-bit platform. Obviously I also patched it and tested
the resulting kernel. Even if this was not the reason for boot
failures on SMP ppc systems, it might be worth to patch in the
official source code. Casting 32-bit pointers to 64-bit unsigned
values for comparison only slows things down on 32-bit systems.
Obviously the compiler will optimize the patched code such that
the unused if-branch will completely removed in the resulting
binary.
11.2 still fails to boot on SMP ppc, but I have no idea what to
test next.
--jau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PPC-platform.c.diff
Type: text/x-patch
Size: 810 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20180707/2d9f19ec/attachment.bin>
More information about the freebsd-ppc
mailing list