init.hh (5522:e56c3d89be79) | init.hh (7502:3ef7ff12c788) |
---|---|
1/* 2 * Copyright (c) 2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32#define __SIM_INIT_HH__ 33 34/* 35 * Data structure describing an embedded python file. 36 */ 37struct EmbeddedPyModule 38{ 39 const char *filename; | 1/* 2 * Copyright (c) 2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 23 unchanged lines hidden (view full) --- 32#define __SIM_INIT_HH__ 33 34/* 35 * Data structure describing an embedded python file. 36 */ 37struct EmbeddedPyModule 38{ 39 const char *filename; |
40 const char *abspath; |
|
40 const char *modpath; 41 const char *code; 42 const char *code_end; 43 int zlen; 44 int mlen; 45}; 46 47extern const EmbeddedPyModule embeddedPyImporter; 48extern const EmbeddedPyModule embeddedPyModules[]; 49 50void initSignals(); 51int initM5Python(); 52int m5Main(int argc, char **argv); 53 54#endif // __SIM_INIT_HH__ | 41 const char *modpath; 42 const char *code; 43 const char *code_end; 44 int zlen; 45 int mlen; 46}; 47 48extern const EmbeddedPyModule embeddedPyImporter; 49extern const EmbeddedPyModule embeddedPyModules[]; 50 51void initSignals(); 52int initM5Python(); 53int m5Main(int argc, char **argv); 54 55#endif // __SIM_INIT_HH__ |