mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
516ccad340
Co-authored-by: Victor Perevertkin <victor.perevertkin@reactos.org> Introduce the initial changes needed to get other processors up and into kernel mode. This only supports x86 as of now but is the first real step towards using other system processors.
35 lines
565 B
ArmAsm
35 lines
565 B
ArmAsm
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: AMD64 Application Processor (AP) spinup setup
|
|
* COPYRIGHT: Copyright 2023 Justin Miller <justin.miller@reactos.org>
|
|
*/
|
|
|
|
#include <asm.inc>
|
|
|
|
PUBLIC HalpAPEntry16
|
|
PUBLIC HalpAPEntryData
|
|
PUBLIC HalpAPEntry32
|
|
PUBLIC HalpAPEntry16End
|
|
|
|
.code
|
|
HalpAPEntry16:
|
|
cli
|
|
|
|
xor ax, ax
|
|
mov ds, ax
|
|
mov ss, ax
|
|
mov fs, ax
|
|
mov gs, ax
|
|
|
|
hlt
|
|
|
|
HalpAPEntry16End:
|
|
.long HEX(0)
|
|
HalpAPEntry32:
|
|
.long HEX(0)
|
|
HalpAPEntryData:
|
|
.long HEX(0)
|
|
|
|
END
|