aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-02-18 14:51:28 +0000
committerMichael Brown <mcb30@ipxe.org>2021-02-18 14:52:25 +0000
commite63b8c3302b1e80e14f3d3628ff279f7316ee208 (patch)
tree361a5b3946ecde13537d1eeddee9f4e13befd9ef
parent22bb29eabc2f68f3e60e99df4ef33984b7795a49 (diff)
downloadipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.zip
ipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.tar.gz
ipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.tar.bz2
[librm] Add missing __asmcall on init_idt()
The __asmcall declaration has no effect on a void function with no parameters, but should be included for completeness since the function is called directly from assembly code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/arch/x86/transitions/librm_mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/transitions/librm_mgmt.c b/src/arch/x86/transitions/librm_mgmt.c
index f9e1d26..85cfc8f 100644
--- a/src/arch/x86/transitions/librm_mgmt.c
+++ b/src/arch/x86/transitions/librm_mgmt.c
@@ -118,7 +118,7 @@ void set_interrupt_vector ( unsigned int intr, void *vector ) {
* Initialise interrupt descriptor table
*
*/
-void init_idt ( void ) {
+__asmcall void init_idt ( void ) {
struct interrupt_vector *vec;
unsigned int intr;