Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Guard #14

wants to merge 3 commits into from

Commits on May 26, 2022

  1. libguard: Adding GardFlags and GardFlagPnorWriteInProgress enums

    Change:
    Adding GardFlags and GardFlagPnorWriteInProgress enums to handle
    GUARD partition write.
    
    Signed-off-by: Chirag Sharma <[email protected]>
    Chirag Sharma committed May 26, 2022
    Configuration menu
    Copy the full SHA
    f5237ec View commit details
    Browse the repository at this point in the history

Commits on May 29, 2022

  1. libguard: Adding function to set/reset the write flag

    Change:
    Adding new function to set/reset the write flag.
    While creating guard record or re-writing a guard record
    write flag will be set to 0x00 and once the write completes,
    set the flag to 0x01.
    
    Tested:
    While writing the guard data the flag is set as 0x00
    and once the write is finished its set back as 0x01.
    Created guard records to check if data is coming as
    expected or not.
    
    Signed-off-by: Chirag Sharma <[email protected]>
    Chirag Sharma committed May 29, 2022
    Configuration menu
    Copy the full SHA
    e98a177 View commit details
    Browse the repository at this point in the history
  2. libguard: Adding function to check write flag

    Change:
    Adding function checkWriteflag, which will read the
    write flag.
    
    Tested:
    In ipl code calling this function and its working
    as expected i.e. if flag is set to 0x00 return true
    else false.
    
    Signed-off-by: Chirag Sharma <[email protected]>
    Chirag Sharma committed May 29, 2022
    Configuration menu
    Copy the full SHA
    658570a View commit details
    Browse the repository at this point in the history