Remove global KernelMapping instance

Propagate thread safe instance of KernelMapping to each place where it
is being used.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ic6946776e16dc4d6c5a1065bd4a60506ea4c245b
diff --git a/src/lib.rs b/src/lib.rs
index 9592c04..ecaa6b5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -149,6 +149,7 @@
 }
 
 /// Enum for selecting TTBR0_EL1 or TTBR1_EL1
+#[allow(clippy::upper_case_acronyms)]
 pub enum TTBR {
     TTBR0_EL1,
     TTBR1_EL1,