Commit graph

172 commits

Author SHA1 Message Date
Matthijs ter Woord
e030f5b850 Progress. 2015-08-05 17:32:32 -04:00
Matthijs ter Woord
2762604cbc More progress 2015-08-05 14:58:57 -04:00
Matthijs ter Woord
1d9c648691 Seem to be there. Merging follows. 2015-08-02 09:46:47 -04:00
Matthijs ter Woord
ac674008e4 More compiler fixes for new memory model. 2015-08-01 14:52:14 -04:00
Matthijs ter Woord
d2db318dc1 Progress. Most stuff seems to work now. 2015-08-01 13:48:25 -04:00
Matthijs ter Woord
422d6a56b8 Starting to work now. 2015-08-01 09:22:35 -04:00
Matthijs ter Woord
f54d7ace72 More progress 2015-08-01 09:04:35 -04:00
Matthijs ter Woord
4274bc52ac More progress. 2015-07-31 13:11:51 -04:00
Matthijs ter Woord
73758c2643 Ongoing memory work. 2015-07-31 12:46:07 -04:00
Matthijs ter Woord
be0ace5c62 - Turns out the VMT table was not generated correctly: the _Handle datamember wasn't pointing to the actual data area
- small bugfix in heap.
2015-07-31 11:51:27 -04:00
Matthijs ter Woord
675ce71d10 Ongoing work. 2015-07-31 08:34:28 -04:00
Matthijs ter Woord
630118f4c9 Fixed an issue with VMT initialization. 2015-07-29 20:13:40 -04:00
Matthijs ter Woord
e91b500738 . 2015-07-29 18:58:42 -04:00
Matthijs ter Woord
7a35344202 More work on memory 2015-07-29 15:35:47 -04:00
Matthijs ter Woord
d6167d6e00 - Add extra logging to GlobalSystemInfo and Heap
- Fixed ldstr and string sending with memory handles
2015-07-29 10:44:52 -04:00
Matthijs ter Woord
7858e43584 Ongoing work on memory 2015-07-28 20:18:14 -04:00
Matthijs ter Woord
b56ce24f52 Merge branch 'master' into memory_handles
Conflicts:
	Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2015-07-28 16:30:05 -04:00
