zephyr/arch/x86
Leandro Pereira d4221f9a71 arch: x86: Rename MSR-handling functions to conform to convention
Rename _MsrRead() and _MsrWrite() to _x86_msr_read() and
_x86_msr_write() respectively.

Given that these functions are essentially implemented in assembly.
make them static inline.  They can be inlined by the compiler quite
well, most of the time incurring in space savings due to better
handling of the cobbled registers.

Also simplifies the inline assembly, using constraints instead of
moving registers ourselves.  Should shave off a few bytes from code
using these functions.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-05-23 14:38:22 -04:00
..
core arch: x86: Rename MSR-handling functions to conform to convention 2018-05-23 14:38:22 -04:00
debug kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
include arch: x86: Rename MSR-handling functions to conform to convention 2018-05-23 14:38:22 -04:00
soc kconfig: Drop support for CONFIG_TOOLCHAIN_VARIANT 2018-05-22 11:15:36 -04:00
CMakeLists.txt arch: architecture defines kernel entry 2017-12-27 14:16:08 -05:00
defconfig Use SoC instead of platform. 2016-02-05 20:25:11 -05:00
Kconfig kconfig: Make 'source' non-globbing and use 'gsource' 2018-05-08 11:14:12 +02:00