Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
71ebc22d
Commit
71ebc22d
authored
Sep 29, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move __getReg intrinsic to intrin.h.
parent
12c019ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
intrin.h
include/msvcrt/intrin.h
+7
-0
winnt.h
include/winnt.h
+0
-2
No files found.
include/msvcrt/intrin.h
View file @
71ebc22d
...
...
@@ -66,6 +66,13 @@ void __dmb(unsigned int);
#endif
#if defined(_MSC_VER) && (defined(__aarch64__) || defined(__arm64ec__))
unsigned
__int64
__getReg
(
int
);
#pragma intrinsic(__getReg)
#endif
#ifdef __cplusplus
}
#endif
...
...
include/winnt.h
View file @
71ebc22d
...
...
@@ -2439,8 +2439,6 @@ static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void)
return
__wine_current_teb
;
}
#elif defined(__aarch64__) && defined(_MSC_VER)
unsigned
__int64
__getReg
(
int
);
#pragma intrinsic(__getReg)
static
FORCEINLINE
struct
_TEB
*
WINAPI
NtCurrentTeb
(
void
)
{
return
(
struct
_TEB
*
)
__getReg
(
18
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment