2004-09-14 Yoshinori K. Okuji <okuji@enbug.org>

From Hollis Blanchard <hollis@penguinppc.org>:
  * kern/misc.c (memmove): New alias for grub_memmove.
  (memcmp): New alias for grub_memcmp.
  (memset): New alias for grub_memset.
  * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property):
  Change "int handle" to "grub_ieee1275_phandle_t handle".
  * include/grub/powerpc/ieee1275/ieee1275.h
  (grub_ieee1275_get_property): Likewise.
This commit is contained in:
okuji 2004-09-14 08:56:51 +00:00
parent 8ddad8453b
commit 062b24c22c
5 changed files with 23 additions and 3 deletions

View file

@ -1,3 +1,14 @@
2004-09-14 Yoshinori K. Okuji <okuji@enbug.org>
From Hollis Blanchard <hollis@penguinppc.org>:
* kern/misc.c (memmove): New alias for grub_memmove.
(memcmp): New alias for grub_memcmp.
(memset): New alias for grub_memset.
* boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property):
Change "int handle" to "grub_ieee1275_phandle_t handle".
* include/grub/powerpc/ieee1275/ieee1275.h
(grub_ieee1275_get_property): Likewise.
2004-09-12 Tomas Ebenlendr <ebik@ucw.cz>
Added normal mode command `chainloader' as module chain.mod, which

1
THANKS
View file

@ -6,6 +6,7 @@ The following people made especially gracious contributions of their
time and energy in helping to track down bugs, add new features, and
generally assist in the GRUB 2 maintainership process:
Hollis Blanchard <hollis@penguinppc.org>
NIIBE Yutaka <gniibe@m17n.org>
Tsuneyoshi Yasuo <tuneyoshi@naic.co.jp>

View file

@ -75,7 +75,8 @@ grub_ieee1275_finddevice (char *name, grub_ieee1275_phandle_t *phandlep)
}
int
grub_ieee1275_get_property (int handle, const char *property, void *buf,
grub_ieee1275_get_property (grub_ieee1275_phandle_t handle,
const char *property, void *buf,
grub_size_t size, grub_size_t *actual)
{
struct get_property_args {

View file

@ -49,8 +49,9 @@ extern intptr_t (*grub_ieee1275_entry_fn) (void *);
uint32_t EXPORT_FUNC(grub_ieee1275_decode_int_4) (unsigned char *p);
int EXPORT_FUNC(grub_ieee1275_finddevice) (char *name,
grub_ieee1275_phandle_t *phandlep);
int EXPORT_FUNC(grub_ieee1275_get_property) (int handle, const char *property,
void *buf, grub_size_t size,
int EXPORT_FUNC(grub_ieee1275_get_property) (grub_ieee1275_phandle_t handle,
const char *property, void *buf,
grub_size_t size,
grub_size_t *actual);
int EXPORT_FUNC(grub_ieee1275_next_property) (int handle, char *prev_prop,
char *prop, int *flags);

View file

@ -45,6 +45,8 @@ grub_memmove (void *dest, const void *src, grub_size_t n)
return dest;
}
void *memmove (void *dest, const void *src, grub_size_t n)
__attribute__ ((alias ("grub_memmove")));
/* GCC emits references to memcpy() for struct copies etc. */
void *memcpy (void *dest, const void *src, grub_size_t n)
__attribute__ ((alias ("grub_memmove")));
@ -134,6 +136,8 @@ grub_memcmp (const void *s1, const void *s2, grub_size_t n)
return 0;
}
void *memcmp (const void *s1, const void *s2, grub_size_t n)
__attribute__ ((alias ("grub_memcmp")));
int
grub_strcmp (const char *s1, const char *s2)
@ -359,6 +363,8 @@ grub_memset (void *s, int c, grub_size_t n)
return s;
}
void *memset (void *s, int c, grub_size_t n)
__attribute__ ((alias ("grub_memset")));
grub_size_t
grub_strlen (const char *s)