《操作系统》的实验代码。
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
200 B

  1. #include <stdio.h>
  2. #include <ulib.h>
  3. /* try to load the kernel's TSS selector into the DS register */
  4. int
  5. main(void) {
  6. asm volatile("movw $0x28,%ax; movw %ax,%ds");
  7. panic("FAIL: T.T\n");
  8. }