Matthijs ter Woord
fa4da67ff0 Ongoing debugger work. 2015-07-28 11:51:11 -04:00
Matthijs ter Woord
c1c3782770 Code reformat 2015-07-26 19:04:07 -04:00
Matthijs ter Woord
16f3dab45a I think the default Heap allocates handles now. 2015-07-26 18:37:09 -04:00
Charles Betros
2e4e0dd370 Added a test kernel for boxing.
Moved Char Plug to Cosmos.System.Plugs
Added FAT writing. (Doesn't work yet.)
2015-07-24 17:52:44 -05:00
Matthijs ter Woord
66d1597746 . 2015-07-23 16:48:34 -04:00
Matthijs ter Woord
ae4600a0ee Compilation seems fixed now. Still testing debugger. 2015-07-23 12:33:58 -04:00
Matthijs ter Woord
c340812392 Stack corruption bug is fixed now. Now still need to fix tests. 2015-07-23 12:24:54 -04:00
Matthijs ter Woord
c80eb38c8a Reformat 2015-07-23 12:04:48 -04:00
Matthijs ter Woord
9171a3de35 . 2015-07-23 11:58:30 -04:00
Matthijs ter Woord
1154900a9b Ongoing fixes 2015-07-23 11:26:39 -04:00
Matthijs ter Woord
67f06011e0 Implement simple branching for 8-byte operands. 2015-07-22 21:39:18 -04:00
Matthijs ter Woord
d827212e4a Ongoing VS2015 work. 2015-07-22 21:23:55 -04:00
Matthijs ter Woord
befe55c72b Add local and argument info on plugged method. argument info is handy there (locals not so much) 2015-07-18 02:19:28 +02:00
CSharpLover
9911ada17a Update links for github 2015-07-04 18:24:31 +03:00
Matthijs ter Woord
732a3e2a3a More fixes to stack reservation. We were assuming that there was space reserved for return value, while it shouldn't in all cases. 2015-07-04 12:46:28 +02:00
Matthijs ter Woord
cba227747b Reformat code 2015-07-03 20:49:46 +02:00
Matthijs ter Woord
8eaee43bc0 Small compiler fix. 2015-07-01 20:28:31 +02:00
Matthijs ter Woord
f2f539eebb Now the rings check also makes sure the kernel dll is ring User. 2015-07-01 19:47:21 +02:00
Matthijs ter Woord
cb5aae2c00 Ongoing adding of tests, fixing of IL interpreter. 2015-06-27 18:33:52 +02:00
Matthijs ter Woord
09e9a3abcb Ongoing fixes. 2015-06-27 18:07:58 +02:00
Matthijs ter Woord
e80a1d6d07 Fixes #137 2015-06-27 18:05:12 +02:00
Matthijs ter Woord
68282aa557 Keyboard works. Next is enabling code that should be enabled, and removing debug code. 2015-06-17 20:09:37 +02:00
Matthijs ter Woord
44cdc7dc61 Other fixes. 2015-06-16 18:35:46 +02:00
Matthijs ter Woord
a8d39ced64 Fix ldelem for non-4 byte aligned elements. 2015-06-07 17:17:32 +02:00
Matthijs ter Woord
7c991e5ca6 Improve IL interpreter. Ldobj knows what type it pushes. 2015-06-07 17:17:16 +02:00
Matthijs ter Woord
bd93b5e272 Fix some IL interpreter logging statements and other small debugging fixes. 2015-06-07 17:17:01 +02:00
Matthijs ter Woord
56edbce9b6 Merge remote-tracking branch 'origin/master' into keyboard-work 2015-06-07 12:39:13 +02:00
Matthijs ter Woord
63d83a683d Fix int64 divide. 2015-06-07 12:37:02 +02:00
Matthijs ter Woord
32a41216f7 . 2015-05-27 18:36:58 +02:00
Matthijs ter Woord
c205ec054d Merge master. 2015-05-27 18:36:40 +02:00
Matthijs ter Woord
11e8b95b9c Merge remote-tracking branch 'origin/ldelem-fixes' 2015-05-26 19:57:42 +02:00
Matthijs ter Woord
da1feb890a Fixes to ldelem. Fixes #119 2015-05-26 19:56:54 +02:00
Andrey Kurdyumov
c26d29d113 Use shared code where possible 2015-05-26 22:42:47 +06:00
Geramy L. Loveless
548a71a4fb Fixed compile error
I have fixed the compiler error.
We called Assemble twice causing the compilation of two of the same
instruction sets.
2015-05-25 22:51:08 -07:00
Matthijs ter Woord
0af76c627e Initial fix for #119. This doesn't work yet. 2015-05-25 20:03:33 +02:00
Matthijs ter Woord
6cadd58f24 Small fix to editorconfig 2015-05-25 19:57:21 +02:00
Matthijs ter Woord
dd93b7d2b9 Initial keyboard work. Does not work due to bug in the compiler. (Ldelem_ref) 2015-05-24 16:33:21 +02:00
Matthijs ter Woord
243417857e Add plug for UIntPtr.ToString 2015-05-22 17:20:35 +02:00
zdimension
bd9bf0884c Update AppAssemblerRingsCheck.cs 2015-05-22 13:41:20 +02:00
zdimension
03e4266a3b Added Console colors to the Cosmos.System.Console class and modified the plugs calls. Now Console.ForegroundColor and Console.BackgroundColor are working again! 2015-05-22 13:37:08 +02:00
Matthijs ter Woord
bfe5d73ba2 Several compiler fixes. 2015-05-10 19:04:20 +02:00
Matthijs ter Woord
37b2451193 A little bit code documentation 2015-05-10 15:34:23 +02:00
Matthijs ter Woord
906b554f17 Re-enable the ExceptionOccurred label. 2015-05-10 15:31:31 +02:00
Matthijs ter Woord
8268084c23 Compilation fix. 2015-05-09 11:15:32 +02:00
Matthijs ter Woord
08f62aa561 Merge pull request #56 from kant2002/Issue-9
Compilation improvements.
2015-05-08 19:50:06 +02:00
Matthijs ter Woord
1c22489404 Merge pull request #78 from kant2002/vs2015
Support for Vs2015
2015-05-08 19:42:38 +02:00
Andrey Kurdyumov
e8de8ad44d Update Mono.Cecil to 0.9.6.1
Nuget used for delivering dependencies
2015-05-08 22:40:52 +06:00
Joshua Zenn
6142448d73 Update OpNone.cs 2015-05-08 08:28:53 -04:00
Matthijs ter Woord
1ef59b5246 Merge branch 'pr/84' 2015-05-07 18:29:58 +02:00
Andrey Kurdyumov
4509dd0f81 Fix String switch on Roslyn 2015-05-07 21:15:08 +06:00
Joshua Zenn
bcc07b0951 Added Ldobj OpType 2015-05-07 08:29:01 -04:00
Andrey Kurdyumov
fec99ddb25 Change UInt64 to long
This is due to inability Dapper handle UInt64 with SQLite
2015-05-07 12:50:06 +06:00
Andrey Kurdyumov
6080592f99 Separate index and tables creation
This separation allows don't pay penalty for each insert during compilation phase.
Indexes created at the last step of the compilation process.
For profiler application indexes created together with tables.
2015-05-07 12:50:05 +06:00
Andrey Kurdyumov
c76c477ed6 Improved compilation speed by changing Guid to ulong 2015-05-07 12:41:05 +06:00
Matthijs ter Woord
277d87e3ef Code cleanup. 2015-05-05 10:44:54 +02:00
Matthijs ter Woord
7c8b0f732f Normally, you don't want to use LoadFile, as it always loads that file, even if the same assembly has been loaded from a different folder. Can give weird issues with reflection. 2015-05-05 10:44:00 +02:00
Matthijs ter Woord
1fe9f52dbe uniform formatting. 2015-04-20 18:55:40 +02:00
Matthijs ter Woord
e99e9ffad9 Merge pull request #77 from PathogenDavid/master
Added stobj stack push/pop information to OpType and some other smaller changes.
2015-04-20 18:49:51 +02:00
David Maas
c0579322c1 Hacked in showing types in call trace outputs when a plug is missing. (Rather than seeing "Void Run()" you see "Cosmos.Kernel::Void Run()", not ideal but it works.) 2015-04-20 10:41:58 -05:00
David Maas
77f741a127 Added stobj's stack push/pop information to OpType. Re-added PCSpeaker.cs to Cosmos.HAL. 2015-04-20 10:40:39 -05:00
unknown
53d7432fa0 Modifying my user kernel to test VMT. 2015-04-17 12:37:29 -05:00
Matthijs ter Woord
2827b63be0 scanner log works again. 2015-03-15 17:02:47 +01:00
Matthijs ter Woord
cd17b19ce4 Disable more edison testing code. 2015-02-26 18:11:48 +01:00
Matthijs ter Woord
ff963d65a0 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
Conflicts:
	source/Cosmos.IL2CPU/AppAssembler.cs
2015-02-26 18:07:30 +01:00
unknown
038d25070e Removed some debug code. 2015-02-11 11:32:33 -06:00
Matthijs ter Woord
07cdafbedd Ongoing edison work 2015-02-03 19:46:10 +01:00
Matthijs ter Woord
a1cdb6f983 remnove debug code. 2015-02-03 18:08:23 +01:00
Matthijs ter Woord
274f0353ed Ongoing changes. 2015-02-01 16:52:00 +01:00
Andrey Kurdyumov
fd5d2ae3db Add formatting 2015-01-18 19:46:48 +06:00
Andrey Kurdyumov
2d817c5e6d Add plug for Buffer.__Mmmove on the .NET 4.6 2015-01-18 19:41:30 +06:00
Matthijs ter Woord
bbe9d4fe08 Add extra tracing code
It seems there's a bug in the GetMethodAddressForType method. This extra code should break if it's the emitted content that's wrong..
2015-01-07 19:18:24 +01:00
Matthijs ter Woord
36ec5751d9 More subtle code changes. 2015-01-04 17:54:48 +01:00
Matthijs ter Woord
f7a52eff50 Fix compilation. 2015-01-03 10:53:42 +01:00
Matthijs ter Woord
47d4d3f782 Ongoing work for enabling compiler extensions. 2015-01-03 09:30:10 +01:00
Matthijs ter Woord
a61d93e438 Refactorings related to compiler. 2015-01-02 13:56:52 +01:00
Matthijs ter Woord
e614a95df5 Sending information to the Console window works now! 2014-12-31 17:49:53 +01:00
Matthijs ter Woord
24ba16eb26 Some refactorings.. 2014-12-27 16:38:21 +01:00
Matthijs ter Woord
c159e8018c some fixes related to static fields and structs. 2014-12-22 11:11:47 +01:00
Matthijs ter Woord
d15b021506 fix compilation. 2014-12-22 10:55:30 +01:00
Matthijs ter Woord
3da990696e Merge branch 'master' of https://github.com/CosmosOS/Cosmos
Conflicts:
	source/Cosmos.IL2CPU/ILScanner.cs
2014-12-21 10:29:32 +01:00
Matthijs ter Woord
35c2427d4d . 2014-12-21 10:28:05 +01:00
Sentinel209
3a3ac8bf79 Added Ldsflda and fixed issue with multiple inheritance and interfaces. 2014-12-20 22:48:16 -06:00
Matthijs ter Woord
0ebc0fbd48 Not sure what the optimizer does. For now, lets disable it. 2014-12-20 18:15:40 +01:00