Rev 26 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 26 | Rev 27 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | .global outl |
50 | .global outl |
51 | .global memcopy |
51 | .global memcopy |
52 | .global memsetb |
52 | .global memsetb |
53 | .global memsetw |
53 | .global memsetw |
54 | .global memcmp |
54 | .global memcmp |
- | 55 | .global write_dr0 |
|
- | 56 | .global read_dr0 |
|
- | 57 | ||
- | 58 | write_dr0: |
|
- | 59 | pushl %eax |
|
- | 60 | movl 8(%esp),%eax |
|
- | 61 | movl %eax,%dr0 |
|
- | 62 | popl %eax |
|
- | 63 | ret |
|
- | 64 | ||
- | 65 | read_dr0: |
|
- | 66 | movl %dr0,%eax |
|
- | 67 | ret |
|
55 | 68 | ||
56 | # |
69 | # |
57 | # set priority level high |
70 | # set priority level high |
58 | cpu_priority_high: |
71 | cpu_priority_high: |
59 | pushf |
72 | pushf |