This adds the "msr" device to devarch, allowing userspace software (ie, CPU counters programming machinery) to interact with MSRs. I also cleaned up that file a bit, dropping a few things that were unused anywhere (there are some more in there).
https://github.com/brho/akaros/compare/master...dlibenzi:devarch_msr The following changes since commit 1165c2bda44b7f1fb3b776c0dc5b0fb4dd499961: Add networking unit tests (2015-11-03 12:00:38 -0500) are available in the git repository at: [email protected]:dlibenzi/akaros devarch_msr for you to fetch changes up to bd69792de3d53f08b7b6e15de684b22744c52f62: Added test for devarch MSR file (2015-11-09 06:49:04 -0800) ---------------------------------------------------------------- Davide Libenzi (6): Added completion data structure Added CPU set data structure Added APIs to read and write MSR values on multiple CPUs Cleaned up devarch.c code to remove unused code Plugged MSR read and write APIs into devarch MSR file Added test for devarch MSR file kern/arch/x86/devarch.c | 430 +++++++++++++++++++---------------------- kern/include/completion.h | 17 ++ kern/include/cpu_set.h | 66 +++++++ kern/src/Kbuild | 1 + kern/src/completion.c | 30 +++ user/utest/devarch_file_test.c | 71 +++++++ 6 files changed, 379 insertions(+), 236 deletions(-) create mode 100644 kern/include/completion.h create mode 100644 kern/include/cpu_set.h create mode 100644 kern/src/completion.c create mode 100644 user/utest/devarch_file_test.c -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
