summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2021-02-18 15:51:28 +0100
committerMichael Brown2021-02-18 15:52:25 +0100
commite63b8c3302b1e80e14f3d3628ff279f7316ee208 (patch)
tree361a5b3946ecde13537d1eeddee9f4e13befd9ef
parent[prefix] Add a generic raw image prefix (diff)
downloadipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.tar.gz
ipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.tar.xz
ipxe-e63b8c3302b1e80e14f3d3628ff279f7316ee208.zip
[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 f9e1d261..85cfc8f4 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;