On Aug 26, 2009, at 6:00 AM, openbios-request(a)openbios.org wrote:
> Date: Tue, 25 Aug 2009 21:37:30 +0300
> From: Blue Swirl <blauwirbel(a)gmail.com>
> To: The OpenBIOS Mailinglist <openbios(a)openbios.org>
> Subject: Re: [OpenBIOS] Looking for a printf like function
> Message-ID:
> <f43fc5580908251137q57ed4205na6402bdddcc44db9(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, Aug 25, 2009 at 8:11 PM, G 3<programmingkidx(…
[View More]a)gmail.com> wrote:
>> I would like to print messages to the console. What function should I
>> use to do this?
>
> printk() from C, from Forth normal Forth words.
>
>> Background information:
>> Building OpenBIOS for Qemu. Emulated Computer: Macintosh.
>
> PPC or x86? What type?
PPC. I am hoping to be able to make Mac OS X run in Qemu one day.
>
> Is the device tree available, like these:
> http://penguinppc.org/historical/dev-trees-html/trees-index.html
> ?
I don't have any information about the device tree. I just use this
command to start qemu: qemu-system-ppc -L qemu-bios -cdrom ~/mac.iso -
boot d
Thank you for helping.
[View Less]
I would like to print messages to the console. What function should I
use to do this?
Background information:
Building OpenBIOS for Qemu. Emulated Computer: Macintosh.
Hi!
This series do clean up several issues with openbios
implementation trying to access zero virtual memory page.
These changes are needed to prevent corrupting low memory
space, albeit it is hard to verify without corresponding
change to qemu which moves pci memory space above low 32bit
space. Qemu part is not completed yet, so I use workaround
for testing purposes. Change to package.fs dealing with NULL
instance or package handles should be visible even witout
changes to qemu (meaning more …
[View More]issues are probably there,
to be fixed).
I think timer handler currently fails into this problematic
category as well, so related change postponing timer
initialization is here as well. Since timer event handling
requires trap table support, I added corresponding entry
which does nothing but rearms timer at the moment.
Signed-off-by: igor.v.kovalenko(a)gmail.com
--
Kind regards,
Igor V. Kovalenko
[View Less]