Skip to content

Commit 27b8416

Browse files
author
Kai Luo
committed
Add more comments
1 parent 6fb1b1e commit 27b8416

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

psm/src/arch/powerpc64_aix.s

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
.vbyte 8, 0
1111
.csect .text[PR],2
1212
.rust_psm_stack_direction:
13+
# extern "C" fn() -> u8
1314
li 3, 2
1415
blr
1516
L..rust_psm_stack_direction_end:
17+
# Following bytes form the traceback table on AIX.
18+
# See https://www.ibm.com/docs/en/aix/7.2?topic=processor-traceback-tables for more information.
1619
.vbyte 4, 0x00000000
1720
.byte 0x00
1821
.byte 0x09
@@ -35,6 +38,7 @@ L..rust_psm_stack_direction_end:
3538
.vbyte 8, 0
3639
.csect .text[PR],2
3740
.rust_psm_stack_pointer:
41+
# extern "C" fn() -> *mut u8
3842
mr 3, 1
3943
blr
4044
L..rust_psm_stack_pointer_end:
@@ -60,6 +64,7 @@ L..rust_psm_stack_pointer_end:
6064
.vbyte 8, 0
6165
.csect .text[PR],2
6266
.rust_psm_replace_stack:
67+
# extern "C" fn(3: usize, 4: extern "C" fn(usize), 5: *mut u8)
6368
ld 2, 8(4)
6469
ld 4, 0(4)
6570
addi 5, 5, -48
@@ -90,6 +95,7 @@ L..rust_psm_replace_stack_end:
9095
.vbyte 8, 0
9196
.csect .text[PR],2
9297
.rust_psm_on_stack:
98+
# extern "C" fn(3: usize, 4: extern "C" fn(usize), 5: *mut u8)
9399
mflr 0
94100
std 2, -72(6)
95101
std 0, -8(6)

0 commit comments

Comments
 (0)