1、IEEE Std 1003.13-2003(Revision of IEEE Std 1003.13-1998)IEEE Standards1003.13TMIEEE Standard for Information TechnologyStandardized Application EnvironmentProfile (AEP)POSIXRealtime and Embedded Application Support 3 Park Avenue, New York, NY 10016-5997, USAIEEE Computer SocietySponsored by thePorta
2、ble Applications Standards CommitteeIEEE Standards10 September 2004Print: SH95191PDF: SS95191Recognized as an IEEE Std 1003.13-2003American National Standard (ANSI) (Revision of IEEE Std 1003.13-1998)IEEE Standard for Information TechnologyStandardized Application Environment Profile (AEP)POSIXRealt
3、ime and Embedded Application SupportSponsorPortable Applications Standards Committeeof theIEEE Computer SocietyApproved 12 May 2004American National Standards InstituteApproved 10 December 2003IEEE-SA Standards BoardAbstract: This standard is part of the POSIX series of standardized profiles for ope
4、n systems.It defines environment profiles for portable realtime and embedded applications.Keywords: AEP, application portability, data processing environment, embedded, open sys-tems, operating system, portable application, POSIX profiles, realtime, realtime applicationenvironments MS-DOS is a regis
5、tered trademark of Microsoft Corporation.QNX is a registered trademark of QNX Software Systems, Ltd.POSIX is a registered trademark of the Institute of Electrical and Electronics Engineers,Incorporated.pSOS is a registered trademark of Wind River Systems, Inc.RTLinux is a product of FSMLabs, Inc.RT-
6、11 is a trademark of Mentec Inc.RSX-11M is a trademark of Mentec Inc.RTEMS is free software developed by OAR Corporation for the U.S. Army Missile Command.UNIX is a registered trademark of The Open Group.VRTX32 is a registered trademark of Mentor Graphics Corporation.VxWorks is a registered trademar
7、k of Wind River Systems, Inc.The Institute of Electrical and Electronics Engineers, Inc.3 Park Avenue, New York, NY 10016-5997, USACopyright 2004 by the Institute of Electrical and Electronics Engineers, Inc.All rights reserved. Published 10 September 2004. Printed in the United States of America.IE
8、EE is a registered trademark in the U.S. Patent +1 978 750 8400. Permission to photocopy portions of any individual standard foreducational classroom use can also be obtained through the Copyright Clearance Center.NOTEAttention is called to the possibility that implementation of this standard may re
9、quire use of subjectmatter covered by patent rights. By publication of this standard, no position is taken with respect to the exist-ence or validity of any patent rights in connection therewith. The IEEE shall not be responsible for identifyingpatents for which a license may be required by an IEEE
10、standard or for conducting inquiries into the legal valid-ity or scope of those patents that are brought to its attention.ivCOPYRIGHT 2004 IEEE. ALL RIGHTS RESERVED.ContentsPAGEList of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
11、iiList of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viiiIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xSection 1: Overview. . . . . . . . . . . . . .
12、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Taxonomy Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13、21.2.1 Rationale for Positioning (informative) . . . . . . . . . . . . . . . . . . . . . . . . 21.3 Realtime System Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.3.1 Minimal Realtime System Profile (PSE51) . . . . . . . . . . . . . . . . . . . . . 21.3.2 Rea
14、ltime Controller System Profile (PSE52) . . . . . . . . . . . . . . . . . . . 31.3.3 Dedicated Realtime System Profile (PSE53). . . . . . . . . . . . . . . . . . . . 31.3.4 Multi-Purpose Realtime System Profile (PSE54) . . . . . . . . . . . . . . . . 31.4 Units of Functionality. . . . . . . . . . .
15、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.5 Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.6 Summary of Profile Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Section 2: Normative References . .
16、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232.1 Normative References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Section 3: Terms and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253.1 Termi
17、nology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253.2 Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.3 Rationale for Definitions (informative) . . . . . . . . . . . . . . . . . . .
18、. . . . . . . 28Section 4: Conventions and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314.1 Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314.2 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . .
19、. . . . . . . . . . . . . . . . . . . . . 32Section 5: Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335.1 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335.1.1 Implementation Conforma
20、nce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335.1.2 Application Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Section 6: Minimal Realtime System Profile (PSE51) . . . . . . . . . . . . . . . . . . . . . 376.1 Introduction. . . . . . . . . . . .
21、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.1.1 Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.1.2 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.1.3 O
22、ptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386.1.4 The Compilation Environment (C language option). . . . . . . . . . . . . 38vCOPYRIGHT 2004 IEEE. ALL RIGHTS RESERVED.6.2 Operating System Interface Requirements. . . . . . . . . . . . . . .
23、 . . . . . . . . 396.2.1 POSIX.1 Interfaces (C Language Option) . . . . . . . . . . . . . . . . . . . . . 396.2.2 POSIX.26 Interfaces (C Language Option) . . . . . . . . . . . . . . . . . . . . 406.2.3 POSIX.5c Interfaces (Ada Language Option) . . . . . . . . . . . . . . . . . . 406.3 Application Co
24、nstraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426.3.1 Constraints related to POSIX.1 Interfaces (C Language Option) . . 426.3.2 Constraints related to POSIX.5c Interfaces (Ada Language Option). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25、. . 436.4 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456.5 Development Platform Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 456.5.1 C Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . . . 456.5.2 A
26、da Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . 456.6 Rationale for Operating System Requirements (informative) . . . . . . . . 466.6.1 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . 466.6.2 Shell and Utility Requirements . . . . . . .
27、 . . . . . . . . . . . . . . . . . . . . . . 546.6.3 Development Platform Requirements . . . . . . . . . . . . . . . . . . . . . . . . 54Section 7: Realtime Controller System Profile (PSE52) . . . . . . . . . . . . . . . . . . . . 557.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . .
28、 . . . . . . . . . . . . . . . . . . . . . . 557.1.1 Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557.1.2 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557.1.3 Options . . . . . . . . . . .
29、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567.1.4 The Compilation Environment (C language option). . . . . . . . . . . . . 567.2 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . . . . 577.2.1 POSIX.1 Interfaces (C language Option). . . .
30、 . . . . . . . . . . . . . . . . . . 577.2.2 POSIX.26 Interfaces (C Language Option) . . . . . . . . . . . . . . . . . . . . 587.2.3 POSIX.5c Interfaces (Ada Language Option) . . . . . . . . . . . . . . . . . . 597.3 Application Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31、 . . . . . . . . 607.3.1 Constraints Related to POSIX.1 Interfaces (C Language Option). . 617.3.2 Constraints related to POSIX.5c Interfaces (Ada Language Option). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617.4 Shell and Utility Requirements . . . . . . . . . . . . . . .
32、 . . . . . . . . . . . . . . . . . 627.5 Development Platform Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 627.5.1 C Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . . . 627.5.2 Ada Language Development Option . . . . . . . . . . . . . . . . . . . .
33、 . . . . . 637.6 Rationale for Operating System Requirements (informative) . . . . . . . . 637.6.1 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . 637.6.2 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717.6.3 Development Platf
34、orm Requirements . . . . . . . . . . . . . . . . . . . . . . . . 72Section 8: Dedicated Realtime System Profile (PSE53) . . . . . . . . . . . . . . . . . . . . 738.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738.1.1 Identification. .
35、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738.1.2 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738.1.3 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36、. . 748.1.4 The Compilation Environment (C language option). . . . . . . . . . . . . 748.2 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . . . . 758.2.1 POSIX.1 Interfaces (C Language Option) . . . . . . . . . . . . . . . . . . . . . 758.2.2 POSIX.26 Interfaces (C Lang
37、uage Option) . . . . . . . . . . . . . . . . . . . . 77viCOPYRIGHT 2004 IEEE. ALL RIGHTS RESERVED.8.2.3 POSIX.5c Interfaces (Ada Language Option) . . . . . . . . . . . . . . . . . . 778.3 Application Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798.3.1 Cons
38、traints related to POSIX.1 Interfaces (C Language Option) . . 798.3.2 Constraints related to POSIX.5c Interfaces (Ada Language Option). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798.4 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39、 . . . 808.5 Development Platform Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 808.5.1 C Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . . . 808.5.2 Ada Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . 818.6 Rationale f
40、or Operating System Requirements (informative) . . . . . . . . 818.6.1 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . 818.6.2 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898.6.3 Development Platform Requirements . . . . . .
41、 . . . . . . . . . . . . . . . . . . 90Section 9: Multi-Purpose Realtime System Profile (PSE54) . . . . . . . . . . . . . . . . 919.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919.1.1 Identification. . . . . . . . . . . . . . . . . .
42、. . . . . . . . . . . . . . . . . . . . . . . . . . 919.1.2 Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919.1.3 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929.1.4 The Compilation Envi
43、ronment (C language option). . . . . . . . . . . . . 929.2 Operating System Interface Requirements. . . . . . . . . . . . . . . . . . . . . . . 939.2.1 POSIX.1 Interfaces (C Language Option) . . . . . . . . . . . . . . . . . . . . . 939.2.2 POSIX.26 Interfaces (C Language Option) . . . . . . . . . .
44、 . . . . . . . . . . 959.2.3 POSIX.5c Interfaces (Ada Language Option) . . . . . . . . . . . . . . . . . . 959.3 Application Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 979.3.1 Constraints Related to POSIX.1 Interfaces (C Language Option). . 979.3.2 Constr
45、aints Related to POSIX.5c Interfaces (Ada Language Option). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 989.4 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 989.5 Development Platform Requirements . . . . . . . . . . . . . . .
46、 . . . . . . . . . . . . 999.5.1 C Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . . . 999.5.2 Ada Language Development Option . . . . . . . . . . . . . . . . . . . . . . . . . 999.6 Rationale for Operating System Requirements (informative) . . . . . . . 1009.6.1 Operat
47、ing System Interface Requirements. . . . . . . . . . . . . . . . . . . 1009.6.2 Shell and Utility Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089.6.3 Development Platform Requirements . . . . . . . . . . . . . . . . . . . . . . . 108Annex A: POSIX Profiles Package (Ada Lang
48、uage). . . . . . . . . . . . . . . . . . . . . . 109Annex B: Description of Optional Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . 111B.1 POSIX.1 Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111B.2 POSIX.5c Options . . . . . . . . .
49、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Annex C: Bibliography. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123C.1 Related Open Systems Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123C.2 Other Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Alphabetic Topical Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125viiCopyright 2004 IEEE. All rights reserved.List of FiguresFigure I.1 Main Bui