Commit graph

307 commits

Author SHA1 Message Date
StrikerX3 24627cb146 Add a secondary bus to PCI bridges. Unused for now 2018-03-18 13:35:17 -03:00
StrikerX3 f747c079a6 Synchronize accesses to i8259::HandleIRQ 2018-03-18 13:11:05 -03:00
StrikerX3 87647665c8 Make sure the thread is joinable before joining 2018-03-18 12:33:19 -03:00
darrena092 54cb6515ce Added interrupts to KVM cpu module. 2018-03-18 15:29:39 +00:00
darrena092 192ee59819 Fixed KvmCpu::HandleIO 2018-03-18 15:29:39 +00:00
darrena092 aa7fae7c0f Added IO and MMIO to kvm cpu module. 2018-03-18 15:29:39 +00:00
darrena092 eef0541a2b Fixed moving EPT identity map. 2018-03-18 15:29:39 +00:00
darrena092 3865bf0e9d More work on KVM. 2018-03-18 15:29:39 +00:00
darrena092 8ad038b3cb Some cleanup. 2018-03-18 15:29:39 +00:00
darrena092 931f41d833 More work on KVM - began work on vcpu stuff. 2018-03-18 15:29:39 +00:00
darrena092 5998d72ca9 Initial work on KVM implementation. 2018-03-18 15:29:39 +00:00
darrena092 902458c312 Fixed Linux module build and shared library loading. 2018-03-18 15:29:39 +00:00
darrena092 a712828c5e Stubbed out KVM module. 2018-03-18 15:29:39 +00:00
StrikerX3 a8592addc2 Null check IRQs 2018-03-18 12:28:34 -03:00
StrikerX3 fbdfd3ffbe Almost finished IRQ rework 2018-03-18 12:18:15 -03:00
Ivan Roberto de Oliveira bd9089d27a
Merge pull request #34 from darrena092/full-lle
Fixed Linux build
2018-03-18 11:37:47 -03:00
darrena092 d9dc993ef5 Fixed Linux build 2018-03-18 14:35:42 +00:00
StrikerX3 1465327c61 Basic ISA bus implementation 2018-03-18 00:56:47 -03:00
StrikerX3 017dd5f8ca More IRQ stuff 2018-03-18 00:23:38 -03:00
StrikerX3 8d2e621782 PCI busses can now map IRQs 2018-03-17 19:14:35 -03:00
StrikerX3 d92f8f178d More PCI stuff 2018-03-17 18:01:16 -03:00
StrikerX3 48615d2ea6 Some PCI IRQ stuff 2018-03-17 17:34:45 -03:00
StrikerX3 b1eb62a426 Removed unused macros 2018-03-17 17:10:20 -03:00
StrikerX3 fdd3df71c7 A bit of refactoring 2018-03-17 17:09:27 -03:00
StrikerX3 8176d8e5e6 Initialize GSI and IRQs 2018-03-17 17:06:32 -03:00
StrikerX3 a59446ba1b Some IRQ work 2018-03-17 17:06:09 -03:00
StrikerX3 cfa6637b02 NV2A IRQ pin is 1, not 3 2018-03-17 13:01:36 -03:00
StrikerX3 6e85e3dcd5 Add -DCPU_MODULE=kvm to Linux command line example 2018-03-16 22:48:31 -03:00
StrikerX3 d4f2f1aa47 More README updates 2018-03-16 20:38:29 -03:00
StrikerX3 31b586c1eb extern/zydis is no longer needed 2018-03-16 20:24:35 -03:00
StrikerX3 74bcacd34d Update README 2018-03-16 20:21:42 -03:00
StrikerX3 b483a03e03 Some fixes for MSVC 2018-03-16 20:16:59 -03:00
StrikerX3 3e57a3f32b Added support for Linux 2018-03-16 15:59:33 -07:00
StrikerX3 1daa9fe161 Rename Win32Serial char driver type to HostSerialPort
The same constant should be used across all platforms to represent a native serial port
2018-03-15 23:22:32 -03:00
StrikerX3 423358cb94 Use std::thread instead of a custom cross-platform thread API
Properly cleanup threads and resources

Name all emulation threads
2018-03-15 21:09:23 -03:00
Ivan Roberto de Oliveira c7cb5a73a8
Merge pull request #31 from darrena092/full-lle
Added argument for console type (retail/debug).
2018-03-15 19:19:25 -03:00
Darren Anderson 2115e12eb5 Added argument for console type (retail/debug). 2018-03-15 20:22:57 +00:00
StrikerX3 02f4be9270 NV2A refactor + fixes 2018-03-14 22:31:41 -03:00
StrikerX3 c3d414a8d2 Reduce spew log clutter a nd use %u for data sizes 2018-03-14 22:31:25 -03:00
StrikerX3 febc99a2e0 Initialize i8259 interrupt output state 2018-03-14 22:19:35 -03:00
StrikerX3 db74292a5e Use calculated PCI BAR addresses 2018-03-14 22:09:36 -03:00
Ivan Roberto de Oliveira 14796af362
Merge pull request #30 from darrena092/full-lle
Added disassembly on crash/exit.
2018-03-14 21:13:48 -03:00
Darren Anderson 3f61454d5d Fix memory leaks. 2018-03-14 22:54:33 +00:00
Darren Anderson 1dc84eb211 Delete memory buffer correctly... 2018-03-14 22:46:46 +00:00
Darren Anderson a1d195b3ec Memory buffer in disassembly is now deleted. 2018-03-14 22:43:12 +00:00
StrikerX3 6130c9b7f1 Serial port controller: discard old data when queue is full 2018-03-14 18:51:17 -03:00
StrikerX3 4110a486d5 Use 128 MiB RAM on DebugKit model 2018-03-14 18:43:28 -03:00
Darren Anderson 56c37224f3 Added disassembly on crash/cpu exit. 2018-03-14 21:20:07 +00:00
Darren Anderson 20437b73e0 Added Zydis. 2018-03-14 20:34:04 +00:00
Ivan Roberto de Oliveira 356cb7953e Fix NV2A IRQ 2018-03-14 07:51:54 -03:00