OLD | NEW |
1 // Copyright 2013 The Go Authors. All rights reserved. | 1 // Copyright 2013 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "../../../cmd/ld/textflag.h" | 5 #include "textflag.h" |
6 | 6 |
7 /* | 7 /* |
8 * void crosscall2(void (*fn)(void*, int32), void*, int32) | 8 * void crosscall2(void (*fn)(void*, int32), void*, int32) |
9 * Save registers and call fn with two arguments. | 9 * Save registers and call fn with two arguments. |
10 */ | 10 */ |
11 TEXT crosscall2(SB),NOSPLIT,$0 | 11 TEXT crosscall2(SB),NOSPLIT,$0 |
12 INT $3 | 12 INT $3 |
13 RET | 13 RET |
OLD | NEW |