mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Add
missing attribute. * grub-core/gdb/cstub.c (grub_gdb_trap): Likewise.
This commit is contained in:
1 parent
c4f11a2a99
commit
e2a6810069
3 files changed
+16
-6
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2013-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Add
|
||||||
|
missing attribute.
|
||||||
|
* grub-core/gdb/cstub.c (grub_gdb_trap): Likewise.
|
||||||
|
|
||||||
2013-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/misc.c (grub_divmod64): Don't fallback to
|
* grub-core/kern/misc.c (grub_divmod64): Don't fallback to
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ grub_gdb_hex2int (char **ptr, grub_uint64_t *int_value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This function does all command procesing for interfacing to gdb. */
|
/* This function does all command procesing for interfacing to gdb. */
|
||||||
void
|
void __attribute__ ((regparm(3)))
|
||||||
grub_gdb_trap (int trap_no)
|
grub_gdb_trap (int trap_no)
|
||||||
{
|
{
|
||||||
unsigned int sig_no;
|
unsigned int sig_no;
|
||||||
|
|||||||
@@ -52,12 +52,16 @@ typedef unsigned char grub_uint8_t;
|
|||||||
#include <grub/types.h>
|
#include <grub/types.h>
|
||||||
#include <grub/misc.h>
|
#include <grub/misc.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __i386__
|
||||||
|
#define REED_SOLOMON_ATTRIBUTE __attribute__ ((regparm(3)))
|
||||||
|
#else
|
||||||
|
#define REED_SOLOMON_ATTRIBUTE
|
||||||
|
#endif
|
||||||
void
|
void
|
||||||
grub_reed_solomon_recover (void *ptr_, grub_size_t s, grub_size_t rs)
|
grub_reed_solomon_recover (void *ptr_, grub_size_t s, grub_size_t rs)
|
||||||
#ifdef __i386__
|
REED_SOLOMON_ATTRIBUTE;
|
||||||
__attribute__ ((regparm(3)))
|
#else
|
||||||
#endif
|
#define REED_SOLOMON_ATTRIBUTE
|
||||||
;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GF_SIZE 8
|
#define GF_SIZE 8
|
||||||
@@ -381,7 +385,7 @@ grub_reed_solomon_add_redundancy (void *buffer, grub_size_t data_size,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void REED_SOLOMON_ATTRIBUTE
|
||||||
grub_reed_solomon_recover (void *ptr_, grub_size_t s, grub_size_t rs)
|
grub_reed_solomon_recover (void *ptr_, grub_size_t s, grub_size_t rs)
|
||||||
{
|
{
|
||||||
gf_single_t *ptr = ptr_;
|
gf_single_t *ptr = ptr_;
|
||||||
|
|||||||
Reference in new issue
Block a user