I'm trying to write a small os kernel and got an General Protection Fault at runtime. By logging the qemu
output, I figured out, that the following assembly is responsible:
10592e: 48 c7 05 a7 5c 02 00 movq $0x12b5a0,0x25ca7(%rip) # 12b5e0 <watch+0x40>
Can someone tell me, what the <watch+0x40>
stand for? I think watch
means my Watch
class, but what is the +0x40
?