commit | 7814c0ff9b2087ac5e312974f165815cf60c4246 | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Thu Jul 09 00:15:05 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jul 09 00:15:05 2020 +0000 |
tree | c469f6ed6f7ca584e3b4bae3c3d0a35d1b7ddbf0 | |
parent | 9e45420d522334fc0105b2ecd186c7497dd64b4e [diff] |
[kernel][arch] Add <lib/arch/x86/msr.h> API This provides access to x86 Model-Specific Registers in the lib/arch API. For now, only a few trivial ones are defined. This also generates the <lib/arch/x86/msr-asm.h> header that can be used by assembly code. Along the way, clean up uses of lib/arch in host code by separating the host case from the specific target machine cases. A new "host" sublibrary fills in stubs for the machine-dependent headers so that machine-independent headers can be used on host. Test: mostly refactor, still builds; new assembly constants used by later change Change-Id: I36d21d86beee19d2064f109fe1f7f945c219c559 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/403058 Commit-Queue: Joshua Seaton <joshuaseaton@google.com> Reviewed-by: Tess Eisenberger <teisenbe@google.com> Testability-Review: Tess Eisenberger <teisenbe@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.