summaryrefslogtreecommitdiff
path: root/kernel/smp.h
blob: 862c903b9248edf8fc9149266e6e8a738390546a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * @file
// http://www.intel.com/content/dam/doc/specification-update/64-architecture-x2apic-specification.pdf
// http://download.intel.com/design/chipsets/datashts/29056601.pdf
// http://www.scs.stanford.edu/05au-cs240c/lab/ia32/IA32-3.pdf
// https://wiki.osdev.org/Symmetric_Multiprocessing
// https://wiki.osdev.org/APIC_timer
// https://wiki.osdev.org/Symmetric_Multiprocessing
//
 */

#ifndef SMP_H
#define SMP_H

#define SMP_APIC_ID 0
#define SMP_SCHEDULER_INIT 1

#include "acpi.h"

void smp_start_aps(acpi_information *);
void smp_set(uint32_t offset, uint32_t value);
uint32_t smp_get(uint32_t offset);

#endif