Kohsuke,

The fix worked.  I was able to run Prex in Bochs.  I also tested it on
hardware and had no problems as well.

Thanks,
Adam

On Wed, Oct 7, 2009 at 7:33 AM, Kohsuke Ohtani <
[email protected]> wrote:

> Adam K Winsor wrote:
>
>> It prints the Loading Prex line and then moves to a blank screen and never
>> displays a prompt.  Bochs displays "SetCR0: GP(0) when attempt to set
>> CR0.NW
>> with CR0.CD cleared !" in the command window.
>>
>
> Hi,
>
> Please try the attached fix.
>
> Thanks.
> - Kohsuke
>
> --
> diff -urN prex-0.9.0/bsp/hal/x86/arch/locore.S
> src/bsp/hal/x86/arch/locore.S
> --- prex-0.9.0/bsp/hal/x86/arch/locore.S        2009-07-28
> 03:45:43.000000000 +0900
> +++ src/bsp/hal/x86/arch/locore.S       2009-10-07 20:59:42.585840000 +0900
> @@ -493,7 +493,7 @@
>  */
>  ENTRY(cache_init)
>        movl    %cr0, %eax              /* Clear cache disable bit */
> -       andl    $~(CR0_CD), %eax
> +       andl    $~(CR0_CD|CR0_NW), %eax
>        movl    %eax, %cr0
>        ret
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to