<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 28, 2017, at 7:08 PM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">On Dec 28, 2017, at 7:05 PM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 28, 2017, at 3:02 PM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Dec 28, 2017, at 11:01 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 28, 2017, at 10:47 AM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Dec 28, 2017, at 10:39 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 28, 2017, at 10:20 AM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Dec 28, 2017, at 10:13 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 28, 2017, at 9:56 AM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Dec 28, 2017, at 9:36 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 27, 2017, at 5:02 PM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Dec 21, 2017, at 6:51 PM, BALATON Zoltan <<a href="mailto:balaton@eik.bme.hu" class="">balaton@eik.bme.hu</a>> wrote:<br class=""><br class="">On Thu, 21 Dec 2017, Programmingkid wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Dec 21, 2017, at 12:56 PM, BALATON Zoltan <<a href="mailto:balaton@eik.bme.hu" class="">balaton@eik.bme.hu</a>> wrote:<br class="">On Thu, 21 Dec 2017, Jd Lyons wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Dec 21, 2017, at 9:59 AM, Programmingkid <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">On Dec 21, 2017, at 9:36 AM, Jd Lyons <<a href="mailto:lyons_dj@yahoo.com" class="">lyons_dj@yahoo.com</a>> wrote:<br class="">I don’t know, this maybe an issue with the way we have defined “us”.<br class=""></blockquote></blockquote></blockquote><br class="">I'm not sure the us word is related to problems with b?branch but I don't know anything about this other than reading the conversation here. They look unrelated to me but it could well be I did not undersand this at all.<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Looking through the SLOF code it seems they call it like this in the timebase.fs:<br class="">: tb@  ( -- tb )<br class="">BEGIN tbu@ tbl@ tbu@ rot over <> WHILE 2drop REPEAT<br class="">20 lshift swap ffffffff and or<br class="">;<br class="">: milliseconds ( -- ms ) tb@ d# 1000 * tb-frequency / ;<br class="">: microseconds ( -- us ) tb@ d# 1000000 * tb-frequency / ;<br class="">: ms ( ms-to-wait -- ) milliseconds + BEGIN milliseconds over >= UNTIL drop ;<br class="">: get-msecs ( -- n ) milliseconds ;<br class="">: us  ( us-to-wait -- )  microseconds +  BEGIN microseconds over >= UNTIL  drop ;<br class="">Not sure if I can port/hack this code over, the copier seems to have trouble with tbu@ tbl@?<br class=""></blockquote>The ms and get-msecs words don't appear to be implemented correctly on OpenBIOS. 10000 ms should pause OpenBIOS for 10 seconds. It does not.<br class="">I did find a function called udelay() in the drivers/timer.c file. Maybe I can implement the word us using udelay(). Then the ms word could be implemented using the us word.<br class=""></blockquote><br class="">See what you can do about : us, but we maybe running into an issue with Qemu/mac99. Every version of the Mac OS reports a different bus and cpu speed, so we maybe having trouble with the way the timebase is calculated in Qemu.<br class=""></blockquote><br class="">I think you have two choices for this:<br class=""><br class="">1. Either export udelay (or _wait_ticks it's based on) to Forth and implement these words based on that. But this comment in drivers/timer.c:<br class=""></blockquote><br class="">How would I do this?<br class=""><br class=""><blockquote type="cite" class="">/*<br class="">* TODO: pass via lb table<br class="">*/<br class="">unsigned long timer_freq = 10000000 / 4;<br class=""><br class="">suggests you may need to fix this first to take into accound the actual TB frequency from the CPU instead of some hardcoded value.<br class=""></blockquote><br class="">This would make a good next step.<br class=""><br class=""><blockquote type="cite" class=""><br class="">2. Alternatively, you could either add new helpers (maybe in arch/ppc/timebase.S) to implement tbl@ and tbu@ which probably should just do mftb and mftbu respectively or export to Forth the already existing _get_ticks which returns these as a combined 64 bit value and derive the lower and upper 32 bits from Forth and then maybe you can use the above implementation from SLOF.<br class=""></blockquote><br class="">It is a possibility.<br class=""><br class="">We still need a way to access any new C function from forth. The only thing that I think would work is implementing the us word in a device node, then make another definition of us that is available to the dictionary. If anyone has a way to do this, an example would be great.<br class=""></blockquote><br class="">I don't know much about this but looking at the code I think _get_ticks is almost equivalent to tb@ above except that _get_ticks returns tbu@ in %r3 and tbl@ in %r4 but tb@ also combines these into one value. Then you can see e.g. in arch/ppc/qemu/init.c that the bind_func() function is used to make C functions available from Forth. So you could make a C function which calls _get_ticks then combines %r3 and %r4 into a 64bit value (so implements what tb@ does in C) then bind this to tb@. Or bind _get_ticks and implement tb@ calling this and combining the upper and lower values from Forth like above (I think this is what '20 lshift swap ffffffff and or' does but I don't know Forth to tell).<br class=""><br class="">You'll also need tb-frequency which can be found in the cpu properties (added in arch/ppc/qemu/init.c by reading the correct value from QEMU). SLOF has a function that seems to be called during init but I can't read Forth enough to tell for sure what it actually does:<br class=""><br class="">\ Fixup timebase frequency from device-tree<br class="">: fixup-tbfreq<br class="">" /cpus/@0" find-device<br class="">" timebase-frequency" get-node get-package-property IF<br class=""> 2drop<br class="">ELSE<br class=""> decode-int to tb-frequency 2drop<br class="">THEN<br class="">device-end<br class="">;<br class="">fixup-tbfreq<br class=""><br class="">But I think this is what sets tb-frequency global value so you'll probably need something similar somewhere (maybe ppc.fs). Then you have tb@ and tb-frequency so the rest should work.<br class=""><br class="">Now it's your turn to find out how to do this in OpenBIOS.<br class=""><br class="">Regards,<br class="">BALATON Zoltan<br class=""></blockquote><br class="">This code can be directly pasted into OpenBIOS:<br class=""><br class="">0 value tb-frequency<br class=""><br class="">\ Fixup timebase frequency from device-tree<br class="">: fixup-tbfreq<br class="">" /cpus/@0" find-device<br class="">" timebase-frequency" active-package get-package-property IF<br class=""> 2drop<br class="">ELSE<br class=""> decode-int to tb-frequency 2drop<br class="">THEN<br class="">device-end<br class="">;<br class="">fixup-tbfreq<br class=""><br class=""></blockquote><br class="">I applied your patch, and used this code in Openbios, then booted the Mac OS to see if it reported the correct Bus Frequency, but it still reporting 400mhz bus speed.<br class=""></blockquote><br class="">How do you define "correct bus frequency"?<br class=""><br class="">From what I remember Mac OS only supports certain bus frequencies. Well I'm not sure if it was bus or CPU frequencies that I am thinking about.<br class=""><br class=""></blockquote>Seems to be just the ASP getting the Bus Frequency wrong, for mac99. It reposts it correct for g3beige, and skidmarks GT reports the correct Timebase for each. Mac99 isn’t really any one machine, so I’t no wonder we have these odd quirks.<br class=""></blockquote><br class="">What is Apple System Profiler reporting as the bus frequency? It is calculating it, looking the value up in a table, or reading the value from hardware.<span class="Apple-converted-space"> </span><br class=""></blockquote><br class="">For mac99 it reports 400mhz bus speed, for g3biege it reports 67mhz( This is correct 4x the timebase ) There maybe some code in Qemu that is multiplying the timebase by 4 to set the bus speed, I haven’t looked into it. Really, it doesn’t matter, as long as the timebase is reported correctly, and it is.<br class=""><br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">Are you trying to get the correct timing for the ms and us words, was that part of the point of your patch?<span class="Apple-converted-space"> </span><br class=""></blockquote><br class="">I was trying to make the words from SLOF work on OpenBIOS. Making the ms and us words work correctly would be an added bonus. I was debating on whether the tb-frequency value should be calculated instead of just copied. If it was calculated, then words like ms and us would work correctly.<br class=""></blockquote><br class="">Yes, I think the issue I’m having with the nVidia option rom is related to the us word, as all the b?branch and b(<resolve) words work correct until us is called.<br class=""><br class="">I wish I could be more help, but we’re way over my head now.<br class=""><br class="">I can’t seem to debug the us word, when I call debug us, then 4000040 1 byte-load, it just goes right past the us word?<br class=""></blockquote><br class="">I don't think you need to debug the us word. All it does is delay execution for a specified amount of microseconds. Would it help if I implemented the us word in C instead of forth?<span class="Apple-converted-space"> </span><br class=""></blockquote><br class="">I’m not sure how long the delay should be:<br class=""><br class="">: us ( n — ) d# 1000 / 1+ ms ;<br class=""><br class="">Seems to do the same thing SLOF does:<br class=""><br class=""><br class="">: tb@  ( -- tb )<br class=""> BEGIN tbu@ tbl@ tbu@ rot over <> WHILE 2drop REPEAT<br class=""> 20 lshift swap ffffffff and or<br class="">;<br class=""><br class="">: milliseconds ( -- ms ) tb@ d# 1000 * tb-frequency / ;<br class="">: microseconds ( -- us ) tb@ d# 1000000 * tb-frequency / ;<br class=""><br class="">: ms ( ms-to-wait -- ) milliseconds + BEGIN milliseconds over >= UNTIL drop ;<br class="">: get-msecs ( -- n ) milliseconds ;<br class="">: us  ( us-to-wait -- )  microseconds +  BEGIN microseconds over >= UNTIL  drop ;<br class=""><br class="">But the system doesn’t pause that I can tell, when the us word is called.<br class=""><br class="">I was just hoping this was the issue I was having, that ms and us were not working the way they should, and the fcode was “trying” to write a register before the state of the card was “ready”, if that makes sense.<br class=""><br class="">It would be helpful if you could add the us word to openbios, save me from typing it in each time, and it’s always better to have more words in our emulator.<br class=""><br class="">Thanks<br class=""></blockquote><br class="">Ok this will add the us and ms words to the dictionary. I hand tuned them to actually be accurate on my system. I don't know how accurate they will be on your system. Hopefully it will be enough to move forward with the video card work.<br class=""><0001-add-support-for-ms-and-us-words.patch><br class="">You can adjust the multiplier variable to meet your needs. To test it out you would need a stop watch or a stop watch app.<span class="Apple-converted-space"> </span><br class="">In the openbios terminal type these commands:<br class="">decimal<br class="">10000 ms<br class=""><br class="">If this delays openbios by 10 seconds, then the ms word is working on your system.<span class="Apple-converted-space"> </span><br class=""><br class="">The us word would be tested like this:<br class="">decimal<br class="">1000000 us<br class=""><br class=""></blockquote><br class="">Not sure, us is still an undefined word, and:<br class=""><br class="">decimal<br class="">10000 ms<br class=""><br class="">Just returns OK immediately.<br class=""><br class="">I think I got e patch right?<br class=""><br class=""><br class=""><init.c><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">The file looks correct. Are you sure you using the right openbios file? Did you rebuild openbios after applying the patch?<span class="Apple-converted-space"> </span></span></div></blockquote><br class=""></div><div>Got the wrong build dir ;-(</div><div><br class=""></div><div>I can’t seem to apply both patches, assuming the second patch for ms and us relies on the first?</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">patch -p3 < /Users/jam/Desktop/0001-add-support-for-ms-and-us-words.patch </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">can't find file to patch at input line 15</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Perhaps you used the wrong -p or --strip option?</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The text leading up to this was:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--------------------------</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|From c33e547fc38f1c8ddb49addb76aa6fc97407a0f6 Mon Sep 17 00:00:00 2001</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|From: John Arbuckle <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Date: Thu, 28 Dec 2017 14:54:04 -0500</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Subject: [PATCH] add support for ms and us words</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Signed-off-by: John Arbuckle <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|---</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">| arch/ppc/qemu/init.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">| 1 file changed, 69 insertions(+)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|index 5ce080c..bbb2c4e 100644</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|--- a/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|+++ b/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--------------------------</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">File to patch: /Users/jam/obnew2/master/arch/ppc/qemu/init.c </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">patching file /Users/jam/obnew2/master/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Jamess-Mac-Pro:master jam$ patch -p3 < /Users/jam/Desktop/0001-Add-tbu-and-tbl-words.patch </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">can't find file to patch at input line 20</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Perhaps you used the wrong -p or --strip option?</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The text leading up to this was:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--------------------------</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|From 7c267d518a22f7762013da5b5c5d5bbb162ab3ce Mon Sep 17 00:00:00 2001</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|From: John Arbuckle <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Date: Wed, 27 Dec 2017 13:28:17 -0500</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Subject: [PATCH] Add tbu@ and tbl@ words</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|The PowerPC timebase register is made available to forth using</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|the tbu@ and tbl@ words. The tbu@ word pushes the upper 32 bits</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|of this register. The tbl@ word pushes the lower 32 bits of</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|this register.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|Signed-off-by: John Arbuckle <<a href="mailto:programmingkidx@gmail.com" class="">programmingkidx@gmail.com</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|---</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">| arch/ppc/qemu/init.c | 20 ++++++++++++++++++++</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">| 1 file changed, 20 insertions(+)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|index 5ce080c..d12084c 100644</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|--- a/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">|+++ b/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--------------------------</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">File to patch: /Users/jam/obnew2/master/arch/ppc/qemu/init.c </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">patching file /Users/jam/obnew2/master/arch/ppc/qemu/init.c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Hunk #1 succeeded at 818 with fuzz 1 (offset 67 lines).</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Hunk #2 FAILED at 1105.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">1 out of 2 hunks FAILED -- saving rejects to file /Users/jam/obnew2/master/arch/ppc/qemu/init.c.rej</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Jamess-Mac-Pro:master jam$ </span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Just applying the us/ms patch did allow me to debug the b(>resolve) word that I am catching the exception on:</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div class="">8010035 : b?branch [ 0x14 ]</div><div class="">       (offset) 26 </div><div class="">8010039 : (compile)  [ 0x9bd ]</div><div class="">801003a : (compile) b(lit) [ 0x10 ]</div><div class="">801003f : (compile) and [ 0x23 ]</div><div class="">8010041 : (compile) my-space [ 0x103 ]</div><div class="">8010042 : (compile) + [ 0x1e ]</div><div class="">8010044 : (compile)  [ 0xa08 ]</div><div class="">8010045 : (compile) b(lit) [ 0x10 ]</div><div class="">801004a : (compile) and [ 0x23 ]</div><div class="">801004b : (compile) b(lit) [ 0x10 ]</div><div class="">8010050 : (compile) = [ 0x3c ]</div><div class="">8010051 : (compile) b?branch [ 0x14 ]</div><div class="">       (offset) 9 </div><div class="">8010054 : (compile) b(') [ 0x11 ]</div><div class="">8010057 : (compile) b(to) [ 0xc3 ]</div><div class="">801005a : (compile) b(>resolve) [ 0xb2 ]</div><div class=""><br class=""></div><div class="">: b(>resolve)  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 fff57200 0 ) </div><div class="">fff469bc: resolve-orig  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) </div><div class="">fff469c0: execute-tmp-comp  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) </div><div class="">fff469c4: (semis) </div><div class="">[ Finished b(>resolve) ] 801005b : (compile) b(>resolve) [ 0xb2 ]</div><div class=""><br class=""></div><div class="">: b(>resolve)  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) </div><div class="">fff469bc: resolve-orig  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff ) </div><div class="">fff469c0: execute-tmp-comp </div><div class="">byte-load: exception caught!</div><div class=""> ok</div><div class=""><br class=""></div></span></div></div><div><br class=""></div><div><br class=""></div><br class=""></body></html>