Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72126 Details for
Bug 99897
Grub refuses to load initrd claiming it does not fit in memory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against grub-0.96-r2
grub-0.96-2g_limit.patch (text/plain), 1.42 KB, created by
Roy Walker
on 2005-11-04 11:24:00 UTC
(
hide
)
Description:
Patch against grub-0.96-r2
Filename:
MIME Type:
Creator:
Roy Walker
Created:
2005-11-04 11:24:00 UTC
Size:
1.42 KB
patch
obsolete
>diff -Naur grub-0.96.orig/stage2/char_io.c grub-0.96/stage2/char_io.c >--- grub-0.96.orig/stage2/char_io.c 2005-11-02 12:28:46.000000000 -0600 >+++ grub-0.96/stage2/char_io.c 2005-11-02 12:31:57.000000000 -0600 >@@ -1214,7 +1214,7 @@ > # endif > #endif > int >-memcheck (int addr, int len) >+memcheck (unsigned long addr, unsigned long len) > { > #ifdef GRUB_UTIL > # ifdef __PIC__ >@@ -1226,9 +1226,9 @@ > return ! errnum; > # endif > # else /* __PIC__ */ >- auto int start_addr(void); >- >- auto int start_addr (void) >+ auto unsigned long start_addr(void); >+ >+ auto unsigned long start_addr (void) > { > int ret; > # if defined(HAVE_START_SYMBOL) >@@ -1241,9 +1241,9 @@ > return ret; > } > >- auto int end_addr(void); >+ auto unsigned long end_addr(void); > >- auto int end_addr (void) >+ auto unsigned long end_addr (void) > { > int ret; > # if defined(HAVE_END_SYMBOL) >diff -Naur grub-0.96.orig/stage2/shared.h grub-0.96/stage2/shared.h >--- grub-0.96.orig/stage2/shared.h 2005-11-02 12:28:46.000000000 -0600 >+++ grub-0.96/stage2/shared.h 2005-11-02 12:32:41.000000000 -0600 >@@ -912,7 +912,7 @@ > int nul_terminate (char *str); > int get_based_digit (int c, int base); > int safe_parse_maxint (char **str_ptr, int *myint_ptr); >-int memcheck (int start, int len); >+int memcheck (unsigned long start, unsigned long len); > void grub_putstr (const char *str); > > #ifndef NO_DECOMPRESSION
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 99897
: 72126