📄 evmdm642cfg.s62
字号:
.asg "STS_add(*addr)", _operation
.asg "USER", _client
.asg 00H, _iUseDispatcher
.asg 00H, _iArg
.asg 0800H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT11, 11, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT12 ========
;; defines the INT12 Interrupt
;;
;; HWI_Obj HWI_INT12 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT12
.asg HWI_unused, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "USER", _client
.asg 00H, _iUseDispatcher
.asg 00H, _iArg
.asg 01000H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT12, 12, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT13 ========
;; defines the INT13 Interrupt
;;
;; HWI_Obj HWI_INT13 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT13
.asg HWI_unused, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "USER", _client
.asg 00H, _iUseDispatcher
.asg 00H, _iArg
.asg 02000H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT13, 13, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT14 ========
;; defines the INT14 Interrupt
;;
;; HWI_Obj HWI_INT14 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT14
.asg CLK_F_isr, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "CLK", _client
.asg 01H, _iUseDispatcher
.asg CLK_A_TABBEG, _iArg
.asg 04000H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT14, 14, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== HWI_Obj HWI_INT15 ========
;; defines the INT15 Interrupt
;;
;; HWI_Obj HWI_INT15 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack)
.global HWI_INT15
.asg HWI_unused, _function
.asg "Nothing", _monitor
.asg 00H, _addr
.asg "signed", _dataType
.asg "STS_add(*addr)", _operation
.asg "USER", _client
.asg 00H, _iUseDispatcher
.asg 00H, _iArg
.asg 08000H, _IntrMask
.asg 01H, _iCCBitMask
.asg 00H, _iLoadTrack
HWI_Obj 1, HWI_INT15, 15, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack
;; ======== SWI_Obj KNL_swi ========
;; This Software Interrupt calls the TSK scheduler
;;
;; SWI_Obj KNL_swi (function, pri, mailbox, arg0, arg1, dorta, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype)
.global KNL_swi
.asg _KNL_run, _function
.asg 00H, _pri
.asg 00H, _mailbox
.asg 00H, _arg0
.asg 00H, _arg1
.asg 01H, _dorta
.asg 00H, _Order
.asg 02H, _filter
.asg "%g inst", _maxformat
.asg "%g inst", _sumformat
.asg "%.2f inst", _avgformat
.asg 01H, _filtmaxmult
.asg 01H, _filtsummult
.asg 00H, _unittype
SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
;; ======== SWI_Obj PRD_swi ========
;; This Software ISR executes all configured PRD functions
;;
;; SWI_Obj PRD_swi (function, pri, mailbox, arg0, arg1, dorta, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype)
.global PRD_swi
.asg PRD_F_swi, _function
.asg 01H, _pri
.asg 00H, _mailbox
.asg 00H, _arg0
.asg 00H, _arg1
.asg 01H, _dorta
.asg 00H, _Order
.asg 02H, _filter
.asg "%g inst", _maxformat
.asg "%g inst", _sumformat
.asg "%.2f inst", _avgformat
.asg 01H, _filtmaxmult
.asg 01H, _filtsummult
.asg 00H, _unittype
SWI_Obj 1, PRD_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
;; ======== TSK_Obj TSK_idle ========
;; This is the idle task; it only runs when no other task is ready
;;
;; TSK_Obj TSK_idle (iFXN, iARG0, iARG1, iARG2, iARG3, iARG4, iARG5, iARG6, iARG7, iAUTOSTK, iMANSTK, iSTKSZ, iSTKSEG, iPRI, iENV, iEXITFLAG, iUSETSKNAME, iSTATREG, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype)
.global TSK_idle
.asg IDL_F_loop, _iFXN
.asg 00H, _iARG0
.asg 00H, _iARG1
.asg 00H, _iARG2
.asg 00H, _iARG3
.asg 00H, _iARG4
.asg 00H, _iARG5
.asg 00H, _iARG6
.asg 00H, _iARG7
.asg 01H, _iAUTOSTK
.asg null, _iMANSTK
.asg 0400H, _iSTKSZ
.asg SDRAM, _iSTKSEG
.asg 00H, _iPRI
.asg 00H, _iENV
.asg 01H, _iEXITFLAG
.asg 00H, _iUSETSKNAME
.asg 00H, _iSTATREG
.asg 00H, _Order
.asg 02H, _filter
.asg "%g inst", _maxformat
.asg "%g inst", _sumformat
.asg "%.2f inst", _avgformat
.asg 01H, _filtmaxmult
.asg 01H, _filtsummult
.asg 00H, _unittype
TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
;; ======== TSK_Obj tskNdkStackTest ========
;; <add comments here>
;;
;; TSK_Obj tskNdkStackTest (iFXN, iARG0, iARG1, iARG2, iARG3, iARG4, iARG5, iARG6, iARG7, iAUTOSTK, iMANSTK, iSTKSZ, iSTKSEG, iPRI, iENV, iEXITFLAG, iUSETSKNAME, iSTATREG, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype)
.global tskNdkStackTest
.asg _StackTest, _iFXN
.asg 00H, _iARG0
.asg 00H, _iARG1
.asg 00H, _iARG2
.asg 00H, _iARG3
.asg 00H, _iARG4
.asg 00H, _iARG5
.asg 00H, _iARG6
.asg 00H, _iARG7
.asg 01H, _iAUTOSTK
.asg null, _iMANSTK
.asg 01000H, _iSTKSZ
.asg SDRAM, _iSTKSEG
.asg 05H, _iPRI
.asg 00H, _iENV
.asg 01H, _iEXITFLAG
.asg 00H, _iUSETSKNAME
.asg 00H, _iSTATREG
.asg 00H, _Order
.asg 02H, _filter
.asg "%g inst", _maxformat
.asg "%g inst", _sumformat
.asg "%.2f inst", _avgformat
.asg 01H, _filtmaxmult
.asg 01H, _filtsummult
.asg 00H, _unittype
TSK_Obj 1, tskNdkStackTest, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
;; ======== IDL_Obj IDL_cpuLoad ========
;; This object is required by the system to acquire CPU load data
;;
;; IDL_Obj IDL_cpuLoad (function, calibration)
.global IDL_cpuLoad
.asg IDL_F_busy, _function
.asg 01H, _calibration
IDL_Obj 1, IDL_cpuLoad, 0, _function, _calibration
;; ======== IDL_Obj LNK_dataPump ========
;; This object cannot be deleted
;;
;; IDL_Obj LNK_dataPump (function, calibration)
.global LNK_dataPump
.asg LNK_F_dataPump, _function
.asg 01H, _calibration
IDL_Obj 1, LNK_dataPump, 0, _function, _calibration
;; ======== IDL_Obj RTA_dispatcher ========
;; This object cannot be deleted
;;
;; IDL_Obj RTA_dispatcher (function, calibration)
.global RTA_dispatcher
.asg RTA_F_dispatch, _function
.asg 01H, _calibration
IDL_Obj 1, RTA_dispatcher, 0, _function, _calibration
;; ======== LOG_Obj LOG_system ========
;; This object is required by the system to accumulate execution trace information
;;
;; LOG_Obj LOG_system (bufseg, buflen, logtype, iType, iFormat)
.global LOG_system
.asg SDRAM, _bufseg
.asg 040H, _buflen
.asg "circular", _logtype
.asg "system", _iType
.asg "0x%x, 0x%x, 0x%x", _iFormat
LOG_Obj 1, LOG_system, 0, _bufseg, _buflen, _logtype, _iType, _iFormat
;; ======== LOG_Obj logTrace ========
;; default LOG object for application messages
;;
;; LOG_Obj logTrace (bufseg, buflen, logtype, iType, iFormat)
.global logTrace
.asg SDRAM, _bufseg
.asg 0400H, _buflen
.asg "circular", _logtype
.asg "printf", _iType
.asg "0x%x, 0x%x, 0x%x", _iFormat
LOG_Obj 1, logTrace, 0, _bufseg, _buflen, _logtype, _iType, _iFormat
;; ======== STS_Obj IDL_busyObj ========
;; This object is required by the system to accumulate CPU load statistics
;;
;; STS_Obj IDL_busyObj (prev, filter, maxformat, sumformat, avgformat, op, uType, iA, iB, iC, prevlow)
.global IDL_busyObj
.asg 00H, _prev
.asg 01H, _filter
.asg "%g", _maxformat
.asg "%g", _sumformat
.asg "%.2f", _avgformat
.asg 00H, _op
.asg 02H, _uType
.asg 01H, _iA
.asg 00H, _iB
.asg 01H, _iC
.asg 00H, _prevlow
STS_Obj 1, IDL_busyObj, 0, _prev, _filter, _maxformat, _sumformat, _avgformat, _op, _uType, _iA, _iB, _iC, _prevlow
;; ======== HOOK_Obj HOOK_KNL ========
;; Used to support TSK function hooks (cannot be deleted)
;;
;; HOOK_Obj HOOK_KNL (initFxn, createFxn, deleteFxn, exitFxn, callSwitchFxn, switchFxn, callReadyFxn, readyFxn)
.global HOOK_KNL
.asg _FXN_F_nop, _initFxn
.asg _FXN_F_nop, _createFxn
.asg _FXN_F_nop, _deleteFxn
.asg _FXN_F_nop, _exitFxn
.asg 00H, _callSwitchFxn
.asg _FXN_F_nop, _switchFxn
.asg 00H, _callReadyFxn
.asg _FXN_F_nop, _readyFxn
HOOK_Obj 1, HOOK_KNL, 0, _initFxn, _createFxn, _deleteFxn, _exitFxn, _callSwitchFxn, _switchFxn, _callReadyFxn, _readyFxn
;; ======== HOOK_Obj hookNdk ========
;; <add comments here>
;;
;; HOOK_Obj hookNdk (initFxn, createFxn, deleteFxn, exitFxn, callSwitchFxn, switchFxn, callReadyFxn, readyFxn)
.global hookNdk
.asg _NDK_hookInit, _initFxn
.asg _NDK_hookCreate, _createFxn
.asg _FXN_F_nop, _deleteFxn
.asg _FXN_F_nop, _exitFxn
.asg 00H, _callSwitchFxn
.asg _FXN_F_nop, _switchFxn
.asg 00H, _callReadyFxn
.asg _FXN_F_nop, _readyFxn
HOOK_Obj 1, hookNdk, 0, _initFxn, _createFxn, _deleteFxn, _exitFxn, _callSwitchFxn, _switchFxn, _callReadyFxn, _readyFxn
;; MODULE INITIALIZATION
.sect ".sysinit"
.global BIOS_init, _BIOS_init
BIOS_init:
_BIOS_init:
GBL_preamble
GBL_init
SEM_init
MEM_init
OBJ_init
BUF_init
POOL_init
CLK_init
PRD_init
RTDX_init
IDL_init
LCK_init
LOG_init
MBX_init
PIP_init
QUE_init
STS_init
SYS_init
HWI_init
HST_init
DEV_init
UDEV_init
DIO_init
DGN_init
DHL_init
DPI_init
SIO_init
GIO_init
MSGQ_init
SWI_init
HOOK_init
TSK_init
ISRC_init
GBL_postamble
;; MODULE STARTUP
.sect ".sysinit"
.global BIOS_start, _BIOS_start
BIOS_start:
_BIOS_start:
GBL_preamble
GBL_startup
SEM_startup
MEM_startup
OBJ_startup
BUF_startup
POOL_startup
CLK_startup
PRD_startup
RTDX_startup
IDL_startup
LCK_startup
LOG_startup
MBX_startup
PIP_startup
QUE_startup
STS_startup
SYS_startup
HWI_startup
HST_startup
DEV_startup
UDEV_startup
DIO_startup
DGN_startup
DHL_startup
DPI_startup
SIO_startup
GIO_startup
MSGQ_startup
SWI_startup
HOOK_startup
TSK_startup
ISRC_startup
GBL_postamble
;; EPILOGUE
GBL_end
MEM_end
OBJ_end
BUF_end
POOL_end
CLK_end
PRD_end
RTDX_end
HST_end
HWI_end
SWI_end
TSK_end
IDL_end
ISRC_end
LOG_end
PIP_end
SEM_end
MBX_end
QUE_end
LCK_end
STS_end
SYS_end
SIO_end
GIO_end
DEV_end
UDEV_end
DIO_end
DGN_end
DHL_end
DPI_end
MSGQ_end
HOOK_end
.copy confend.s62
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -