Rev 1787 | Rev 2606 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 2018 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | movq $halt, (%rsp) |
60 | movq $halt, (%rsp) |
61 | jmp printf |
61 | jmp printf |
62 | 62 | ||
63 | .global cpuid |
63 | .global cpuid |
64 | .global has_cpuid |
64 | .global has_cpuid |
65 | .global rdtsc |
65 | .global get_cycle |
66 | .global read_efer_flag |
66 | .global read_efer_flag |
67 | .global set_efer_flag |
67 | .global set_efer_flag |
68 | .global memcpy |
68 | .global memcpy |
69 | .global memcpy_from_uspace |
69 | .global memcpy_from_uspace |
70 | .global memcpy_to_uspace |
70 | .global memcpy_to_uspace |
Line 144... | Line 144... | ||
144 | movl %edx,12(%rsi) |
144 | movl %edx,12(%rsi) |
145 | 145 | ||
146 | movq %r10, %rbx |
146 | movq %r10, %rbx |
147 | ret |
147 | ret |
148 | 148 | ||
149 | rdtsc: |
149 | get_cycle: |
150 | xorq %rax,%rax |
150 | xorq %rax,%rax |
151 | rdtsc |
151 | rdtsc |
152 | ret |
152 | ret |
153 | 153 | ||
154 | set_efer_flag: |
154 | set_efer_flag: |