Commit a missed change to keep in sync with the MI elf loader.
This commit is contained in:
parent
a5bd71a96d
commit
ec4eecb60b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114386
@ -56,7 +56,7 @@ extern void dtlb_enter(u_long vpn, u_long data);
|
||||
extern vm_offset_t itlb_va_to_pa(vm_offset_t);
|
||||
extern vm_offset_t dtlb_va_to_pa(vm_offset_t);
|
||||
extern vm_offset_t md_load(char *, vm_offset_t *);
|
||||
static int elf_exec(struct preloaded_file *);
|
||||
static int __elfN(exec)(struct preloaded_file *);
|
||||
static int sparc64_autoload(void);
|
||||
static int mmu_mapin(vm_offset_t, vm_size_t);
|
||||
|
||||
@ -92,8 +92,8 @@ struct devsw *devsw[] = {
|
||||
struct arch_switch archsw;
|
||||
|
||||
struct file_format sparc64_elf = {
|
||||
elf_loadfile,
|
||||
elf_exec
|
||||
__elfN(loadfile),
|
||||
__elfN(exec)
|
||||
};
|
||||
struct file_format *file_formats[] = {
|
||||
&sparc64_elf,
|
||||
@ -218,7 +218,7 @@ sparc64_copyin(const void *src, vm_offset_t dest, size_t len)
|
||||
* other MD functions
|
||||
*/
|
||||
static int
|
||||
elf_exec(struct preloaded_file *fp)
|
||||
__elfN(exec)(struct preloaded_file *fp)
|
||||
{
|
||||
struct file_metadata *fmp;
|
||||
vm_offset_t mdp;
|
||||
|
Loading…
Reference in New Issue
Block a user