Nucleus
Barry Per-CPU Scheduler bb0cb77 (3 years, 2 months ago)diff --git a/task/switch.S b/task/switch.S index 5ef5437..54769af 100644 --- a/task/switch.S +++ b/task/switch.S @@ -5,9 +5,12 @@ * must be taken to read and set the registers in the correct order. */ -/* Perform a context switch */ -.globl context_switch +.section .text +.global context_switch +.type copy_page_frame, @function +.align 4 context_switch: +.code32 cli mov 4(%esp), %ecx mov 8(%esp), %eax