aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt0_amd64.s
AgeCommit message (Collapse)Author
2009-03-24move amd64-specific (but os-independent) pieces of runtimeRuss Cox
into amd64/ directory. split rt2_amd64.c into closure.c and traceback.c. TBR=r OCL=26678 CL=26678
2009-01-27deferKen Thompson
R=r OCL=23592 CL=23592
2009-01-20* delete exportRuss Cox
* rename init functions R=ken OCL=23122 CL=23126
2009-01-16casify, cleanup sysRuss Cox
R=r OCL=22978 CL=22984
2008-12-19malloc bug fixes.Russ Cox
use malloc by default. free stacks. R=r DELTA=424 (333 added, 29 deleted, 62 changed) OCL=21553 CL=21584
2008-12-15new convention, direction bit isKen Thompson
always left cleared. changed compiler generated memcpy and memset to assume CLD. R=r OCL=21215 CL=21215
2008-12-04add stub routines stackalloc() and stackfree().Russ Cox
run oldstack on g0's stack, just like newstack does, so that oldstack can free the old stack. R=r DELTA=53 (44 added, 0 deleted, 9 changed) OCL=20404 CL=20433
2008-10-14delete hack for interface equality now that it supported by the 6g compilerRob Pike
R=rsc DELTA=21 (0 added, 21 deleted, 0 changed) OCL=17123 CL=17136
2008-10-10add sys.BUG_intereq to compare interfaces for equalityRuss Cox
R=r OCL=16929 CL=16929
2008-09-22implement spec: when main.main returns, the program exitsRuss Cox
R=r DELTA=9 (7 added, 2 deleted, 0 changed) OCL=15628 CL=15643
2008-09-18proper handling of signals.Russ Cox
do not run init on g0. R=r DELTA=161 (124 added, 23 deleted, 14 changed) OCL=15490 CL=15497
2008-09-09go threads for OS XRuss Cox
R=r OCL=14944 CL=15013
2008-08-05kill trailing white space.Russ Cox
(apparently my first attempt didn't work.) R=r OCL=13888 CL=13888
2008-08-05* comment, clean up schedulerRuss Cox
* rewrite lock implementation to be correct (tip: never assume that an algorithm you found in a linux man page is correct.) * delete unneeded void* arg from clone fn * replace Rendez with Note * comment mal better * use 6c -w, fix warnings * mark all assembly functions 7 R=r DELTA=828 (338 added, 221 deleted, 269 changed) OCL=13884 CL=13886
2008-08-04first cut at multithreading. works on Linux.Russ Cox
* kick off new os procs (machs) as needed * add sys·sleep for testing * add Lock, Rendez * properly lock mal, sys·newproc, scheduler * linux syscall arg #4 is in R10, not CX * chans are not multithread-safe yet * multithreading disabled by default; set $gomaxprocs=2 (or 1000) to turn it on This should build on OS X but may not. Rob and I will fix soon after submitting. TBR=r OCL=13784 CL=13842
2008-07-19init filename vs pkgnameKen Thompson
SVN=128117
2008-07-19initializationKen Thompson
SVN=128115
2008-07-12morestack magic numberKen Thompson
automatically generated in 6g and 6c, manually set in 6a. format is TEXT a(SB),, $a-b where a is auto size and b is parameter size SVN=126946
2008-07-12preserve AX across stack jump so C routines return correct value when ↵Rob Pike
triggering morestack. SVN=126935
2008-07-11delete dead codeRob Pike
SVN=126932
2008-07-11segmented stacks AND goroutinesKen Thompson
SVN=126929
2008-07-08unique import/export namesKen Thompson
more on go statement SVN=126421
2008-07-07more coroutineKen Thompson
fixed a,b,c := x,x,x SVN=126250
2008-06-30makes stack traces work for segmented stacksRob Pike
SVN=125371
2008-06-30Break runtime.c into separate pieces for maps, strings, print, etc.Rob Pike
Share common assembler for amd64 runtime SVN=125317