Various renaming and refactoring

This commit is contained in:
2022-08-19 22:34:45 -05:00
parent 0337fca749
commit c36f65ce97
11 changed files with 227 additions and 156 deletions

View File

@@ -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)

View File

@@ -87,7 +87,7 @@ isr_preempt:
call save_context
mov %ebp, %esp
call next_process
call kernel_advance_scheduler
push %eax
call load_context