OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [s-multip.ads] - Blame information for rev 706

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 706 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--               S Y S T E M . M U L T I P R O C E S S O R S                --
6
--                                                                          --
7
--                                  S p e c                                 --
8
--                                                                          --
9
-- This specification is derived from the Ada Reference Manual for use with --
10
-- GNAT.  In accordance with the copyright of that document, you can freely --
11
-- copy and modify this specification,  provided that if you redistribute a --
12
-- modified version,  any changes that you have made are clearly indicated. --
13
--                                                                          --
14
------------------------------------------------------------------------------
15
 
16
package System.Multiprocessors is
17
   pragma Preelaborate (Multiprocessors);
18
 
19
   type CPU_Range is range 0 .. 2 ** 16 - 1;
20
 
21
   subtype CPU is CPU_Range range 1 .. CPU_Range'Last;
22
 
23
   Not_A_Specific_CPU : constant CPU_Range := 0;
24
 
25
   function Number_Of_CPUs return CPU;
26
   --  Number of available CPUs
27
 
28
end System.Multiprocessors;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.