mirror of
https://github.com/reactos/reactos.git
synced 2024-10-10 19:27:40 +00:00
fe4dcf7a00
2. move the loadimage stuff to own functions to misc.c 3. rewrite so loader call to brain* after it load the image. 4. setup main using the loader 5. add few more input param to main -in, -inexe, -in try autodetect type of file, -inexe try convert a PE file. svn path=/trunk/; revision=25272
18 lines
607 B
C
18 lines
607 B
C
|
|
#include "../misc.h"
|
|
|
|
CPU_INT DummyBrain( CPU_BYTE *cpu_buffer,
|
|
CPU_UNINT cpu_pos,
|
|
CPU_UNINT cpu_size,
|
|
CPU_UNINT BaseAddress,
|
|
CPU_UNINT cpuarch,
|
|
FILE *outfp);
|
|
|
|
/* here we put the prototype for the opcode api that brain need we show a example for it */
|
|
CPU_INT DUMMY_Add(FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
|
|
|
|
|
/* Export comment thing see m68k for example
|
|
* in dummy we do not show it, for it is diffent for each cpu
|
|
*/
|