[patch 6/6] PS3: Add os-area database routines
Geert Uytterhoeven
Geert.Uytterhoeven at sonycom.com
Mon Oct 8 22:16:24 EST 2007
On Sat, 6 Oct 2007 geoffrey.levand at am.sony.com wrote:
> --- a/arch/powerpc/platforms/ps3/os-area.c
> +++ b/arch/powerpc/platforms/ps3/os-area.c
> +static int db_get_video_mode(const struct os_area_db *db,
> + unsigned int *video_mode)
^^^^^^^^^^^^^^
> +{
> + return db_get_64(db, &os_area_db_id_video_mode, (uint64_t*)video_mode);
^^^^^^^^^^^
> +}
Woops, memory corruption, when writing a 64-bit value to a 32-bit variable.
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven at sonycom.com
Internet: http://www.sony-europe.com/
Sony Network and Software Technology Center Europe
A division of Sony Service Centre (Europe) N.V.
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium
VAT BE 0413.825.160 · RPR Brussels
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619
More information about the Linuxppc-dev
mailing list