summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ipf/ReadItc.s
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ipf/ReadItc.s')
-rw-r--r--MdePkg/Library/BaseLib/Ipf/ReadItc.s26
1 files changed, 26 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ipf/ReadItc.s b/MdePkg/Library/BaseLib/Ipf/ReadItc.s
new file mode 100644
index 0000000000..74759b537f
--- /dev/null
+++ b/MdePkg/Library/BaseLib/Ipf/ReadItc.s
@@ -0,0 +1,26 @@
+/// @file
+/// Contains an implementation of IpfReadItc () on Itanium-based
+/// architecture.
+///
+/// Copyright (c) 2006, Intel Corporation
+/// All rights reserved. This program and the accompanying materials
+/// are licensed and made available under the terms and conditions of the BSD License
+/// which accompanies this distribution. The full text of the license may be found at
+/// http://opensource.org/licenses/bsd-license.php
+///
+/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+///
+/// Module Name: ReadItc.s
+///
+///
+
+.auto
+.text
+
+.proc IpfReadItc
+.type IpfReadItc, @function
+IpfReadItc::
+ mov r8 = ar.itc
+ br.ret.sptk.many b0
+.endp IpfReadItc