1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-28 05:07:39 +00:00
Commit Graph

95 Commits

Author SHA1 Message Date
wfjm
93bf5ce03b use c++ style casts 2018-12-22 09:20:02 +01:00
wfjm
4e2f1c3d19 use std::thread instead of boost; final boost cleanup
- no boost:: classes used anymore
- no boost/*.hpp headers included anymore
- significantly improved compilation speed
2018-12-19 11:53:54 +01:00
wfjm
dcaf39ff84 use mutex and friends from std:: instead from boost::
- use std::mutex
- use std::recursive_mutex
- use std::condition_variable
- use std::lock_guard
2018-12-18 10:22:35 +01:00
wfjm
783778f2bb use =delete for noncopyable instead of boost 2018-12-17 09:00:15 +01:00
wfjm
1620ee3a84 phase-out boost::function,bind
- use std::function instead of boost
- use c++11 lambda instead of boost::bind in most cases
- use std::bind in few cases where this deems more readable
- use move semantics for passing of function objects
2018-12-16 12:24:07 +01:00
wfjm
11e6c81379 add HasPort/HasVirt(); Port() and Virt() return reference 2018-12-15 14:49:34 +01:00
wfjm
70f0911b37 use std::shared_ptr instead of boost 2018-12-14 18:24:24 +01:00
wfjm
cd97fb0f45 add and use move semantic in RlinkCommandExpect 2018-12-13 20:53:56 +01:00
wfjm
03d69de264 BUGFIX: Start(Tx|Rx)Ring, was broken in 970be66 2018-12-09 09:22:06 +01:00
wfjm
a369c48762 use unique_ptr 2018-12-09 09:16:07 +01:00
wfjm
233730885d comment&code cosmetics; minor changes 2018-12-08 09:25:25 +01:00
wfjm
86556f767f use range loops 2018-11-30 20:21:30 +01:00
wfjm
4e1f91b0a1 use auto; use emplace,make_pair 2018-11-16 18:26:00 +01:00
wfjm
e1abc27983 comment&code cosmetics; minor changes 2018-11-11 09:50:46 +01:00
wfjm
dd3a253dbc Rw11VirtDiskRam: add ram: scheme for ram-only-disk 2018-11-10 12:24:43 +01:00
wfjm
341cf23e76 Rw11VirtDisk: keep track of disk geometry 2018-11-10 09:04:48 +01:00
wfjm
4e001adf8d replace boost/foreach 2018-11-04 09:01:47 +01:00
wfjm
0913863793 comment&code cosmetics; minor changes 2018-11-03 10:30:00 +01:00
wfjm
2a50d35e71 some minor c++11 and -Weverything code updates
- use `nullptr` instead of plain '0'
- use `[[noreturn]]` (clang -Wmissing-noreturn)
- drop never reached returns (clang -Wunreachable-code-return)
- drop `throw()` lists, use `noexcept` (clang -Wdeprecated)
- add `R*_Init` prototypes (clang -Wmissing-prototypes)
- Rw11VirtEthTap.cpp: BUGFIX: buffer not null terminated (coverity)
2018-10-28 12:19:19 +01:00
wfjm
86380fc2c6 coverity: catch exceptions in dtor 2018-10-27 12:44:39 +02:00
wfjm
4b355707c8 add Rtools::Catch2Cerr 2018-10-27 12:41:12 +02:00
wfjm
102845ccf6 move using after includes (clang warning) 2018-10-07 08:28:39 +02:00
wfjm
37da9f19fa fix wrong doxygen trailing comments (clang -Wdocumentation) 2018-10-05 19:10:52 +02:00
wfjm
1be14ad15f Integrate dmpcnt in all w11 designs and backend
- pdp11_sequencer: add DM_STAT_SE.(cpbusy,idec)
- pdp11_sys70: only preliminary set of signals, cache signals kludged
2018-09-30 09:35:30 +02:00
wfjm
970be66d07 cleanups for -Wpedantic; bugfix in RtclArgs.hpp 2018-09-28 19:51:19 +02:00
wfjm
700eb2349c coverity: bugfixes for resource leaks etc; use -Wpedantic 2018-09-23 09:48:21 +02:00
wfjm
c01fc7c053 coverity: fixed for uninitialized variables 2018-09-22 11:14:45 +02:00
wfjm
4df1d3e549 minor comment corrections/additions 2018-09-21 19:35:31 +02:00
wfjm
c1370bd5d8 RtclRw11Unit: fix for clang: M_virt() now public 2018-09-15 18:26:50 +02:00
wfjm
49777105c2 get disclaimers in line with GPL V3 License.txt 2018-01-02 21:41:07 +01:00
wfjm
dc1633ff56 Rw11VirtDiskOver: more detailed stats 2017-06-05 23:06:20 +02:00
wfjm
e9d9dc309f Rw11VirtDiskOver.cpp: Read(): BUGFIX: fix index error in blockwise read 2017-06-03 19:42:29 +02:00
wfjm
a9425599e7 Miscellaneous fixes and changes
- ibdr_deuna: add logic to handle 'PDMD issued while busy'
- Rw11CntlDEUNA: adopt trace and statistics
- hook_ibmon_xua.tcl: use .imf,.ime
2017-05-28 13:33:39 +02:00
wfjm
c0a227c1d5 Miscellaneous fixes and changes
- Rw11VirtDiskOver: BUGFIX: correct write count accumulation
- svn_set_ignore: check svn:ignore existance before reading it
- telnet_wrapper: add 'r' --> reset and stty sane handling
2017-05-27 16:06:15 +02:00
wfjm
6969442dac Rw11CntlPC11,Rw11CntlDL11: trace received chars 2017-05-20 17:41:19 +02:00
Walter F.J. Mueller
ed4988d0e4 re-arrange rawio commands for rlc and rlp
- RtclRlink(Connect|Port): drop M_rawio; add M_rawread,M_rawrblk,M_rawwblk
- RtclRlinkPort: LogFileName(): returns now const std::string&
2017-04-30 15:20:16 +02:00
Walter F.J. Mueller
76244111d1 BUGFIXes for backend
- RlinkPort: BUGFIX: RawRead(): proper irc for exactsize=false
- Rexception: BUGFIX: add fErrtxt for proper what() return
2017-04-30 15:17:41 +02:00
Walter F.J. Mueller
2c7b4715f0 remove Doxygen \version lines 2017-04-28 21:34:40 +02:00
Walter F.J. Mueller
509c3719bd integrate rbus monitor in w11 shell; setup procs idempotent
- RlinkConnect: add rbus monitor probe, add HasRbmon()
- RtclRlinkConnect: M_amap: -testname opt addr check; add hasrbmon get
- RtclRw11Cpu: M_(imap|rmap): -testname optional addr check
- ti_rri: setup rbus monitor if detected
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- ibd_ibmon/util.tcl: setup: now idempotent; move out imap_reg2addr
- rbmoni/util.tcl: setup: now idempotent; add procs filter,rme,rmf
- rlink/util.tcl: add amap_reg2addr
- rw11/util.tcl: move in imap_reg2addr; add imap_range2addr
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- rw11/dmhbpt.tcl: hb_set: use imap_range2addr, allow regnam and range
- */util.tcl: setup: now idempotent
2017-04-22 15:33:04 +02:00
Walter F.J. Mueller
4cb079d5a0 backend for DEUNA
- Rw11CntlDEUNA: controller and almost all logic
- Rw11UnitDEUNA: unit
2017-04-17 21:15:37 +02:00
Walter F.J. Mueller
726377722c backend support classes for networking 2017-04-17 21:05:42 +02:00
Walter F.J. Mueller
64b8435719 code cosmetics 2017-04-17 14:08:38 +02:00
Walter F.J. Mueller
d543926043 factor out controller class specifics; add useful M_default output
- RtclRw11Cntl*Base: add classes with Rdma,Disk,Stream.Tape,Term specifics
- RtclRw11Cntl*: add class in ctor; derive from RtclRw11Cntl*Base
2017-04-16 15:29:32 +02:00
Walter F.J. Mueller
d42ab4c798 make list cpus,cntls,units command gettable; make controller class gettable
- RtclRw11: add CpuCommands() and cpus getter
- RtclRw11Cntl: add UnitCommands() and uints and class getter
- RtclRw11Cpu: add ControllerCommands() and cntls getter
2017-04-16 15:20:06 +02:00
Walter F.J. Mueller
3ae2cae6d8 make attach status and attach url gettable for units
- Rw11Cntl,Rw11CntlBase: NUnit() now pure; add UnitBase()
- Rw11Unit: add IsAttached(), AttachUrl()
- Rw11UnitVirt: add VirtBase()
- Rw11Virt: add Url() const getter
- RtclRw11UnitBase: add attached,attachutl getters
2017-04-16 15:16:21 +02:00
Walter F.J. Mueller
8b97e62314 ensure that defaulted scheme visible in displayed open urls
- pass default scheme to RparseUrl in Open()
- add Open() overloads for Rw11VirtDiskFile and Rw11VirtDiskOver
2017-04-16 15:12:20 +02:00
Walter F.J. Mueller
3e6b02f9cf tools/src/librw11/Rw11Cpu.cpp 2017-04-16 15:03:58 +02:00
Walter F.J. Mueller
32ccbc6347 RparseUrl: add Set() with default scheme handling 2017-04-16 14:45:20 +02:00
Walter F.J. Mueller
8956969480 RtclGet: add Tcl_Obj* getter 2017-04-16 14:44:56 +02:00
Walter F.J. Mueller
0725fcc70e BUGFIX: rlc get logfile or rlc get * crashed with segfault
- error was a type mismatch in the getter declaration in RtclRlinkConnect
- fixed by changing the return type in RlinkConnect
2017-04-09 17:26:51 +02:00