__zero__

junk

Mar 28th, 2020
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.45 KB | None | 0 0
  1. void show_gdt_cont(int i)
  2. {
  3.     /* Show "contents" of entries of __kernel_gdt array */
  4.     printk(_DEBUG "Entry no %d $E(Located at 0x%x)$F:\n\t$9Access: $F0x%x | $9Granularity: $F0x%x\n\t"
  5.            "$9LL: $F0x%x $9BL: $F0x%x $9BM: $F0x%x $9BH: $F0x%x\n",
  6.      i, &__kernel_gdt[i],__kernel_gdt[i].access, __kernel_gdt[i].granularity,
  7.      __kernel_gdt[i].limit_low, __kernel_gdt[i].base_low, __kernel_gdt[i].base_middle,
  8.      __kernel_gdt[i].base_high);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment