mask not necessary

This commit is contained in:
2021-07-21 10:16:27 +02:00
parent 6529b03106
commit e2289cfd9b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# totally generic vxWorks startup script
#set ARCH according to vxWorks version and cpu type
VX6=(*runtimeVersion>>24)&255-'5'
VX6=(*runtimeVersion>>24)-'5'
VMI=(*runtimeVersion>>8)&255
ARCH=malloc(16)
sprintf(ARCH,"%s%c-ppc60%d",VX6?"V6":"T",VX6?VMI:VMI>'3'?'2':'1',sysCpu-90)

View File

@@ -10,7 +10,7 @@ EPICS_MODULES = "/ioc/modules"
REQUIRE_VERSION="2.10.10"
# Set EPICS_HOST_ARCH according to vxWorks version and cpu type
VX6=(*runtimeVersion>>24)&255-'5'
VX6=(*runtimeVersion>>24)-'5'
VMI=(*runtimeVersion>>8)&255
EPICS_HOST_ARCH=malloc(16)
sprintf EPICS_HOST_ARCH, "%s%c-ppc60%d", VX6 ? "V6" : "T", VX6 ? VMI : VMI>'3' ? '2' : '1', sysCpu-90