From b84cfb970f2802d1b4c129127729121fe5396d9d Mon Sep 17 00:00:00 2001 From: "Infineon\\StieberD" Date: Tue, 5 Nov 2024 11:49:16 -0700 Subject: [PATCH] added rtioengineinit to sysprog --- SYSPROG/STPROC/RTIOENGINEINIT.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 SYSPROG/STPROC/RTIOENGINEINIT.txt diff --git a/SYSPROG/STPROC/RTIOENGINEINIT.txt b/SYSPROG/STPROC/RTIOENGINEINIT.txt new file mode 100644 index 0000000..465c028 --- /dev/null +++ b/SYSPROG/STPROC/RTIOENGINEINIT.txt @@ -0,0 +1,19 @@ +Compile subroutine RtiOEngineInit(void) +#pragma SRP_Precompiler + +$Insert ENVIRON_CONSTANTS + +Declare subroutine Set_Env, GetEngineVersion +Declare function RTI_Xlate_Controller + +Version = '' +GetEngineVersion(Version) +MajorVersion = Version[1, 'F.'] +If MajorVersion GE 10 then + // Stopgap performance fix for OI 10.2.2 RC1. Revelation will re-enable caching by default in 10.2.2 RC2. + // Do not invoke this in OI 9 as the function does not exist! + rv = RTI_Xlate_Controller('EnableCache') +end + +return +