I would like to learn how to write device drivers because I think it would be fun. I use a Mac OS X Macbook, but I also have an Ubuntu machine ...
Are cores of OSs (device interaction level) really written in C, or "written in C" means that only most part of OS is written in C and interaction with devices is ...
I tried to get idt address in my driver, I made function in asm which returns what idtr contains:
.data myData dq 0 .code Function PROC sidt myData mov rax, myData ...