]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/include/asm/state.h
sandbox: Add options to clean up temporary files
[karo-tx-uboot.git] / arch / sandbox / include / asm / state.h
index 56bd9a07b62c7e95292f5767d3c7f0e6bb79ab0b..d17a82e90fcaab037057531ffef881e41b85525b 100644 (file)
@@ -54,10 +54,11 @@ struct sandbox_state {
        const char *parse_err;          /* Error to report from parsing */
        int argc;                       /* Program arguments */
        char **argv;                    /* Command line arguments */
-       bool jumped;                    /* Jumped from previous U_Boot */
+       const char *jumped_fname;       /* Jumped from previous U_Boot */
        uint8_t *ram_buf;               /* Emulated RAM buffer */
        unsigned int ram_size;          /* Size of RAM buffer */
        const char *ram_buf_fname;      /* Filename to use for RAM buffer */
+       bool ram_buf_rm;                /* Remove RAM buffer file after read */
        bool write_ram_buf;             /* Write RAM buffer on exit */
        const char *state_fname;        /* File containing sandbox state */
        void *state_fdt;                /* Holds saved state for sandbox */