[OpenBIOS] [PATCHv2 0/4] ppc: introduce execution context

Programmingkid programmingkidx at gmail.com
Mon May 2 17:13:11 CEST 2016


On May 2, 2016, at 7:50 AM, Mark Cave-Ayland wrote:

> This patch series is part of a much larger WIP series designed to remove various hacks
> from the load/init-program/go words. However in order for the follow-on series to work,
> all architectures must build an execution context similar to the IEEE1275 specification
> description of saved-program-state.
> 
> PPC is the only architecture which doesn't make use of contexts when entering/leaving the
> Forth environment, so start by adding this functionality in order that it can be expanded
> on further with later patches. While no functionality is changed by this patch, there should
> be no regressions when attempting to boot existing client images.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
> 
> v2:
> - Use single asm invocation in switch_to() with clobber register
> - Fix unsigned int -> unsigned long
> - Fix missing volatile from __context pointer


Just wanted to add that Mac OS 9.2 does boot with your patches. It was a local problem that prevented it from booting. Thanks.


More information about the OpenBIOS mailing list