Succesfully loaded return-only module on ia64-emu
This commit is contained in:
parent
6f49d0aacb
commit
f9c30af6d0
8 changed files with 368 additions and 7 deletions
|
@ -10,6 +10,7 @@
|
|||
#include "../mips/cache.S"
|
||||
#elif defined(__powerpc__)
|
||||
#include "../powerpc/cache.S"
|
||||
#elif defined(__ia64__)
|
||||
#else
|
||||
#error "No target cpu type is defined"
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
#if defined(__ia64__)
|
||||
#include <grub/cache.h>
|
||||
|
||||
void __clear_cache (char *beg, char *end);
|
||||
|
@ -8,3 +9,5 @@ grub_arch_sync_caches (void *address, grub_size_t len)
|
|||
{
|
||||
__clear_cache (address, (char *) address + len);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -48,3 +48,12 @@ grub_emu_init (void)
|
|||
{
|
||||
grub_no_autoload = 1;
|
||||
}
|
||||
|
||||
#ifdef __ia64__
|
||||
grub_size_t
|
||||
grub_arch_dl_get_tramp_size (const void *ehdr __attribute__ ((unused)),
|
||||
unsigned sec __attribute__ ((unused)))
|
||||
{
|
||||
return ~(grub_size_t)0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include "../mips/dl.c"
|
||||
#elif defined(__powerpc__)
|
||||
#include "../powerpc/dl.c"
|
||||
#elif defined(__ia64__)
|
||||
#include "../ia64/dl.c"
|
||||
#else
|
||||
#error "No target cpu type is defined"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue