File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1221,12 +1221,12 @@ const LinuxThreadImpl = struct {
1221
1221
\\ ba 1b
1222
1222
\\ restore
1223
1223
\\ 2:
1224
- \\ mov 73, %%g1 # SYS_munmap
1224
+ \\ mov 73, %%g1 // SYS_munmap
1225
1225
\\ mov %[ptr], %%o0
1226
1226
\\ mov %[len], %%o1
1227
1227
\\ t 0x3 # ST_FLUSH_WINDOWS
1228
1228
\\ t 0x10
1229
- \\ mov 1, %%g1 # SYS_exit
1229
+ \\ mov 1, %%g1 // SYS_exit
1230
1230
\\ mov 0, %%o0
1231
1231
\\ t 0x10
1232
1232
:
@@ -1246,14 +1246,14 @@ const LinuxThreadImpl = struct {
1246
1246
\\ ba 1b
1247
1247
\\ restore
1248
1248
\\ 2:
1249
- \\ mov 73, %%g1 # SYS_munmap
1249
+ \\ mov 73, %%g1 // SYS_munmap
1250
1250
\\ mov %[ptr], %%o0
1251
1251
\\ mov %[len], %%o1
1252
1252
\\ # Flush register window contents to prevent background
1253
1253
\\ # memory access before unmapping the stack.
1254
1254
\\ flushw
1255
1255
\\ t 0x6d
1256
- \\ mov 1, %%g1 # SYS_exit
1256
+ \\ mov 1, %%g1 // SYS_exit
1257
1257
\\ mov 0, %%o0
1258
1258
\\ t 0x6d
1259
1259
:
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ pub fn clone() callconv(.Naked) usize {
190
190
\\ mov %%i0, %%g2
191
191
\\ mov %%i3, %%g3
192
192
\\ # Shuffle the arguments
193
- \\ mov 217, %%g1 # SYS_clone
193
+ \\ mov 217, %%g1 // SYS_clone
194
194
\\ mov %%i2, %%o0
195
195
\\ # Add some extra space for the initial frame
196
196
\\ sub %%i1, 176 + 2047, %%o1
@@ -214,7 +214,7 @@ pub fn clone() callconv(.Naked) usize {
214
214
\\ call %%g2
215
215
\\ mov %%g3, %%o0
216
216
\\ # Exit
217
- \\ mov 1, %%g1 # SYS_exit
217
+ \\ mov 1, %%g1 // SYS_exit
218
218
\\ t 0x6d
219
219
\\2:
220
220
\\ # The syscall failed
You can’t perform that action at this time.
0 commit comments