export a function from gnu assembly to c++

export a function from gnu assembly to c++

2016/05/22 Kernel 0

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);

read count : 8

Leave a Reply

Your email address will not be published. Required fields are marked *