fix init to always be able to try booting from Prolog

This commit is contained in:
vscosta 2016-04-17 17:05:03 -07:00
parent 068b624fca
commit 76f4868ff6
2 changed files with 6 additions and 4 deletions

View File

@ -487,9 +487,12 @@ extern int64_t Yap_AssetSize(const char *name);
#define MaxHash 3333
#define MaxWideHash (MaxHash / 10 + 1)
#define FAIL_RESTORE 0
#define DO_EVERYTHING 1
#define DO_ONLY_CODE 2
typedef enum e_restore_t {
FAIL_RESTORE = 0,
DO_EVERYTHING = 1,
DO_ONLY_CODE = 2,
YAP_BOOT_FROM_PROLOG = 4
} restore_t;
/*************************************************************************************************
common instructions codes

View File

@ -182,7 +182,6 @@ typedef enum {
YAP_TAG_DBREF = 0x1000
} YAP_tag_t;
#define YAP_BOOT_FROM_PROLOG 0
#define YAP_BOOT_FROM_SAVED_CODE 1
#define YAP_BOOT_FROM_SAVED_STACKS 2
#define YAP_FULL_BOOT_FROM_PROLOG 4