mirror of
https://github.com/ipxe/ipxe
synced 2026-01-13 17:43:49 +03:00
[librm] Rename prot_call() to virt_call()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -58,7 +58,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
*/
|
||||
.macro virtcall function
|
||||
pushl $VIRTUAL(\function)
|
||||
call prot_call
|
||||
call virt_call
|
||||
.endm
|
||||
|
||||
#else /* ASSEMBLY */
|
||||
@@ -76,7 +76,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
*/
|
||||
#define VIRT_CALL( function ) \
|
||||
"pushl $( " _S2 ( VIRTUAL ( function ) ) " )\n\t" \
|
||||
"call prot_call\n\t"
|
||||
"call virt_call\n\t"
|
||||
|
||||
/* Variables in librm.S */
|
||||
extern const unsigned long virt_offset;
|
||||
|
||||
@@ -167,7 +167,7 @@ struct i386_seg_regs {
|
||||
*
|
||||
* @endcode
|
||||
*
|
||||
* prot_call() and kir_call() create this data structure on the stack
|
||||
* virt_call() and kir_call() create this data structure on the stack
|
||||
* and pass in a pointer to this structure.
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user