Various renaming and refactoring
This commit is contained in:
@@ -41,7 +41,7 @@ void destroy_context(void *ctx)
|
||||
|
||||
void save_context(struct process_context_t *context)
|
||||
{
|
||||
store_active_context(context, sizeof(*context));
|
||||
kernel_store_active_context(context, sizeof(*context));
|
||||
}
|
||||
|
||||
void set_context_pc(struct process_context_t *context, void *pc)
|
||||
|
||||
@@ -87,7 +87,7 @@ isr_preempt:
|
||||
call save_context
|
||||
mov %ebp, %esp
|
||||
|
||||
call next_process
|
||||
call kernel_advance_scheduler
|
||||
|
||||
push %eax
|
||||
call load_context
|
||||
|
||||
Reference in New Issue
Block a user