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

14 lines
241 B

  1. .text
  2. .globl _start
  3. _start:
  4. # set ebp for backtrace
  5. movl $0x0, %ebp
  6. # move down the esp register
  7. # since it may cause page fault in backtrace
  8. subl $0x20, %esp
  9. # call user-program function
  10. call umain
  11. 1: jmp 1b