LEFT | RIGHT |
1 // Copyright 2010 The Go Authors. All rights reserved. | 1 // Copyright 2010 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 "defs.h" | 5 #include "defs_GOOS_GOARCH.h" |
6 #include "386_asm.h" | 6 #include "asm_386.h" |
7 | 7 |
8 // setldt(int entry, int address, int limit) | 8 // setldt(int entry, int address, int limit) |
9 TEXT runtime·setldt(SB),7,$0 | 9 TEXT runtime·setldt(SB),7,$0 |
10 RET | 10 RET |
11 | 11 |
12 TEXT runtime·open(SB),7,$0 | 12 TEXT runtime·open(SB),7,$0 |
13 MOVL $14, AX | 13 MOVL $14, AX |
14 INT $64 | 14 INT $64 |
15 RET | 15 RET |
16 | 16 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 MOVL 0(BX), BX | 88 MOVL 0(BX), BX |
89 ········ | 89 ········ |
90 // more paranoia; check that stack splitting code works | 90 // more paranoia; check that stack splitting code works |
91 PUSHL SI | 91 PUSHL SI |
92 CALL runtime·emptyfunc(SB) | 92 CALL runtime·emptyfunc(SB) |
93 POPL SI | 93 POPL SI |
94 ········ | 94 ········ |
95 CALL SI // fn() | 95 CALL SI // fn() |
96 CALL runtime·exit(SB) | 96 CALL runtime·exit(SB) |
97 RET | 97 RET |
LEFT | RIGHT |