mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +00:00
[REACTOS] Finally get some ARM64 applications building (#4517)
- Add some missing ARM64 exports to ntdll, kernel32 and user32 - Create mmtypes header file based on WoA debug symbols - Get the remaining headers in order, so we can build ARM64 apps - Adjust subsystem version for binaries so they can run on WoA host - Get calc, notepad and more base apps to build for ARM64 platform CORE-17518 Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
parent
3464df8c28
commit
4363e74ddc
21 changed files with 529 additions and 17 deletions
|
@ -4383,6 +4383,17 @@ FORCEINLINE PVOID GetCurrentFiber(VOID)
|
|||
return ((PNT_TIB )(ULONG_PTR)_MoveFromCoprocessor(CP15_TPIDRURW))->FiberData;
|
||||
#endif
|
||||
}
|
||||
#elif defined (_M_ARM64)
|
||||
FORCEINLINE struct _TEB * NtCurrentTeb(void)
|
||||
{
|
||||
//UNIMPLEMENTED;
|
||||
return 0;
|
||||
}
|
||||
FORCEINLINE PVOID GetCurrentFiber(VOID)
|
||||
{
|
||||
//UNIMPLEMENTED;
|
||||
return 0;
|
||||
}
|
||||
#elif defined(_M_PPC)
|
||||
FORCEINLINE unsigned long _read_teb_dword(const unsigned long Offset)
|
||||
{
|
||||
|
@ -4478,6 +4489,8 @@ DbgRaiseAssertionFailure(VOID)
|
|||
#define YieldProcessor() __asm__ __volatile__("nop");
|
||||
#elif defined(_M_ARM)
|
||||
#define YieldProcessor __yield
|
||||
#elif defined(_M_ARM64)
|
||||
#define YieldProcessor __yield
|
||||
#else
|
||||
#error Unknown architecture
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue