FreeBSD Bugzilla – Attachment 84818 Details for
Bug 120876
[patch] net/etherboot doesn't compile with gcc4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-gcc40-1
patch-gcc40-1 (text/plain), 675 bytes, created by
Jeremie Le Hen
on 2008-02-20 11:30:01 UTC
(
hide
)
Description:
patch-gcc40-1
Filename:
MIME Type:
Creator:
Jeremie Le Hen
Created:
2008-02-20 11:30:01 UTC
Size:
675 bytes
patch
obsolete
>--- arch/i386/firmware/pcbios/basemem.c.old 2008-02-20 11:24:39.000000000 +0100 >+++ arch/i386/firmware/pcbios/basemem.c 2008-02-20 11:24:49.000000000 +0100 >@@ -93,6 +93,7 @@ > uint16_t size_kb = ( size + remainder + 1023 ) >> 10; > free_base_memory_block_t *free_block = > ( free_base_memory_block_t * ) ( ptr - remainder ); >+ unsigned char *fbaddr; > > if ( ( ptr == NULL ) || ( size == 0 ) ) { return; } > >@@ -125,7 +126,9 @@ > free_block->magic = FREE_BLOCK_MAGIC; > free_block->size_kb = size_kb; > /* Move up by 1 kB */ >- (void *)free_block += ( 1 << 10 ); >+ fbaddr = (void *)free_block; >+ fbaddr += ( 1 << 10 ); >+ free_block = (void *)fbaddr; > size_kb--; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 120876
: 84818 |
84819