mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 10:20:24 +03:00
[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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user