Added currently running slot ID and maximum application size to shared data function definition.