xref: /reactos/hal/halx86/smp/amd64/apentry.S (revision b36d9bd9)
1/*
2 * PROJECT:     ReactOS Kernel
3 * LICENSE:     GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE:     AMD64 Application Processor (AP) spinup setup
5 * COPYRIGHT:   Copyright 2023 Justin Miller <justin.miller@reactos.org>
6 */
7
8#include <asm.inc>
9
10PUBLIC HalpAPEntry16
11PUBLIC HalpAPEntryData
12PUBLIC HalpAPEntry32
13PUBLIC HalpAPEntry16End
14
15.code
16HalpAPEntry16:
17    cli
18
19    xor ax, ax
20	mov ds, ax
21	mov ss, ax
22    mov fs, ax
23    mov gs, ax
24
25    hlt
26
27HalpAPEntry16End:
28.long HEX(0)
29HalpAPEntry32:
30.long HEX(0)
31HalpAPEntryData:
32.long HEX(0)
33
34END
35