Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 20:27:56 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Marcel Moolenaar <marcel@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r224551 - head/sys/powerpc/booke
Message-ID:  <CAJ-FndBveJvrs4GpR6taRsfgDadVPMqHzFTVc%2B3MLbYwhmAAYQ@mail.gmail.com>
In-Reply-To: <201107311826.p6VIQlFa058340@svn.freebsd.org>
References:  <201107311826.p6VIQlFa058340@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org>:
> Author: marcel
> Date: Sun Jul 31 18:26:47 2011
> New Revision: 224551
> URL: http://svn.freebsd.org/changeset/base/224551
>
> Log:
> =C2=A0Fix r224187: .word defines a 16-bit object and size_t is defined as
> =C2=A0a 32-bit intergal. Use .long to define sintrcnt and sintrname.
>
> =C2=A0Approved by: =C2=A0re (blanket)
>
> Modified:
> =C2=A0head/sys/powerpc/booke/locore.S
>
> Modified: head/sys/powerpc/booke/locore.S
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sys/powerpc/booke/locore.S =C2=A0 =C2=A0 Sun Jul 31 16:16:25 201=
1 =C2=A0 =C2=A0 =C2=A0 =C2=A0(r224550)
> +++ head/sys/powerpc/booke/locore.S =C2=A0 =C2=A0 Sun Jul 31 18:26:47 201=
1 =C2=A0 =C2=A0 =C2=A0 =C2=A0(r224551)
> @@ -790,12 +790,12 @@ GLOBAL(kernload)
> =C2=A0GLOBAL(intrnames)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0.space =C2=A0INTRCNT_COUNT * (MAXCOMLEN + 1) *=
 2
> =C2=A0GLOBAL(sintrnames)
> - =C2=A0 =C2=A0 =C2=A0 .word =C2=A0 INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
> + =C2=A0 =C2=A0 =C2=A0 .long =C2=A0 INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0.align 4
> =C2=A0GLOBAL(intrcnt)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0.space =C2=A0INTRCNT_COUNT * 4 * 2
> =C2=A0GLOBAL(sintrcnt)
> - =C2=A0 =C2=A0 =C2=A0 .word =C2=A0 INTRCNT_COUNT * 4 * 2
> + =C2=A0 =C2=A0 =C2=A0 .long =C2=A0 INTRCNT_COUNT * 4 * 2
>
> =C2=A0#include <powerpc/booke/trap_subr.S>
>



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndBveJvrs4GpR6taRsfgDadVPMqHzFTVc%2B3MLbYwhmAAYQ>