j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
On 2011-Aug-5 08:56 , Ghitulete Razvan wrote:
I meant OpenBOOT, as I am trying to write something for a V9 and qemu doesn't have full suport for the V9 arch. But as far as i've noticed the openbios implementation resembles the openboot one. Anywho I managed to get passed this. It seems it was because I had the processor in a wrong state. But now I ran into some other problems, as it seems if I call the "finddevice" CIF command for any node, instead of getting a valid phandle, or an -1 in case i ask for gibberish(which i did). The CIF keeps returning the address to the string I passed as an argument (said device that i am searching).
Hmm. I'm not seeing it. Granted, this is a newer openboot than you are using, but I don't remember any bugs in this area since god was young.
T5240, No Keyboard Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.34.0.build_01, 16384 MB memory available, Serial #71716124. [tarl usb3 #948] Ethernet address 0:14:4f:46:4d:1c, Host ID: 84464d1c.
{0} ok cd /openprom/client-services {0} ok " /pci@400" 4000 swap move {0} ok 4000 10 dump / 1 2 3 4 5 6 7 8 9 a b c d e f v123456789abcdef 4000 2f 70 63 69 40 34 30 30 00 00 00 00 00 00 00 00 /pci@400........ {0} ok 4000 finddevice {0} ok showstack f0288e28 {0} ok clear {0} ok " gabblebletch" 4000 swap move {0} ok 4000 20 dump / 1 2 3 4 5 6 7 8 9 a b c d e f v123456789abcdef 4000 67 61 62 62 6c 65 62 6c 65 74 63 68 00 00 00 00 gabblebletch.... 4010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ {0} ok 4000 finddevice ffffffffffffffff {0} ok
My opneboot version is 3.13.1 if i recall right(hopefully). Hmm, weird. I haven't tried it from the prompt, it's on my todo list monday morning. But when I prepare a call from the assembly language to the CIF, it simply duplicates the address of the string. This is a wild guess, but is the openboot CIF influenced in any way by the processor state register? Also as a last option, do you know how i could get hold of a binary for 3.13.1 so i can disassemble it and inspect the code easier as i find it pretty difficult using the dis command over and over.