aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_amd64_linux.s
AgeCommit message (Collapse)Author
2009-03-24move darwin specific code into runtime/darwin/Russ Cox
move darwin-amd64 specific code into runtime/darwin/amd64/ repeat for linux. move rt0 into runtime.a instead of keeping a separate .6 file. 6l seems to have no problem with that. TBR=r OCL=26680 CL=26680
2009-01-16casify, cleanup sysRuss Cox
R=r OCL=22978 CL=22984
2008-12-03preparation for exec.Russ Cox
* syscall: add syscall.RawSyscall, which doesn't use sys.entersyscall/sys.exitsyscall add syscall.dup2 add syscall.BytePtrPtr add syscall.Rusage, RusagePtr add syscall.F_GETFD, F_SETFD, FD_CLOEXEC * runtime: clean up, correct signal handling. can now survive (continue running after) a signal. R=r DELTA=394 (286 added, 51 deleted, 57 changed) OCL=20351 CL=20369
2008-09-24cleanup; sys.sleep can go.Russ Cox
R=r OCL=15786 CL=15792
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-09-08fix bug in stack limit calculation - was setting limit reg in wrong place.Rob Pike
R=ken OCL=14981 CL=14981
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-24selectKen Thompson
R=r APPROVED=r DELTA=638 (433 added, 21 deleted, 184 changed) OCL=13426 CL=13438
2008-07-15add linkage for writefile on darwinRob Pike
SVN=127208
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-11segmented stacks AND goroutinesKen Thompson
SVN=126929
2008-06-30Break runtime.c into separate pieces for maps, strings, print, etc.Rob Pike
Share common assembler for amd64 runtime SVN=125317