Re: [OpenBIOS] Re: [RFC PATCH 0/2] QEMU/openbios: PPC Software TLB support in the G4 family

2021-11-26 Thread Segher Boessenkool
Hi! On Fri, Nov 26, 2021 at 09:34:44AM +0100, Cédric Le Goater wrote: > On 11/25/21 10:38, Segher Boessenkool wrote: > >On Thu, Nov 25, 2021 at 01:45:00AM +0100, BALATON Zoltan wrote: > >>As for guests, those running on the said PowerMac G4 should have support > >>for

Re: [OpenBIOS] Re: [RFC PATCH 0/2] QEMU/openbios: PPC Software TLB support in the G4 family

2021-11-25 Thread Segher Boessenkool
Hi! On Thu, Nov 25, 2021 at 01:45:00AM +0100, BALATON Zoltan wrote: > As for guests, those running on the said PowerMac G4 should have support > for these CPUs so maybe you can try some Mac OS X versions (or maybe OSX uses hardware pagetables. > MorphOS but that is not the best for debugging a

Re: [Qemu-devel] [OpenBIOS] CUDA has problems with Mac OS 10.4

2015-11-19 Thread Segher Boessenkool
On Thu, Nov 12, 2015 at 07:45:40PM +0100, BALATON Zoltan wrote: > >Interesting. Did you use "-usb -device usb-keyboard" to enable usb > >support in QEMU when running Finnix? > > Yes (or more exactly I had a patch always adding usb keyboard instead of > adb one to match hardware) Some mac99/pmu9

Re: [Qemu-devel] [PATCH 2/2] target-ppc: fix interrupt vectors for MPC603 and e300

2010-05-02 Thread Segher Boessenkool
Your code can change MSR[IP]; there is also a strapping pin that is sampled on HRESET (and copied to MSR[IP]). Wouldn't this mean that when the reset is issued by hardware, MSR[IP] is always 1 (to boot from ROM) but with software reset it can take software defined values? Yes, that is what i

Re: [Qemu-devel] [PATCH 2/2] target-ppc: fix interrupt vectors for MPC603 and e300

2010-04-26 Thread Segher Boessenkool
It is explained in [e300CORERM] at chapters 5.2.3, 5.5.1.1 and 8.3.3. Clearly, the vector offset is 0x100 and the exception prefix can be 0 or 0xFFF0, depending of the MSR[IP] bit. So, yes, I'm sure the value of hreset_vector must be 0x100. But hreset_excp_prefix can change. It could be an

Re: [Qemu-devel] [PATCH 2/2] target-ppc: fix interrupt vectors for MPC603 and e300

2010-04-26 Thread Segher Boessenkool
970 may be a bad example in that it can't actually bring itself up -- it requires an external controller to configure it at power-up. So whatever the external controller programs into the PC is where it starts. 970 always starts at HIOR|0x00100. I don't see any mention of an initial PC value i

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-16 Thread Segher Boessenkool
When I read Avi's TODO, I basically thought about getting rid of the long command lines I had to store in scripts. I wanted to write that command line once, and then forgetting about it, until I needed to change it. Instead of inventing great and wonderfully complicated schemes, the most sensibl