diff options
Diffstat (limited to 'src/usr/pnor/pnorrp.H')
-rw-r--r-- | src/usr/pnor/pnorrp.H | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/pnor/pnorrp.H b/src/usr/pnor/pnorrp.H index 1a9b04ff6..d6cefdd60 100644 --- a/src/usr/pnor/pnorrp.H +++ b/src/usr/pnor/pnorrp.H @@ -38,6 +38,16 @@ /** * PNOR Resource Provider */ +namespace PNOR +{ + // used to register for the hostboot shutdown + // notification messages. + enum msg_type + { + MSG_NOT_USED = 0x00, + MSG_SHUTDOWN = 0x01, + }; +}; class PnorRP { public: @@ -159,6 +169,12 @@ class PnorRP uint64_t iv_startupRC; /** + * sent when a shutdown message is sent, used to elimnate further writes + * to pnore during a shutdown process + */ + bool iv_shutdown_pending; + + /** * Track some information related to flash wear and health * indexed by physical page number inside PNOR */ |