LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 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 /* | 5 /* |
6 * basic types | 6 * basic types |
7 */ | 7 */ |
8 typedef signed char int8; | 8 typedef signed char int8; |
9 typedef unsigned char uint8; | 9 typedef unsigned char uint8; |
10 typedef signed short int16; | 10 typedef signed short int16; |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 GCStats gcstats; | 286 GCStats gcstats; |
287 bool racecall; | 287 bool racecall; |
288 void* racepc; | 288 void* racepc; |
289 uint32 moreframesize_minalloc; | 289 uint32 moreframesize_minalloc; |
290 | 290 |
291 uintptr settype_buf[1024]; | 291 uintptr settype_buf[1024]; |
292 uintptr settype_bufsize; | 292 uintptr settype_bufsize; |
293 | 293 |
294 #ifdef GOOS_windows | 294 #ifdef GOOS_windows |
295 void* thread; // thread handle | 295 void* thread; // thread handle |
| 296 #endif |
| 297 #ifdef GOOS_plan9 |
| 298 int8* notesig; |
296 #endif | 299 #endif |
297 SEH* seh; | 300 SEH* seh; |
298 uintptr end[]; | 301 uintptr end[]; |
299 }; | 302 }; |
300 | 303 |
301 struct Stktop | 304 struct Stktop |
302 { | 305 { |
303 // The offsets of these fields are known to (hard-coded in) libmach. | 306 // The offsets of these fields are known to (hard-coded in) libmach. |
304 uint8* stackguard; | 307 uint8* stackguard; |
305 uint8* stackbase; | 308 uint8* stackbase; |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 extern float64 runtime·neginf; | 890 extern float64 runtime·neginf; |
888 extern uint64 ·nan; | 891 extern uint64 ·nan; |
889 extern uint64 ·posinf; | 892 extern uint64 ·posinf; |
890 extern uint64 ·neginf; | 893 extern uint64 ·neginf; |
891 #define ISNAN(f) ((f) != (f)) | 894 #define ISNAN(f) ((f) != (f)) |
892 | 895 |
893 enum | 896 enum |
894 { | 897 { |
895 UseSpanType = 1, | 898 UseSpanType = 1, |
896 }; | 899 }; |
LEFT | RIGHT |