Tony Puccinelli
|
56dd82d02c
|
removed unneccessary call to 'unloadPlugins'
svn-id: r51747
|
2010-08-05 00:28:22 +00:00 |
|
Tony Puccinelli
|
66b42d486b
|
added intermediary function 'findGameOnePlugAtATime' and switched load game and run game code to use it. Added checks for DYNAMIC_MODULES defines to the checks for NEW_PLUGIN_DESIGN_FIRST_REFINEMENT
svn-id: r51746
|
2010-08-05 00:26:46 +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
|
d889a706f2
|
gave plugin iterators more appropriate names, removed debugging printf, added comments to loadFirstPlugin and loadNextPlugin
svn-id: r51673
|
2010-08-03 01:10:36 +00:00 |
|
Tony Puccinelli
|
44d7414215
|
changed plugins so games can be added in the launcher with only one plugin loaded into memory at a time (first refinement)
svn-id: r51607
|
2010-08-02 08:43:47 +00:00 |
|
Tony Puccinelli
|
869e49d185
|
initial work on plugin design changes (already added games can be launched with only one plugin loaded at a time if you compile with a 'NEW_PLUGIN_DESIGN_FIRST_REFINEMENT' flag)
svn-id: r51502
|
2010-07-30 09:32:45 +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
|
95f66e6fb2
|
changed ds makefile to use abstracted ELF-loader with ds-specific additions added to backends/plugins/ds
svn-id: r51236
|
2010-07-24 07:14:19 +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
|
155f45cec1
|
Added linker flags to ensure R_ARM_TARGET1 is treated as R_ARM_ABS32
svn-id: r51188
|
2010-07-23 01:05:26 +00:00 |
|
Tony Puccinelli
|
8d946ab847
|
Added code for relocation R_ARM_TARGET1 (untested)
svn-id: r51130
|
2010-07-22 01:44:45 +00:00 |
|
Tony Puccinelli
|
da414e62b8
|
switched out linker script for plugin linking on ds, added in check for RELA type relocations in ARM loader and coded for REL type relocations (DS now runs many games with Dynamic Plugins enabled)
svn-id: r51083
|
2010-07-21 08:50:30 +00:00 |
|
Tony Puccinelli
|
3d3e4e6c39
|
coded for more relocations, added check for RELA type relocations, added comments
svn-id: r51048
|
2010-07-20 04:04:13 +00:00 |
|
Tony Puccinelli
|
d5f442dc6b
|
put in initial relocations for R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_V4BX
svn-id: r50942
|
2010-07-16 20:44:11 +00:00 |
|
Tony Puccinelli
|
4da73f4a38
|
added necessary #includes to loader
svn-id: r50910
|
2010-07-15 05:25:19 +00:00 |
|
Tony Puccinelli
|
e6c9dc4d6c
|
Fixed function prototype typos
svn-id: r50909
|
2010-07-15 05:07:59 +00:00 |
|
Tony Puccinelli
|
625230a8a9
|
restructured ps2loader to use Common::SeekableReadStream instead of a file descriptor
svn-id: r50903
|
2010-07-15 02:45:49 +00:00 |
|
Tony Puccinelli
|
03b188468b
|
various dsloader fixes, including initializing _symtab_sect to -1 in the header
svn-id: r50869
|
2010-07-14 03:57:36 +00:00 |
|
Tony Puccinelli
|
264cb839da
|
changed Elf32_Rela to Elf32_Rel
svn-id: r50868
|
2010-07-14 03:55:11 +00:00 |
|
Tony Puccinelli
|
6e5b0def20
|
formatting fix for dsloader.h
svn-id: r50852
|
2010-07-13 20:20:29 +00:00 |
|
Tony Puccinelli
|
4d92cefb2f
|
Changed loader to use Common::SeekableReadStream (compiles but doesn't run and needs polishing)
svn-id: r50843
|
2010-07-13 06:48:43 +00:00 |
|
Tony Puccinelli
|
9d06726b69
|
Started changing loader to use Common::SeekableReadStream
svn-id: r50839
|
2010-07-13 03:24:06 +00:00 |
|
Tony Puccinelli
|
eced5b3c82
|
removed --gc-sections linker flags so functions/data needed after run-time linking of plugins won't be mistakenly garbage-collected during building
svn-id: r50838
|
2010-07-13 03:22:42 +00:00 |
|
Tony Puccinelli
|
7335e2fc67
|
fixed dependencies/paths/etc. in arm9/makefile to get engine plugins building; changed makefile to not clean before building further engines when building all engines; fixed syntax of plugin.ld
svn-id: r50751
|
2010-07-08 21:40:26 +00:00 |
|
Tony Puccinelli
|
6c8cae3c55
|
fixed some errors in makefile for plugin linking
svn-id: r50733
|
2010-07-07 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
|
41663da282
|
moved plugin linker and elf32 header file to arm9/source and modified ds makefile to use dynamic plugins
svn-id: r50617
|
2010-07-03 05:05:27 +00:00 |
|
Tony Puccinelli
|
36435eecbf
|
moved loader to arm9/source and added it to module.mk
svn-id: r50616
|
2010-07-03 04:42:34 +00:00 |
|
Tony Puccinelli
|
ffdfd3217f
|
changed main to use DS plugin provider if dynamic modules are turned on
svn-id: r50615
|
2010-07-03 04:01:39 +00:00 |
|
Tony Puccinelli
|
0b0bc1050b
|
added ds plugin provider to module.mk
svn-id: r50613
|
2010-07-03 03:47:39 +00:00 |
|
Tony Puccinelli
|
13948b8118
|
modified default ds linker script for linking of engine plugins
svn-id: r50612
|
2010-07-03 03:46:21 +00:00 |
|
Tony Puccinelli
|
3c6ef64243
|
added ds plugin-provider
svn-id: r50588
|
2010-07-02 01:32:14 +00:00 |
|
Tony Puccinelli
|
a95b6e5c12
|
added incomplete ds loader
svn-id: r50587
|
2010-07-02 00:55:30 +00:00 |
|
Tony Puccinelli
|
82cbd13bce
|
added elf32 header for ds
svn-id: r50586
|
2010-07-02 00:39:05 +00:00 |
|
Tony Puccinelli
|
dff291f12b
|
added dumped arm-eabi linker
svn-id: r50513
|
2010-06-30 03:15:08 +00:00 |
|
Tony Puccinelli
|
54531aaf98
|
reimplemented DLObject::open
svn-id: r50467
|
2010-06-28 23:34:06 +00:00 |
|
Tony Puccinelli
|
11ee6014aa
|
removed unneccessary relocation type definitions
svn-id: r50362
|
2010-06-27 04:32:31 +00:00 |
|
Tony Puccinelli
|
fa1a1cc204
|
Makefile.wiz modified to link together plugins with the custom linker script
svn-id: r50307
|
2010-06-26 07:30:20 +00:00 |
|