|
UEFIStarter
a simple UEFI framework
|
Tests for the memory allocation tracker. More...
#include <Uefi.h>#include <Library/UefiLib.h>#include <Library/MemoryAllocationLib.h>#include <UEFIStarter/core.h>#include <UEFIStarter/tests/tests.h>Functions | |
| void | test_page_tracking () |
| Makes sure memory page tracking works. More... | |
| void | test_pool_tracking () |
| Makes sure pool memory tracking works. More... | |
| BOOLEAN | run_memory_tests () |
| Test runner for this group. More... | |
Tests for the memory allocation tracker.
| void test_page_tracking | ( | ) |
Makes sure memory page tracking works.
stopping the memory tracker with unfreed tracked pages results in a logged error
freeing tracked pages twice shouldn't work and result in a logged error
stopping the memory tracker with unfreed untracked pages should not log an error
| void test_pool_tracking | ( | ) |
Makes sure pool memory tracking works.
| BOOLEAN run_memory_tests | ( | ) |
Test runner for this group.
Gets called via the generated test runner.
1.8.13