svn commit: r224551 - head/sys/powerpc/booke

Attilio Rao attilio at freebsd.org
Sun Jul 31 18:27:59 UTC 2011


I actually submitted a better fix which does use .int.
I wasn't sure BETA1 was out, so I'm going to send a formal request now.

Attilio

2011/7/31 Marcel Moolenaar <marcel at freebsd.org>:
> Author: marcel
> Date: Sun Jul 31 18:26:47 2011
> New Revision: 224551
> URL: http://svn.freebsd.org/changeset/base/224551
>
> Log:
>  Fix r224187: .word defines a 16-bit object and size_t is defined as
>  a 32-bit intergal. Use .long to define sintrcnt and sintrname.
>
>  Approved by:  re (blanket)
>
> Modified:
>  head/sys/powerpc/booke/locore.S
>
> Modified: head/sys/powerpc/booke/locore.S
> ==============================================================================
> --- head/sys/powerpc/booke/locore.S     Sun Jul 31 16:16:25 2011        (r224550)
> +++ head/sys/powerpc/booke/locore.S     Sun Jul 31 18:26:47 2011        (r224551)
> @@ -790,12 +790,12 @@ GLOBAL(kernload)
>  GLOBAL(intrnames)
>        .space  INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
>  GLOBAL(sintrnames)
> -       .word   INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
> +       .long   INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
>
>        .align 4
>  GLOBAL(intrcnt)
>        .space  INTRCNT_COUNT * 4 * 2
>  GLOBAL(sintrcnt)
> -       .word   INTRCNT_COUNT * 4 * 2
> +       .long   INTRCNT_COUNT * 4 * 2
>
>  #include <powerpc/booke/trap_subr.S>
>



-- 
Peace can only be achieved by understanding - A. Einstein


More information about the svn-src-all mailing list