-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HevTask: Add task execute for s390x.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 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,24 @@ | ||
/* | ||
============================================================================ | ||
Name : hev-task-execute-s390x.s | ||
Author : hev <r@hev.cc> | ||
Copyright : Copyright (c) 2024 everyone. | ||
Description : | ||
============================================================================ | ||
*/ | ||
|
||
.globl hev_task_execute | ||
.type hev_task_execute, @function | ||
|
||
hev_task_execute: | ||
lg %r4, 0(%r2) | ||
aghi %r4, -256 | ||
stmg %r14, %r15, 0(%r4) | ||
lgr %r15, %r4 | ||
|
||
basr %r14, %r3 | ||
|
||
lmg %r14, %r15, 0(%r15) | ||
br %r14 | ||
|
||
.size hev_task_execute, . - hev_task_execute |
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