23 Jan, 2018

1 commit


01 Dec, 2017

2 commits


13 Oct, 2017

1 commit


09 Oct, 2017

3 commits

  • The task priority levels test uses two events one passes the
    notification counter as context. The other passes NULL.
    Both use the same notification function. So we need to check
    for NULL here.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Simon Glass
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • The UEFI spec defines parameter index of WaitForEvent as UINTN*.
    So we should use size_t here.

    I deliberately do not use UINTN because I hold a following patch
    that will eliminate UINTN because uppercase types to not match
    the U-Boot coding style.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Simon Glass
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Rename counter to more illustrative names.
    Update notification function description.
    Simplify notification function.
    Add comment for arbitrary non-zero value.
    Document @return.
    Use constants for return values of setup, execute, teardown.

    Reported-by: Simon Glass
    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Simon Glass
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     

19 Sep, 2017

1 commit

  • Run a 10 ms periodic timer and check that it is called 10 times
    while waiting for 100 ms single shot timer.

    Raise the TPL level to the level of the 10 ms timer and observe
    that the notification function is not called again.

    Lower the TPL level and check that the queued notification
    function is called.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt