mirror of https://github.com/ipxe/ipxe.git
[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>pull/267/head
parent
22bb29eabc
commit
e63b8c3302
|
@ -118,7 +118,7 @@ void set_interrupt_vector ( unsigned int intr, void *vector ) {
|
||||||
* Initialise interrupt descriptor table
|
* Initialise interrupt descriptor table
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void init_idt ( void ) {
|
__asmcall void init_idt ( void ) {
|
||||||
struct interrupt_vector *vec;
|
struct interrupt_vector *vec;
|
||||||
unsigned int intr;
|
unsigned int intr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue