Commit graph

2654 commits

Author SHA1 Message Date
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
40a5b7bc00 Extract running SQL from the resource
in the separate assembly. This allow breaking of the SQLite.sql into separate pieces later.
2015-05-07 12:50:04 +06:00
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
Matthijs ter Woord
1b4627a310 arp messages are now sent correctly. 2014-12-07 14:27:28 +01:00
Matthijs ter Woord
fb937c395d print more info on screen when CPU exception 6 (Invalid Opcode) occurs.. 2014-12-06 20:01:15 +01:00
Matthijs ter Woord
70b250c627 Add more NullReference checks in compiler. 2014-12-06 19:38:09 +01:00
Matthijs ter Woord
d01251657f Progress on networking 2014-12-06 15:47:37 +01:00
Matthijs ter Woord
27f55f6135 networking code builds now. 2014-12-06 14:27:02 +01:00
Matthijs ter Woord
4d76fbb058 start with networking. 2014-12-06 13:57:53 +01:00
Matthijs ter Woord
5f2a31d455 Move Pci stuff to Cosmos.HAL. 2014-12-06 13:36:57 +01:00
Matthijs ter Woord
6d92015618 - refactoring to allow reuse of method generation inside property accessors generation
- property accessors generation
2014-12-06 11:38:08 +01:00
Matthijs ter Woord
f5cebe5228 Now able to generate method plugs as well. 2014-12-06 10:59:28 +01:00
Matthijs ter Woord
fe639aa340 Start with ILSpy plugin to generate plug code. 2014-12-06 10:35:51 +01:00
Matthijs ter Woord
486601b814 rings are not fully enforced. this means that only core ring (0) can contain assembler plugs. 2014-12-05 20:40:26 +01:00
Matthijs ter Woord
af46aa7959 - cleanup
- ring enforcement works now, but only based on the attributes.
2014-12-05 19:57:17 +01:00
Matthijs ter Woord
c89faefc2d performance improvement: prevent exceptions. 2014-12-05 16:38:06 +01:00
Matthijs ter Woord
7c4a29b6f6 Rings verification
- add ring attribute and marking to kernel libraries
2014-12-05 16:02:06 +01:00
Matthijs ter Woord
b25a21dc89 Add compilation performance logging. 2014-12-05 15:45:48 +01:00
tgiphil
2396fb372f Merge branch 'catchup' into RemoveMOSA 2014-12-05 01:46:44 -08:00
tgiphil
2e6a435580 - Removed Mosa's ISO generator (no longer supported) 2014-12-05 01:27:08 -08:00
tgiphil
078e147aa3 - Removed old ..svnbridge directories 2014-12-04 23:46:56 -08:00
tgiphil
74c1dc4cde - Removed *.vspscc files 2014-12-04 23:11:34 -08:00
tgiphil
f7c0fea4b4 - Removed TFS parameters in solution files 2014-12-04 23:07:35 -08:00
Phil Garcia
a2d65230fb - Commit 110309 by Sentinel209 2014-12-04 21:11:46 -08:00
Phil Garcia
d6fbf5341e - Removed user specific *.user and *.vsscc files 2014-12-04 20:10:08 -08:00
Sentinel209_cp
c591a7ff1b Reorganize source: Everything is out of source2 now and the soutions are cleaned up. 2014-11-28 00:48:23 +00:00
Sentinel209_cp
184d98e9ab Reorganizing source: Remove empty folders and move unused projects. 2014-11-26 17:44:34 +00:00
Sentinel209_cp
1a2f83dc84 Reorgaizing source: Assembler, Build, Debug, Deploy, VSIP 2014-11-26 03:43:20 +00:00
Sentinel209_cp
e851d3efcb Reorganizing code: Moved Build and Compiler. 2014-11-26 01:13:58 +00:00
Trivalik_cp
22ce5fe6f5 Build.sln: fix path to XSharp.VS, because if you opened a xs file in VS there comes a MessageBox with information about this missing dll 2014-11-23 22:20:03 +00:00
Trivalik_cp
0d48ff151f Cosmos.Build.Builder: add -NOCLEAN, to reduce build time, as long as no big change is made, it is save to use, no my pc is it 1/3 lesser, the argument has to add manually into install.bat
Ldsfld, Stsfld: comment out unused code, and removes warnings on build
2014-11-19 09:31:25 +00:00
Trivalik_cp
211d28f626 CosmosTask: fix inno setup input file from last checkin 2014-11-16 13:23:34 +00:00
Trivalik_cp
9b839d22d5 CosmosTask: revert change not createing a new iss file, this is important that task can work with different changeset, renamed now that every one understand the purpose
add check that on debug builder with VS is the builder not checking for VS it self
don't use userkit.iss we use now current.iss to reduce confusion
2014-11-16 13:09:44 +00:00
Trivalik_cp
184c5bbe36 CosmosTask: split cleanup, cleanup of install directory is normally not needed because inno setup does it already, what do you think?
the delayed cleanup of install directory allows to start VS and create cosmos kernel in case build fails
2014-11-12 19:52:56 +00:00
Trivalik_cp
131767a55f CosmosTask.cs: remove need of 3.5 framework, for build is it not needed at all
rename wrong method names and comments
Code.inc: give different error on missing VS 2013 installation, because if integrated shell is install it will allow installation
VMware.cs: add check for Hyper V Service, if this is enabled, we should not start vmware, because it say an error (i.e. Windows 10)
Cosmos.Debug.VSDebugEngine.csproj: add reference to able to use ServiceController
2014-10-16 20:22:33 +00:00
Sentinel209_cp
5e26a7e5c4 Getting locals and primitive fields to work in the debugger. 2014-09-25 13:21:22 +00:00
Trivalik_cp
43f26fe1d1 start CosmosSetup task also if no power supply is on laptop 2014-07-28 20:23:10 +00:00
Trivalik_cp
81e4ca6917 handle crash in Builder if UAC dialog is confirmed with "Cancel" 2014-07-28 18:45:54 +00:00
kudzu_cp
71af6ca460 2014-07-23 15:56:06 +00:00
jonathonchase_cp
08b776746b Skip VSIX file creation because it's slow and unused in XShap.VS, Cosmos.Vs.Package and Cosmos.VS.Windows 2014-07-19 13:18:55 +00:00
mterwoord_cp
8fcd0d7385 2014-07-15 15:05:23 +00:00
kudzu_cp
29f5cd8df5 2014-07-14 22:04:21 +00:00
kudzu_cp
a2be60409a 2014-07-14 22:04:12 +00:00
kudzu_cp
296d17b1ca 2014-07-14 22:03:28 +00:00
kudzu_cp
ffe5ac385c 2014-07-14 18:22:33 +00:00
kudzu_cp
be7f469d6a 2014-07-14 18:07:08 +00:00
mterwoord_cp
e9fc03edd5 2014-07-14 17:44:37 +00:00
kudzu_cp
7f93aabcc5 2014-07-14 17:05:13 +00:00
kudzu_cp
288052b34a 2014-07-14 17:04:26 +00:00
kudzu_cp
14aff92d17 2014-07-14 16:59:07 +00:00