OSHeap_Resize Should Have R3 as Output.

Kevin Bracey kevin.bracey at pace.co.uk
Tue Nov 6 13:55:53 GMT 2001


In message <0e712dd54a.Tony at mk-net.demon.co.uk>
          Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:

> We had to patch round this for OS_ReadVarVal, and I guess we could do
> something similar here, if there was demand for it. It would be possible to
> define new veneers, say OSHeap_ResizeReturnAmount, and
> OS_ChangeDynamicAreaReturnAmount, which could interpret any error return,
> and if appropriate, then return R3 with V clear, and R0 preserved, as if no
> error occurred.
> 
> Is this worth doing?

I would wholeheartedly say yes. Ideally with a standard suffix for the
"returning registers even after an error" form. Just for the SWIs that need
it though.

-- 
Kevin Bracey, Principal Software Engineer
Pace Micro Technology plc                     Tel: +44 (0) 1223 518566
645 Newmarket Road                            Fax: +44 (0) 1223 518526
Cambridge, CB5 8PB, United Kingdom            WWW: http://www.pace.co.uk/



More information about the oslib-user mailing list