summaryrefslogtreecommitdiffstats
path: root/ui/common/ps3.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
commite74391b7d8ec47b41315e7c2ce6b4b0a9ad139fe (patch)
tree02e90effa87d9b221739be38cce265f26a8d1417 /ui/common/ps3.h
parente3663cb096badf3d493df25030333affe506669b (diff)
downloadtalos-petitboot-e74391b7d8ec47b41315e7c2ce6b4b0a9ad139fe.tar.gz
talos-petitboot-e74391b7d8ec47b41315e7c2ce6b4b0a9ad139fe.zip
Add PS3 countdown timer
Add countdown timer support to the PS3 UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'ui/common/ps3.h')
-rw-r--r--ui/common/ps3.h6
1 files changed, 6 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud