payload changes

This commit is contained in:
2020-02-09 11:11:42 -05:00
parent 83ca059295
commit e341d51bf9
10 changed files with 111 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ typedef enum
PAYLOAD_AES_BUSY,
PAYLOAD_AES_SW,
PAYLOAD_BOOTSTRAP,
PAYLOAD_EXIT_USB_TASK,
PAYLOAD_FLOPPYSLEEP,
PAYLOAD_SYNC,
PAYLOAD_SYSREG,

View File

@@ -48,6 +48,11 @@ struct payload *get_payload(PAYLOAD_T p)
len = PAYLOAD_BOOTSTRAP_SZ;
break;
case PAYLOAD_EXIT_USB_TASK:
pl = payload_exit_usb_task;
len = PAYLOAD_EXIT_USB_TASK_SZ;
break;
case PAYLOAD_FLOPPYSLEEP:
pl = payload_floppysleep;
len = PAYLOAD_FLOPPYSLEEP_SZ;