I've to implement a char device, a LKM.
I know some basics about OS, but I feel I don't have the big picture.
In a C programm, when I call a syscall what I think it happens is that the CPU is changed to
ring0, then goes to the syscall vector and jumps to a kernel memmory space function that handle it. (I think that it does int 0x80
…