Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V v1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CPFlex Public Open Source
  • Flex VM Application Platform SDK
  • v1
  • Merge requests
  • !6

feat: add StatefulEnum persistence across reboots

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Derek Steffey requested to merge feature/statefulenum-persistence into master Apr 09, 2026
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 9
  • Add StatefulEnumCbType enum (SMCB_SET, SMCB_INIT, SMCB_RESTORE) to StatefulEnumDefs.i
  • Add SM_NVM_ORDINAL/SM_NVM_EPOCH macro contract note in StatefulEnumDefs.i
  • Update app_StatefulEnumCallback forward declaration to include cbType param
  • Implement _enumDispatcher() private helper shared by Init and Set paths
  • StatefulEnumInit() loads persisted ordinal from NVM, calls dispatcher with SMCB_RESTORE (bNotify=true) or SMCB_INIT (bNotify=false)
  • StatefulEnumSet() delegates to dispatcher with SMCB_SET
  • Allocate NVRO_STATEFULENUM = 0x90 in NvmRecOffsets.i
  • Add design/StatefulEnum-Persistence.md design document
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/statefulenum-persistence