Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2016 22:20:28 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293053 - head/sys/boot/uboot/lib
Message-ID:  <90CAFE3D-DB95-4790-8FBD-9C40E6BF1075@lists.zabbadoz.net>
In-Reply-To: <201601021816.u02IGOXQ060620@repo.freebsd.org>
References:  <201601021816.u02IGOXQ060620@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 02 Jan 2016, at 18:16 , Ian Lepore <ian@freebsd.org> wrote:
>=20
> Author: ian
> Date: Sat Jan  2 18:16:24 2016
> New Revision: 293053
> URL: https://svnweb.freebsd.org/changeset/base/293053
>=20
> Log:
>  Use 64-bit math when finding a block of ram to hold the kernel.  This =
fixes
>  a problem on 32-bit systems which have ram occupying the end of the =
physical
>  address space -- for example, a block of ram at 0x80000000 with a =
size of
>  0x80000000 was overflowing 32 bit math and ending up with a =
calculated size
>  of zero.
>=20
>  This is a fix for one of the two problems mentioned in the PR.  =
Something
>  similar will need to be done on the kernel side before the PR is =
closed.
>=20
>  PR:		201614
>=20
> Modified:
>  head/sys/boot/uboot/lib/copy.c


This seems to have broken powerpc/powerpc64 worlds:

=3D=3D=3D> sys/boot/uboot/lib (all)
cc1: warnings being treated as errors
/scratch/tmp/bz/head.svn/sys/boot/uboot/lib/copy.c: In function =
'uboot_loadaddr':
/scratch/tmp/bz/head.svn/sys/boot/uboot/lib/copy.c:103: warning: cast =
from pointer to integer of different size
--- copy.o ---
*** [copy.o] Error code 1






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90CAFE3D-DB95-4790-8FBD-9C40E6BF1075>