X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fcommon%2Fps3.h;h=c7a0c48190c0aa660f6ae54444220b427ba8d1c9;hb=e74391b7d8ec47b41315e7c2ce6b4b0a9ad139fe;hp=8a7fe1cf539506865c90a71a973d25a7b33449d4;hpb=ea45e832b0d3e4a6e8c63f6a1c4741795b0b33dd;p=petitboot diff --git a/ui/common/ps3.h b/ui/common/ps3.h index 8a7fe1c..c7a0c48 100644 --- a/ui/common/ps3.h +++ b/ui/common/ps3.h @@ -33,9 +33,14 @@ enum ps3_flash_flags { ps3_flag_telnet = 1, }; +enum ps3_timeouts { + ps3_timeout_forever = 255, +}; + /** * struct ps3_flash_values - Values from PS3 flash memory. * @default_item: The default menu item. + * @timeout: The timeout in seconds. * @video_mode: The default video_mode. * @flags: Logical OR of enum ps3_flash_flags. */ @@ -44,6 +49,7 @@ struct ps3_flash_values { uint32_t default_item; uint16_t video_mode; /* uint16_t flags; */ + uint8_t timeout; }; int ps3_flash_get_values(struct ps3_flash_values *values);