]> Cypherpunks repositories - gostls13.git/commit
runtime: introduce CPU access functions on windows
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 14 Jan 2015 01:25:55 +0000 (12:25 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 10 Feb 2015 01:46:30 +0000 (01:46 +0000)
commit5c4a86d0d00bee86793ad5f750d768e98867132d
tree464be2f77daf6eae471955ddfcce7f8b372d5dd2
parent1e5d8bb5444368a7b6f2f169bbbb43452a0479d9
runtime: introduce CPU access functions on windows

This CL introduces new methods for 'context' type, so we can
manipulate its values in an architecture independent way.

Use new methods to replace both 386 and amd64 versions of
dosigprof with single piece of code.

There is more similar code to be converted in the following CLs.

Also remove os_windows_386.go and os_windows_amd64.go. These
contain unused functions.

Change-Id: I28f76aeb97f6e4249843d30d3d0c33fb233d3f7f
Reviewed-on: https://go-review.googlesource.com/2790
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/defs_windows_386.go
src/runtime/defs_windows_amd64.go
src/runtime/os1_windows.go
src/runtime/os1_windows_386.go
src/runtime/os1_windows_amd64.go
src/runtime/os_windows_386.go [deleted file]
src/runtime/os_windows_amd64.go [deleted file]