readme_intsync
来自「This is the demo source code for embedde」· 代码 · 共 47 行
TXT
47 行
FILE LIST - intSync.cDESCRIPTION - This is a demo to demonstrate synchronization between tasks running on multiple CPUs by using interrupts across the VME backplane. This task is used for synchronization with VME bus interrupt generated by CPU 0. The intSync task runs on CPU1, intGen task runs on CPU 0 To run the code invoke the function intSync().RUNNING DEMO - Place the intSync.c file in your <Tornado> dir. Depending on the target you have, define the CPU in your compile line and use the Makefile in the BSP dir. to compile. Run intSync() on vxworks target.TESTED ON - Host/Target : Solaris 2.5.1 / mv1604 VxWorks : 5.3.1 EXAMPLE COMPILE LINE - make CPU=PPC604 intSync.o% make intSync.occppc -B/petaluma1/mayur/tor101-ppc/host/sun4-solaris2/lib/gcc-lib/ -mstrict-align -ansi -nostdinc -O2 -fvolatile -fno-builtin -fno-for-scope -Wall -I/h -I. -I/petaluma1/mayur/tor101-ppc/target/config/all -I/petaluma1/mayur/tor101-ppc/target/h -I/petaluma1/mayur/tor101-ppc/target/src/config -I/petaluma1/mayur/tor101-ppc/target/src/drv -DCPU=PPC604 -DMV1600 -DTARGET_DIR="\"mv1604\"" -c intSync.cOUTPUTS/LOGFILE -On VxWorks target:==================-> ld <intSync.ovalue = 839960 = 0xcd118
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?