Commit graph

181 commits

Author SHA1 Message Date
Tony Puccinelli
de1e941370 refined constructors, removed destructors, got rid of unneccessary method duplication in DLObject and its subtypes
svn-id: r51845
2010-08-07 22:27:23 +00:00
Tony Puccinelli
68b986545a added necessary files I forgot to commit yesterday (whoops...) for mips and arm loaders
svn-id: r51843
2010-08-07 21:47:50 +00:00
Tony Puccinelli
d6adeb9ccf took out hacky 'ifdef MIPS_TARGET' statements in DLObject's methods and instead overrode those methods in MIPSDLObject
svn-id: r51827
2010-08-07 06:15:57 +00:00
Tony Puccinelli
0712d41870 modified psp to use mips-loader.cpp (and added things to backends/module.mk)
svn-id: r51826
2010-08-07 05:01:43 +00:00
Tony Puccinelli
6982aed8a4 made MIPSDLObject and PS2 plugin provider that uses it
svn-id: r51818
2010-08-07 00:40:15 +00:00
Tony Puccinelli
646587f79a got rid of gp2xwiz loader (anything useful from it is already incorporated into the ARM loader in the plugins directory at this point) and implemented ARMDLObject as a subtype of DLObject
svn-id: r51813
2010-08-06 23:30:27 +00:00
Tony Puccinelli
66225374b2 made a couple of functions in DLObject virtual, other minor fixes/changes
svn-id: r51797
2010-08-06 20:09:16 +00:00
Tony Puccinelli
5696fde139 removed unnecessary declaration of flushDataCache() in elf-loader header
svn-id: r51794
2010-08-06 18:10:53 +00:00
Tony Puccinelli
026c9ba656 got rid of unneccessary 'extern C' section in elf-loader header and refactored arm-relocs.cpp to arm-loader.cpp
svn-id: r51793
2010-08-06 17:33:44 +00:00
Tony Puccinelli
4bed67767c added loadPlugin function into DSPlugin (doesn't use a DSDLObject yet)
svn-id: r51778
2010-08-06 06:54:44 +00:00
Tony Puccinelli
d4a4176123 added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)
svn-id: r51777
2010-08-06 06:03:34 +00:00
Tony Puccinelli
415a5aaa36 hacky way to put ELFPlugin::findSymbol in elf-provider.cpp without compiler errors
svn-id: r51775
2010-08-06 01:36:47 +00:00
Tony Puccinelli
9369c769fe Fix for mixed-up ordering of '_dlHandle->close()' and 'delete _dlHandle'
svn-id: r51773
2010-08-05 23:59:34 +00:00
Tony Puccinelli
09a41c94be Moved ELFPlugin class definition into elf-provider.h
svn-id: r51767
2010-08-05 21:48:15 +00:00
Tony Puccinelli
d1deaedc1a dealt with FIXME comments: removing superfluous checks, printfs, etc.
svn-id: r51765
2010-08-05 20:54:48 +00:00
Tony Puccinelli
520c0a4009 added checks for ELF_LOADER_TARGET before including the elf plugin provider
svn-id: r51716
2010-08-03 22:08:32 +00:00
Max Horn
9f5bcadaea Simplify code a bit, add several FIXMEs
svn-id: r51688
2010-08-03 12:45:12 +00:00
Tony Puccinelli
9be8f0a544 got rid of dlerr[MAXDLERRLEN]
svn-id: r51678
2010-08-03 07:52:10 +00:00
Tony Puccinelli
934c0b922c got rid of dlopen, dlclose, etc. wrappers
svn-id: r51677
2010-08-03 06:25:03 +00:00
Tony Puccinelli
145d8899df added some comments to shorts-segment-manager, moved main engine linker script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled
svn-id: r51447
2010-07-28 23:17:39 +00:00
Tony Puccinelli
9d236ac4d0 added check for MIPS machine type in the 'readElfHeader' method
svn-id: r51403
2010-07-28 05:18:46 +00:00
Tony Puccinelli
ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli
749d47ba26 fixed incorrect header file include
svn-id: r51399
2010-07-28 01:03:17 +00:00
Tony Puccinelli
e8fc5f2070 various manual tweaks to get ds port compiling from branch again after earlier merge from trunk
svn-id: r51398
2010-07-28 00:08:32 +00:00
Tony Puccinelli
58f3e81f00 Continued abstraction of generic ELF-loader, splitting off MIPS-processor specific things into their own files and testing on the PS2
svn-id: r51345
2010-07-27 06:27:45 +00:00
Tony Puccinelli
4e530debd2 moved flushDataCache function from ds-loader.cpp to elf-loader.cpp and moved arm-relocations from ds-loader.cpp to arm-relocs.cpp; deleted ds-loader.cpp
svn-id: r51289
2010-07-26 00:41:31 +00:00
Tony Puccinelli
5d8f4b5062 Finished initial abstraction of ELF-loader (works for DS)
svn-id: r51233
2010-07-24 02:07:35 +00:00
Tony Puccinelli
c39ca58683 renamed MIPS loader header to match file naming conventions
svn-id: r51219
2010-07-23 20:01:54 +00:00
Tony Puccinelli
7694809b3d Began abstraction of generic ELF-loader
svn-id: r51195
2010-07-23 07:49:02 +00:00
Tony Puccinelli
90e9282bf1 Added abstracted elf32 header file to plugins directory
svn-id: r51192
2010-07-23 05:15:11 +00:00
Tony Puccinelli
07faa734ce various fixes for ds dynamic plugins
svn-id: r50732
2010-07-07 01:55:11 +00:00
Tony Puccinelli
3c6ef64243 added ds plugin-provider
svn-id: r50588
2010-07-02 01:32:14 +00:00
Johannes Schickel
09b4f7cbed Define WIN32_LEAN_AND_MEAN before including windows.h.
This will cause our code to include less functionality, but might on the other hand fasten up the compilation.

svn-id: r50346
2010-06-26 21:55:52 +00:00
Tony Puccinelli
21f2775458 fixed detection of plugin filenames
svn-id: r50304
2010-06-26 04:12:09 +00:00
Tony Puccinelli
32f2ef2a13 added gp2xwiz plugin provider code
svn-id: r50299
2010-06-26 02:23:10 +00:00
Tony Puccinelli
75c3c8bbae changed PS2 to GP2X.
svn-id: r50159
2010-06-22 18:33:17 +00:00
Tony Puccinelli
6c10a0062a added wiz plugins provider header
svn-id: r50132
2010-06-21 22:33:30 +00:00
Yotam Barnoy
3c857be0c5 PSP: switched loader to use PSP's debug mechanism
svn-id: r50111
2010-06-21 11:51:19 +00:00
Tony Puccinelli
95e56f2052 merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
2010-06-05 01:05:19 +00:00
Tony Puccinelli
f307436240 added svn keywords 'Id' and 'URL' to new files
svn-id: r49283
2010-05-28 00:57:54 +00:00
Tony Puccinelli
0fdfd5d47b added files for ps2 loadable modules (mainly transplanted from psp code with VERY minor tweaks)
svn-id: r49256
2010-05-27 05:03:09 +00:00
Tony Puccinelli
fab28cb74b minor initial commit for ps2 plugins. Added ps2-provider code
svn-id: r49253
2010-05-26 23:22:45 +00:00
Max Horn
9015be8165 Also remove Win32PluginProvider::addCustomDirectories, as it obviously isn't being used
svn-id: r48304
2010-03-19 13:55:25 +00:00
Max Horn
23547d6041 DC: Removing unneeded DCPluginProvider::addCustomDirectories
svn-id: r48301
2010-03-19 13:46:59 +00:00
Yotam Barnoy
b9d876e23a PSP: removed unneeded overload of addCustomDirectories()
svn-id: r48299
2010-03-19 11:55:18 +00:00
Max Horn
ad8584d25c One more try to make DC & PSP compile again
svn-id: r48290
2010-03-18 20:19:58 +00:00
Max Horn
156a106ebc Trying to fix compilation (porters should review these changes, seems I uncovered some lurking old breakage)
svn-id: r48289
2010-03-18 16:53:20 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00
Joost Peters
7bf181bf98 Slightly modified version of patch #2875544: PSP plugins patch
svn-id: r44822
2009-10-09 12:10:08 +00:00
Max Horn
de8fa39b25 Fix for bug #2548995: AmigaOS4: Compiler error (and taking care of some potential errors in WinCE & GP2x, too)
svn-id: r36146
2009-01-30 14:26:34 +00:00