summaryrefslogtreecommitdiff
path: root/src/runtime/os_linux_arm.go
Commit message (Collapse)AuthorAgeFilesLines
* runtime: break out system-specific constants into package sysMichael Matloob2015-11-121-2/+5
| | | | | | | | | | | runtime/internal/sys will hold system-, architecture- and config- specific constants. Updates #11647 Change-Id: I6db29c312556087a42e8d2bdd9af40d157c56b54 Reviewed-on: https://go-review.googlesource.com/16817 Reviewed-by: Russ Cox <rsc@golang.org>
* runtime: run on GOARM=5 and GOARM=6 uniprocessor freebsd/arm systemsRuss Cox2015-08-071-1/+0
| | | | | | | | | | | | | | | | | | | | Also, crash early on non-Linux SMP ARM systems when GOARM < 7; without the proper synchronization, SMP cannot work. Linux is okay because we call kernel-provided routines for synchronization and barriers, and the kernel takes care of providing the right routines for the current system. On non-Linux systems we are left to fend for ourselves. It is possible to use different synchronization on GOARM=6, but it's too late to do that in the Go 1.5 cycle. We don't believe there are any non-Linux SMP GOARM=6 systems anyway. Fixes #12067. Change-Id: I771a556e47893ed540ec2cd33d23c06720157ea3 Reviewed-on: https://go-review.googlesource.com/13363 Reviewed-by: Austin Clements <austin@google.com>
* runtime: fix typos in os_linux_arm.goYongjian Xu2015-06-171-1/+1
| | | | | | Change-Id: I750900e0aed9ec528fea3f442c35196773e3ba5e Reviewed-on: https://go-review.googlesource.com/11163 Reviewed-by: Minux Ma <minux@golang.org>
* runtime: mark all runtime.cputicks implementations NOSPLITDave Cheney2015-04-151-0/+1
| | | | | | | | | | | | Fixes #10450 runtime.cputicks is called from runtime.exitsyscall and must not split the stack. cputicks is implemented in several ways and the NOSPLIT annotation was missing from a few of these. Change-Id: I5cbbb4e5888c5d298fe2fef240782d0e49f59af8 Reviewed-on: https://go-review.googlesource.com/8939 Reviewed-by: Aram Hăvărneanu <aram@mgk.ro>
* runtime: use runtime.sysargs to parse auxv on linux/armDave Cheney2015-01-141-2/+1
| | | | | | | | | | | | | | Make auxv parsing in linux/arm less of a special case. * rename setup_auxv to sysargs * exclude linux/arm from vdso_none.go * move runtime.checkarm after runtime.sysargs so arm specific values are properly initialised Change-Id: I1ca7f5844ad5a162337ff061a83933fc9a2b5ff6 Reviewed-on: https://go-review.googlesource.com/2681 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* runtime: remove duplicate copyright noticeDave Cheney2015-01-111-4/+0
| | | | | | Change-Id: Ibe3ba6426cc6e683ff3712faf6119922d0f88b5a Reviewed-on: https://go-review.googlesource.com/2680 Reviewed-by: Minux Ma <minux@golang.org>
* runtime: source startupRandomData from auxv AT_RANDOM on linux/arm.Shenghou Ma2015-01-091-6/+5
| | | | | | | | | Fixes #9541. Change-Id: I5d659ad50d7c3d1c92ed9feb86cda4c1a6e62054 Reviewed-on: https://go-review.googlesource.com/2584 Reviewed-by: Dave Cheney <dave@cheney.net> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* [dev.cc] runtime: fix bus error accessing auxv random data on arm5Dave Cheney2014-11-151-2/+5
| | | | | | | | | | | It's rather unsporting of the kernel to give us a pointer to unaligned memory. This fixes one crash, the next crash occurs in the soft float emulation. LGTM=minux, rsc, austin R=minux, rsc, austin CC=golang-codereviews https://golang.org/cl/177730043
* [dev.cc] runtime: convert operating system support code from C to GoRuss Cox2014-11-111-0/+75
The conversion was done with an automated tool and then modified only as necessary to make it compile and run. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r CC=austin, dvyukov, golang-codereviews, iant, khr https://golang.org/cl/174830044