summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/AMD64/HalHandoverStub.asm
blob: c9cabd1cf27d54e8475163773cae27a2358d69fc (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
25
26
27
28
29
30
;; /*
;; *	========================================================
;; *
;; *	NeKernel
;; * 	Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
;; *
;; * 	========================================================
;; */

[bits 64]

%define kTypeKernel 100
%define kArchAmd64 122
%define kHandoverMagic 0xBADCC

global _HandoverMagic
global _HandoverType
global _HandoverPad
global _HandoverArch

section .ldr

_HandoverMagic:
    dq kHandoverMagic
_HandoverType:
    dw kTypeKernel
_HandoverPad:
    dw 0
_HandoverArch:
    dw kArchAmd64