Remove spinlock contexts
All checks were successful
Build documentation / build-and-deploy (push) Successful in 28s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 28s
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#ifndef _KERNEL_SYS_IRQ_H
|
||||
#define _KERNEL_SYS_IRQ_H
|
||||
|
||||
#include <sys/spin_lock.h>
|
||||
|
||||
void irq_save (spin_lock_ctx_t* ctx);
|
||||
void irq_restore (spin_lock_ctx_t* ctx);
|
||||
|
||||
#endif // _KERNEL_SYS_IRQ_H
|
||||
@@ -13,8 +13,8 @@
|
||||
#define MM_PG_USER (1 << 2)
|
||||
|
||||
uintptr_t mm_alloc_user_pd_phys (void);
|
||||
void mm_kernel_lock (spin_lock_ctx_t* ctx);
|
||||
void mm_kernel_unlock (spin_lock_ctx_t* ctx);
|
||||
void mm_kernel_lock (void);
|
||||
void mm_kernel_unlock (void);
|
||||
void mm_map_page (struct pd* pd, uintptr_t paddr, uintptr_t vaddr, uint32_t flags);
|
||||
void mm_map_kernel_page (uintptr_t paddr, uintptr_t vaddr, uint32_t flags);
|
||||
void mm_unmap_page (struct pd* pd, uintptr_t vaddr);
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
#include <libk/std.h>
|
||||
#include <proc/proc.h>
|
||||
|
||||
void do_sched (struct proc* proc, spin_lock_t* cpu_lock, spin_lock_ctx_t* ctxcpu);
|
||||
void do_sched (struct proc* proc, spin_lock_t* cpu_lock);
|
||||
|
||||
#endif // _KERNEL_SYS_SCHED_H
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
|
||||
#include <libk/std.h>
|
||||
|
||||
#if defined(__x86_64__)
|
||||
typedef uint64_t spin_lock_ctx_t;
|
||||
#endif
|
||||
|
||||
void spin_lock_relax (void);
|
||||
|
||||
#endif // _KERNEL_SYS_SPIN_LOCK_H
|
||||
|
||||
Reference in New Issue
Block a user