HomeFreeBSD

Fix parsing File() nodes in device paths.

Description

Fix parsing File() nodes in device paths.

o Add File to the mUefiDevicePathLibDevPathFromTextTable table so we

don't include 'File()' in the supposed path name. This happens because
of a possible misfeature in the EDK2 code where any path that's not
recognized is treated as a File() node.

o Convert utf8 input into ucs2 output rather than just copying the

utf8 and hoping for the best (no good comes from that).

o Remove bogus comment about needing to add 1. The dummy array already

is length 1, so that's included in sizeof the struct, so there's no
need to add it.

Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS323056: Fix printing File() nodes in device paths.
Branches
Unknown
Tags
Unknown