common: Implement NewUUID

This is a fixed and revised implementation of UUID that uses an array of bytes as its internal representation of a UUID instead of a u128 (which was an array of 2 u64s).
In addition to this, the generation of RFC 4122 Version 4 compliant UUIDs is also implemented.
This commit is contained in:
Morph 2022-02-04 23:44:02 -05:00
parent ed18e4ecb3
commit 77bc383079
3 changed files with 322 additions and 0 deletions

View file

@ -99,6 +99,8 @@ add_library(common STATIC
microprofile.cpp
microprofile.h
microprofileui.h
new_uuid.cpp
new_uuid.h
nvidia_flags.cpp
nvidia_flags.h
page_table.cpp