[Voyageurs] Move NormalTrb generation into helper func.

This commit is contained in:
Drew Galbraith 2024-02-24 14:31:14 -08:00
parent e6b232851e
commit 3c1e435e04
3 changed files with 17 additions and 12 deletions

View file

@ -29,6 +29,7 @@ enum class TrbType : uint8_t {
TrbType GetType(const XhciTrb& trb);
XhciTrb CreateNormalTrb(uint64_t physical_address, uint8_t size);
XhciTrb CreateLinkTrb(uint64_t physical_address);
XhciTrb CreateEnableSlotTrb();