bond/x86/src/kdef32.h
HyperAssembler 7cc18fac3d So I figured that grub2 can do some fancy stuff about loading modules.
There we go! We will keep x86 and load x64 as a module and then jump to x64 from x86!!
2015-01-29 22:42:30 -08:00

12 lines
194 B
C

#ifndef _HKDEF32_H_
#define _HKDEF32_H_
#define HYPKERNEL32 __cdecl
#define NULL ((void*)0)
#define GDT_SELECTOR(Index,RPL) (((Index) << 3) + (RPL))
#define HKERNEL_ADDR (0x01000000)
#endif