4.2 LISA+ protocol includes section

The includes section includes C/C++ type declarations and constants from external C/C++ header files. It is optional, and sits inside the protocol definition.

The contents and semantics of this includes section are the same as for the includes section of components. It usually contains a list of preprocessor #include statements. These #include statements do not expand into the LISA+ code. The #include statements associate with the protocol definition and you can use the types declared in the included header files in the protocol definition.

The scope of the declarations made directly or indirectly in the includes section can extend beyond the protocol definition that contains the includes section. The scope can span all LISA+ files of a subsystem, including all other component and protocol definitions, but is only guaranteed to span the protocol definition itself.

Non-ConfidentialPDF file icon PDF version101092_0100_04_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.