Add genericised image handling and implement in DoRxdPwr

This commit is contained in:
Gareth Evans
2017-02-01 23:44:00 +00:00
parent 94aae7544b
commit 93aa2e472a
7 changed files with 357 additions and 37 deletions

View File

@@ -35,6 +35,7 @@ double version = 2.95;
#include "models/itwom3.0.hh"
#include "models/los.hh"
#include "models/pel.hh"
#include "image.hh"
int MAXPAGES = 64;
int ARRAYSIZE = 76810;//76810;
@@ -1210,6 +1211,14 @@ int main(int argc, char *argv[])
}
}
if (strcmp(argv[x], "-so") == 0) {
z = x + 1;
if(image_set_library(argv[z]) != 0){
fprintf(stderr,"Error configuring image processor\n");
exit(EINVAL);
}
}
if (strcmp(argv[x], "-rt") == 0) {
z = x + 1;