cpu: _bsp() -> get_bsp()

This commit is contained in:
Matheus
2024-09-15 22:52:24 -03:00
parent 34207e5ef1
commit 9974746c6c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -130,6 +130,6 @@ void kernel_entry() {
sched_threadexit();
}
cpu_t *_bsp(void) {
cpu_t *get_bsp(void) {
return &bsp_cpu;
}
+1 -1
View File
@@ -54,7 +54,7 @@ static inline uint16_t be_to_cpu_w(uint16_t w) {
return __builtin_bswap16(w);
}
cpu_t *_bsp(void);
cpu_t *get_bsp(void);
static inline thread_t *current_thread(void) {
thread_t *thread;
+1 -1
View File
@@ -355,7 +355,7 @@ static void acpi_dowork(struct acpi_workctx *ctx) {
}
static void acpi_dogpework() {
sched_targetcpu(_bsp());
sched_targetcpu(get_bsp());
sched_yield();
acpi_dowork(&gpework);