From 8c412290d2b3137bb88d4d259058b8761c2e5392 Mon Sep 17 00:00:00 2001 From: Almudena Garcia Date: Thu, 13 Aug 2020 15:23:13 +0200 Subject: smp: Add generic smp pseudoclass This pseudoclass generalize the initialization and access of SMP data, allowing expands it to other architectures. In x86, the functions calls to apic functions. *kern/smp.c: Source file. Implements a interface to load the SMP functions for the current architecture. *kern/smp.h: Header file. Add declaration for smp_data structure. *i386/i386/smp.c: Source file. Implements a set of functions to manage the SMP actions in i386 *i386/i386/smp.h: Header file. Add declarations for SMP functions in i386. --- Makefrag.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefrag.am') diff --git a/Makefrag.am b/Makefrag.am index ea612275..fef1e000 100644 --- a/Makefrag.am +++ b/Makefrag.am @@ -195,6 +195,8 @@ libkernel_a_SOURCES += \ kern/refcount.h \ kern/slab.c \ kern/slab.h \ + kern/smp.h \ + kern/smp.c \ kern/sched.h \ kern/sched_prim.c \ kern/sched_prim.h \ -- cgit v1.2.3