This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Initial port of GCProbe.S for ARM64 - Ensure RhpGcPoll & RhpGcPollRare are working
- Loading branch information
1 parent
529357b
commit 64389da
Showing
5 changed files
with
35 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
#include <unixasmmacros.inc> | ||
#include "AsmOffsets.inc" | ||
|
||
.global RhpGcPoll2 | ||
|
||
LEAF_ENTRY RhpGcPoll | ||
PREPARE_EXTERNAL_VAR_INDIRECT_W RhpTrapThreads, 0 | ||
cbnz w0, RhpGcPollRare // TrapThreadsFlags_None = 0 | ||
ret | ||
LEAF_END RhpGcPoll | ||
|
||
NESTED_ENTRY RhpGcPollRare, _TEXT, NoHandler | ||
PUSH_COOP_PINVOKE_FRAME x0 | ||
bl RhpGcPoll2 | ||
POP_COOP_PINVOKE_FRAME | ||
ret | ||
NESTED_END RhpGcPollRare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters