Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(102)

Delta Between Two Patch Sets: src/pkg/runtime/darwin/amd64/sys.s

Issue 2150042: code review 2150042: runtime: use manual stack for garbage collection (Closed)
Left Patch Set: code review 2150042: runtime: use manual stack for garbage collection Created 14 years, 6 months ago
Right Patch Set: code review 2150042: runtime: use manual stack for garbage collection Created 14 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/darwin/386/sys.s ('k') | src/pkg/runtime/darwin/mem.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
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 // System calls and other sys.stuff for AMD64, Darwin 6 // System calls and other sys.stuff for AMD64, Darwin
7 // See http://fxr.watson.org/fxr/source/bsd/kern/syscalls.c?v=xnu-1228 7 // See http://fxr.watson.org/fxr/source/bsd/kern/syscalls.c?v=xnu-1228
8 // or /usr/include/sys/syscall.h (on a Mac) for system call numbers. 8 // or /usr/include/sys/syscall.h (on a Mac) for system call numbers.
9 // 9 //
10 // The low 24 bits are the system call number. 10 // The low 24 bits are the system call number.
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 /* 271 /*
272 * Same as in ../386/sys.s:/ugliness, different constant. 272 * Same as in ../386/sys.s:/ugliness, different constant.
273 * See ../../../../libcgo/darwin_amd64.c for the derivation 273 * See ../../../../libcgo/darwin_amd64.c for the derivation
274 * of the constant. 274 * of the constant.
275 */ 275 */
276 SUBQ $0x8a0, DI 276 SUBQ $0x8a0, DI
277 277
278 MOVL $(0x3000000+3), AX // thread_fast_set_cthread_self - machde p call #3 278 MOVL $(0x3000000+3), AX // thread_fast_set_cthread_self - machde p call #3
279 SYSCALL 279 SYSCALL
280 RET 280 RET
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b