~ubuntu-branches/debian/jessie/grub/jessie

« back to all changes in this revision

Viewing changes to debian/patches/2gb_limit.patch

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-03-17 13:34:14 UTC
  • Revision ID: james.westby@ubuntu.com-20110317133414-cawa48d482iuqqb9
Tags: 0.97-65
* Fix grub/migrate_from_legacy title to not end with a full stop.
* Fix update-grub(8) groff typo (".bar" instead of ".br").
* Adjust doc-base file to account for renaming of grub.info to
  grub-legacy.info.
* Compare -trunk kernels earlier than numeric ABIs (thanks, Aaron M. Ucko
  and Andreas Beckmann; closes: #570318).
* Convert from home-grown patch system to quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
  Author: Goswin Brederlow
 
3
  Status: pending
 
4
  Updated by: Otavio Salvador - resync with 0.97 code
 
5
 
 
6
Index: b/stage2/char_io.c
 
7
===================================================================
 
8
--- a/stage2/char_io.c
 
9
+++ b/stage2/char_io.c
 
10
@@ -1231,13 +1231,13 @@
 
11
 #endif /* ! STAGE1_5 */
 
12
 
 
13
 int
 
14
-memcheck (int addr, int len)
 
15
+memcheck (unsigned long int addr, unsigned long int len)
 
16
 {
 
17
 #ifdef GRUB_UTIL
 
18
-  auto int start_addr (void);
 
19
-  auto int end_addr (void);
 
20
+  auto unsigned long int start_addr (void);
 
21
+  auto int unsigned long end_addr (void);
 
22
   
 
23
-  auto int start_addr (void)
 
24
+  auto unsigned long int start_addr (void)
 
25
     {
 
26
       int ret;
 
27
 # if defined(HAVE_START_SYMBOL)
 
28
@@ -1248,7 +1248,7 @@
 
29
       return ret;
 
30
     }
 
31
 
 
32
-  auto int end_addr (void)
 
33
+  auto unsigned long int end_addr (void)
 
34
     {
 
35
       int ret;
 
36
 # if defined(HAVE_END_SYMBOL)
 
37
Index: b/stage2/shared.h
 
38
===================================================================
 
39
--- a/stage2/shared.h
 
40
+++ b/stage2/shared.h
 
41
@@ -921,7 +921,7 @@
 
42
 int nul_terminate (char *str);
 
43
 int get_based_digit (int c, int base);
 
44
 int safe_parse_maxint (char **str_ptr, int *myint_ptr);
 
45
-int memcheck (int start, int len);
 
46
+int memcheck (unsigned long int start, unsigned long int len);
 
47
 void grub_putstr (const char *str);
 
48
 
 
49
 #ifndef NO_DECOMPRESSION