export a function from gnu assembly to c++
.code32 .global interrupt0 interrupt0:
then you are free to use it in cpp :
extern void * interrupt0(); setIDTDescriptor(&IDTTable[0], (unsigned int)interrupt0, 2 << 3, 0x8e, 0, 0);
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website