mirror of
https://github.com/wfjm/w11.git
synced 2026-03-02 02:00:58 +00:00
- hook_ibmon_*.tcl: check ibmon availability - hook_dmscnt.tcl: check dmscnt availability - *: add SPDX
15 lines
472 B
Tcl
15 lines
472 B
Tcl
# $Id: hook_ibmon_dza.tcl 1169 2019-06-21 07:00:59Z mueller $
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Copyright 2019- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
#
|
|
if {[cpu0 imap -testname im.lolim]} {
|
|
puts "hook: start ibmon for dza"
|
|
package require ibd_ibmon
|
|
ibd_ibmon::stop
|
|
cpu0 cp -wibr im.lolim [cpu0 imap dza.csr] \
|
|
-wibr im.hilim [cpu0 imap dza.tdr]
|
|
ibd_ibmon::start
|
|
} else {
|
|
puts "hook: ibmon not available, hook_ibmon_dza ignored"
|
|
}
|