[librm] Rename prot_call() to virt_call()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-02-22 00:49:08 +00:00
parent 4c1f2486e6
commit e2cf3138f0
4 changed files with 39 additions and 39 deletions

View File

@@ -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;

View File

@@ -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.
*
*/