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:
parent
8ddad8453b
commit
062b24c22c
5 changed files with 23 additions and 3 deletions
11
ChangeLog
11
ChangeLog
|
@ -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>
|
2004-09-12 Tomas Ebenlendr <ebik@ucw.cz>
|
||||||
|
|
||||||
Added normal mode command `chainloader' as module chain.mod, which
|
Added normal mode command `chainloader' as module chain.mod, which
|
||||||
|
|
1
THANKS
1
THANKS
|
@ -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
|
time and energy in helping to track down bugs, add new features, and
|
||||||
generally assist in the GRUB 2 maintainership process:
|
generally assist in the GRUB 2 maintainership process:
|
||||||
|
|
||||||
|
Hollis Blanchard <hollis@penguinppc.org>
|
||||||
NIIBE Yutaka <gniibe@m17n.org>
|
NIIBE Yutaka <gniibe@m17n.org>
|
||||||
Tsuneyoshi Yasuo <tuneyoshi@naic.co.jp>
|
Tsuneyoshi Yasuo <tuneyoshi@naic.co.jp>
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,8 @@ grub_ieee1275_finddevice (char *name, grub_ieee1275_phandle_t *phandlep)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
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)
|
grub_size_t size, grub_size_t *actual)
|
||||||
{
|
{
|
||||||
struct get_property_args {
|
struct get_property_args {
|
||||||
|
|
|
@ -49,8 +49,9 @@ extern intptr_t (*grub_ieee1275_entry_fn) (void *);
|
||||||
uint32_t EXPORT_FUNC(grub_ieee1275_decode_int_4) (unsigned char *p);
|
uint32_t EXPORT_FUNC(grub_ieee1275_decode_int_4) (unsigned char *p);
|
||||||
int EXPORT_FUNC(grub_ieee1275_finddevice) (char *name,
|
int EXPORT_FUNC(grub_ieee1275_finddevice) (char *name,
|
||||||
grub_ieee1275_phandle_t *phandlep);
|
grub_ieee1275_phandle_t *phandlep);
|
||||||
int EXPORT_FUNC(grub_ieee1275_get_property) (int handle, const char *property,
|
int EXPORT_FUNC(grub_ieee1275_get_property) (grub_ieee1275_phandle_t handle,
|
||||||
void *buf, grub_size_t size,
|
const char *property, void *buf,
|
||||||
|
grub_size_t size,
|
||||||
grub_size_t *actual);
|
grub_size_t *actual);
|
||||||
int EXPORT_FUNC(grub_ieee1275_next_property) (int handle, char *prev_prop,
|
int EXPORT_FUNC(grub_ieee1275_next_property) (int handle, char *prev_prop,
|
||||||
char *prop, int *flags);
|
char *prop, int *flags);
|
||||||
|
|
|
@ -45,6 +45,8 @@ grub_memmove (void *dest, const void *src, grub_size_t n)
|
||||||
|
|
||||||
return dest;
|
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. */
|
/* GCC emits references to memcpy() for struct copies etc. */
|
||||||
void *memcpy (void *dest, const void *src, grub_size_t n)
|
void *memcpy (void *dest, const void *src, grub_size_t n)
|
||||||
__attribute__ ((alias ("grub_memmove")));
|
__attribute__ ((alias ("grub_memmove")));
|
||||||
|
@ -134,6 +136,8 @@ grub_memcmp (const void *s1, const void *s2, grub_size_t n)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
void *memcmp (const void *s1, const void *s2, grub_size_t n)
|
||||||
|
__attribute__ ((alias ("grub_memcmp")));
|
||||||
|
|
||||||
int
|
int
|
||||||
grub_strcmp (const char *s1, const char *s2)
|
grub_strcmp (const char *s1, const char *s2)
|
||||||
|
@ -359,6 +363,8 @@ grub_memset (void *s, int c, grub_size_t n)
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
void *memset (void *s, int c, grub_size_t n)
|
||||||
|
__attribute__ ((alias ("grub_memset")));
|
||||||
|
|
||||||
grub_size_t
|
grub_size_t
|
||||||
grub_strlen (const char *s)
|
grub_strlen (const char *s)
|
||||||
|
|
Loading…
Reference in a new issue