[OpenBIOS] [commit] r969 - in trunk/openbios-devel/arch: ppc/qemu ppc64/qemu
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Tue Nov 30 22:57:06 CET 2010
Andreas Färber wrote:
> The callback function apparently provides a way for the OS to take over
> memory management from OpenFirmware. Thus the relation to ofmem.
>
> http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/platform/openfirmware/arch/ppc/mmu.cpp?rev=39430#L636
>
>
> Haiku sets up a new page table based on the one from OpenFirmware, calls
> set-callback and expects to be asked for future memory allocations etc.
>
> Andreas
That's really strange - that doesn't seem to match the spec at all, plus
I don't see any mention of callbacks in the memory routines within the
OpenBOOT source code? I'm really not convinced that code is doing what
it thinks it should.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the OpenBIOS
mailing list