mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
add a missing RAW_ADDR into gunzip.c.
This commit is contained in:
1 parent
84bf7c7d5d
commit
c58d9a073e
3 files changed
+11
-3
No files matched your search
@@ -1,3 +1,11 @@
|
||||
1999-09-18 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||
|
||||
* stage2/gunzip.c (reset_linalloc): Use the macro RAW_ADDR
|
||||
before setting LINALLOC_TOPADDR.
|
||||
* stage2/shared.h [!GRUB_UTIL] (RAW_ADDR): Added parenthesises
|
||||
to avoid a gcc warning.
|
||||
[!GRUB_UTIL] (RAW_SEG): Likewise.
|
||||
|
||||
1999-09-18 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||
|
||||
* acinclude.m4 (grub_CHECK_START_SYMBOL): New function.
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ linalloc (int size)
|
||||
static void
|
||||
reset_linalloc (void)
|
||||
{
|
||||
linalloc_topaddr = (mbi.mem_upper << 10) + 0x100000;
|
||||
linalloc_topaddr = RAW_ADDR ((mbi.mem_upper << 10) + 0x100000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -38,8 +38,8 @@ extern char *grub_scratch_mem;
|
||||
# define RAW_ADDR(x) ((x) + (int) grub_scratch_mem)
|
||||
# define RAW_SEG(x) (RAW_ADDR ((x) << 4) >> 4)
|
||||
#else
|
||||
# define RAW_ADDR(x) x
|
||||
# define RAW_SEG(x) x
|
||||
# define RAW_ADDR(x) (x)
|
||||
# define RAW_SEG(x) (x)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user