mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 19:38:37 +03:00
arch_initialise() is now sufficiently generic that we may as well just
call it initialise() and place it in main.c. :)
This commit is contained in:
@@ -126,16 +126,16 @@ INIT_FN ( INIT_LIBRM, librm_init, NULL, uninstall_librm );
|
||||
POST_RELOC_FN ( POST_RELOC_LIBRM, librm_post_reloc );
|
||||
|
||||
/*
|
||||
* Wrapper for arch_initialise() when librm is being used. We have to
|
||||
* Wrapper for initialise() when librm is being used. We have to
|
||||
* install a copy of librm to allocated base memory and return the
|
||||
* pointer to this new librm's entry point via es:di.
|
||||
*
|
||||
*/
|
||||
void librm_arch_initialise ( struct i386_all_regs *regs ) {
|
||||
void initialise_via_librm ( struct i386_all_regs *regs ) {
|
||||
char *new_librm;
|
||||
|
||||
/* Hand off to arch_initialise() */
|
||||
arch_initialise ( regs );
|
||||
initialise ( regs );
|
||||
|
||||
/* Uninstall current librm (i.e. the one that's part of the
|
||||
* original, pre-relocation Etherboot image).
|
||||
|
||||
Reference in New Issue
Block a user