Commit graph

2601 commits

Author SHA1 Message Date
Andrey Kurdyumov
e2604733f2 Cache label names generation
Caching of label names improve performance a bit, since Regex in the Final method is expensive and takes ~7% of IL2CPU time.
2015-05-07 12:50:04 +06:00
Andrey Kurdyumov
b235faa3d6 Add application which perform similar task as ExtractMapFromElfFile
This application is used for the performance tuning of the execution process.
2015-05-07 12:50:03 +06:00
Andrey Kurdyumov
bdb3564e3f Extract MSBuild task code to the shared library.
This change is required to be able create executable which would be used for the performance measurements.
2015-05-07 12:41:08 +06:00
Andrey Kurdyumov
cb8e43c36b Use ULong in the database model. 2015-05-07 12:41:07 +06:00
Andrey Kurdyumov
eb8c55c597 Cache default mnemonics for assemblies.
This will speedup creation of the assembly instructions, since we do that a lot.
2015-05-07 12:41:06 +06:00
Andrey Kurdyumov
c76c477ed6 Improved compilation speed by changing Guid to ulong 2015-05-07 12:41:05 +06:00
Matthijs ter Woord
ffc0b969b3 Merge branch 'Issue-42' of git://github.com/kant2002/Cosmos-1 into kant2002-Issue-42 2015-05-05 13:42:25 +02: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
a2a2a4c0b9 Add printing the exact arguments to il2cpu.exe, to ease debugging of the kernel. 2015-05-05 10:20:26 +02:00
Charles Betros
251e4f22bb Renamed some project files in my kernel. 2015-05-02 21:23:31 -05: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
01ef7bcc23 - Refactoring of debugstub: now reading/writing of UART registers is isolated in 2 methods. Easier replacing.
- misc changes to aid in development.
2015-03-07 19:23:14 +01:00
Matthijs ter Woord
cd17b19ce4 Disable more edison testing code. 2015-02-26 18:11:48 +01:00
Matthijs ter Woord
e14778b4e3 remove edison testing code. 2015-02-26 18:10:15 +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
Andrey Kurdyumov
806470870d Saving BinFormat under common properties. 2015-02-11 01:38:22 +06:00
Andrey Kurdyumov
a89cb710c7 Add bin format 2015-02-08 22:57:16 +06:00
Matthijs ter Woord
07cdafbedd Ongoing edison work 2015-02-03 19:46:10 +01:00
Matthijs ter Woord
2c7c580b9f small fixes in debugstub. 2015-02-03 18:44:46 +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
Matthijs ter Woord
a4ee9fe561 Enable assembler log 2015-02-01 14:00:41 +01:00
Matthijs ter Woord
2a0de71240 Progress on edison. 2015-01-30 18:24:13 +01:00
Matthijs ter Woord
90169ed6ef Merge pull request #52 from kant2002/Issue-50
Don't report output from NAsm as error in case of warnings
2015-01-23 13:53:08 +01:00
Andrey Kurdyumov
b7b965ecb0 Fix resolution of references inside solution folder. 2015-01-23 17:26:26 +06: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
Andrey Kurdyumov
c2119d6c31 Changed GUID for debug engine
Current GUID was conflicting with existing tools and a lot of examples on the Internet
Relates to #51
2015-01-15 18:15:13 +06:00
Andrey Kurdyumov
711826daf6 Don't report output from NAsm as error in case of warnings
IL2CPU task modified to keep current behaviour
2015-01-15 17:26:37 +06:00
Matthijs ter Woord
f5fa59f1cd Compile fix for clean environments. 2015-01-11 12:34:14 +01:00
Matthijs ter Woord
59c6a92a12 Comment out debugging code. 2015-01-09 11:07:48 +01:00
Matthijs ter Woord
d638b4ff8b Disable debugging code. 2015-01-09 11:06:08 +01: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
c2df4af80e Edison booting now automatically boots the kernel via serial. 2015-01-04 12:16:39 +01:00
Matthijs ter Woord
d84af75276 Ongoing changes. changing cosmos debug port works now. 2015-01-03 11:19:01 +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
80bd540e8a Merge branch 'master' of https://github.com/CosmosOS/Cosmos into pr/41 2015-01-02 13:09:30 +01:00
Matthijs ter Woord
8a5d0395f7 Code cleanup 2015-01-02 12:27:53 +01:00
MyvarHD
6b6a40343e Fixed dubble massagees on debug issues #12 2015-01-02 10:40:39 +02:00
Matthijs ter Woord
71647fa672 Ongoing changes 2015-01-01 13:25:25 +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
100293f70a Debugstub variable is called differently. 2014-12-31 14:00:26 +01:00
Matthijs ter Woord
4834e897f6 Fixes after the IL2CPU.exe introduction:
- remove debug files
- exception handling in IL2CPU.exe, with exit codes
- setup fixed
2014-12-31 13:46:44 +01:00
Matthijs ter Woord
aef0d59e93 Merge pull request #39 from MyvarHD/master
Added the IL2CPU.exe
2014-12-31 13:16:14 +01:00
Matthijs ter Woord
b586f58c48 muxing wors completely now (one way) 2014-12-31 13:14:14 +01:00
Matthijs ter Woord
14856e4afc muxing works now. 2014-12-31 12:36:51 +01:00
Matthijs ter Woord
507365dad6 Ongoing work for making serial console working. 2014-12-30 18:42:01 +01:00
MyvarHD
76002f74e4 Fixed il2cpu.exe install bug 2014-12-29 18:52:45 +02:00
MyvarHD
890631162a fixed some basic things 2014-12-29 12:11:27 +02:00
MyvarHD
1f4e3b13c5 moved il2cpu to compiler 2014-12-29 11:35:29 +02:00
MyvarHD
ec4eb484ab Added time took message 2014-12-27 22:47:49 +02:00
MyvarHD
b1ccde00c1 Forgot to commit the new project 2014-12-27 22:40:21 +02:00
MyvarHD
bc8cab17a4 Added the functunality to call the IL2CPU from Command line 2014-12-27 22:38:30 +02:00
Matthijs ter Woord
563431dc21 Compile fixes and changes to consts. 2014-12-27 17:14:12 +01:00
Matthijs ter Woord
6643a9c4db Merge branch 'master' of https://mterwoord@github.com/CosmosOS/Cosmos.git 2014-12-27 16:39:44 +01:00
Matthijs ter Woord
24ba16eb26 Some refactorings.. 2014-12-27 16:38:21 +01:00
Phil Garcia
407d15c8d9 - Resolves issue with GIT constantly thinking this file has changed. 2014-12-25 09:40:29 -08:00
Sentinel209
ad1b08bc74 Merge remote-tracking branch 'origin/master' 2014-12-23 11:51:53 -06:00
Sentinel209
2a7fa50258 Added some tests for interfaces. 2014-12-23 11:43:03 -06:00
Matthijs ter Woord
94f607f30b Make Kernel.Start virtual, so it's possible to override.. 2014-12-23 11:43:39 +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
bf9bd10c0e Merge pull request #22 from tgiphil/mkisofs-merged
Use mkisofs to create ISO file
2014-12-21 12:30:28 +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
Matthijs ter Woord
848fbd4479 Small perf improvements. 2014-12-20 17:41:53 +01:00
Matthijs ter Woord
b882bb6c02 Performance improvements. 2014-12-20 17:36:45 +01:00
Matthijs ter Woord
50109802ba Small performance improvements. 2014-12-20 17:02:06 +01:00
MyvarHD
906c5565b5 Added unbox opcode 2014-12-20 17:48:59 +02:00
Matthijs ter Woord
9387a05429 add extra tracing. 2014-12-20 16:41:34 +01:00
MyvarHD
aba52738b2 Merge pull request #1 from CosmosOS/master
update
2014-12-20 17:41:22 +02:00
Matthijs ter Woord
f5e5bba37e Message should be printed more correct 2014-12-20 15:44:13 +01:00
Matthijs ter Woord
0c3cc1cbb2 Log is now used for testing as well. 2014-12-20 15:02:13 +01:00
Matthijs ter Woord
794f843aa7 Added first automated compiler test. 2014-12-20 14:47:43 +01:00
MyvarHD
72c97ee6d7 Fixed tab order of options page 2014-12-20 15:46:09 +02:00
Matthijs ter Woord
a3474bcde6 begin with testing harness for compiler. 2014-12-20 11:59:15 +01:00
Matthijs ter Woord
ac3d16bfbe no message 2014-12-20 11:55:41 +01:00
Matthijs ter Woord
ae97e3107d Merge pull request #30 from MyvarHD/master
Added My userfile and patched UnBox_Any op code
2014-12-20 11:52:54 +01:00
MyvarHD
6e9451531e Addded StackPushTypes chaneg in Unbox_Any case 2014-12-20 12:50:50 +02:00
MyvarHD
caa56e5b54 Added My userfile and ptached UnBox_Any op code 2014-12-20 12:35:08 +02:00
Matthijs ter Woord
dfdc58ee53 Improved cpu exception tracing. 2014-12-19 20:02:59 +01:00
Matthijs ter Woord
6a3cd41554 Add extra playground libraries. 2014-12-14 16:14:17 +01:00
Phil Garcia
8ad6a7458a - Use mkisofs to create ISO file 2014-12-07 10:19:48 -08:00
Phil Garcia
447c050873 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into mkisofs-merged
Conflicts:
	.gitignore
2014-12-07 10:10:13 -08:00
Phil Garcia
ca7b9aa697 - Use mkisofs to create ISO file 2014-12-07 10:04:46 -08:00
Matthijs ter Woord
2099f75db7 it should be possible to access private static fields in plugs now.. 2014-12-07 16:32:49 +01:00
Matthijs ter Woord
145b2e78b1 Udp sending works now. 2014-12-07 15:44:32 +01:00
Phil Garcia
0cf75a801a - Updated IsoMaker.cs 2014-12-07 06:07:50 -08:00