summaryrefslogtreecommitdiff
path: root/src/hypervisor_check.ads
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-03-05 17:43:19 +0600
committerDaniil Baturin <daniil@baturin.org>2015-03-05 17:43:19 +0600
commit34c7b0e94c68a4800cb64d3a844d7d47ad3e51a8 (patch)
treec73956bd500f9cee72c6801f5f1432040c854f5b /src/hypervisor_check.ads
parent0d86921c5c7af1d978a70da124ed26e3ea50a769 (diff)
downloadhvinfo-34c7b0e94c68a4800cb64d3a844d7d47ad3e51a8.tar.gz
hvinfo-34c7b0e94c68a4800cb64d3a844d7d47ad3e51a8.zip
Make internal functions private in the package interface.
Diffstat (limited to 'src/hypervisor_check.ads')
-rw-r--r--src/hypervisor_check.ads10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/hypervisor_check.ads b/src/hypervisor_check.ads
index dea832e..11d638d 100644
--- a/src/hypervisor_check.ads
+++ b/src/hypervisor_check.ads
@@ -7,6 +7,12 @@ package Hypervisor_Check is
package US renames Ada.Strings.Unbounded;
+ function Get_Vendor_Name return US.Unbounded_String;
+
+ function Hypervisor_Present return Boolean;
+
+private
+
Hypervisor_Leaf : constant := 16#40000000#;
type CPUID_Registers is array (1 .. 4) of Unsigned_32;
@@ -14,10 +20,6 @@ package Hypervisor_Check is
function String_of_U32 (Arg : Unsigned_32) return US.Unbounded_String;
- function Hypervisor_Present return Boolean;
-
function Get_Vendor_String return US.Unbounded_String;
- function Get_Vendor_Name return US.Unbounded_String;
-
end Hypervisor_Check;