Rev 27 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 27 | Rev 28 | ||
---|---|---|---|
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 |
- | |
68 | 55 | ||
69 | # |
56 | # |
70 | # set priority level high |
57 | # set priority level high |
71 | cpu_priority_high: |
58 | cpu_priority_high: |
72 | pushf |
59 | pushf |