Rev 3157 | Rev 3169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3157 | Rev 3161 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | 30 | ||
| 31 | ## void program_run(uintptr_t entry_point); |
31 | ## void program_run(uintptr_t entry_point); |
| 32 | # |
32 | # |
| 33 | # Jump to a program entry point |
33 | # Jump to a program entry point |
| 34 | program_run: |
34 | program_run: |
| - | 35 | push %ebp |
|
| - | 36 | movl %esp, %ebp |
|
| - | 37 | movl 0x8(%ebp), %eax |
|
| - | 38 | pop %ebp |
|
| - | 39 | ||
| 35 | jmp %eax |
40 | jmp %eax |