]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/SemiHosting: Recognise '.' directory as the root directory.
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Jan 2013 11:49:08 +0000 (11:49 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Jan 2013 11:49:08 +0000 (11:49 +0000)
commit1ea3171660e62b5c5b18cae2c1a8a44d71f47b0b
tree2f37a319376539f2a9002fc133878b1b6e9225dc
parent1e57a46299244793beb27e74be171d1540606999
ArmPkg/SemiHosting: Recognise '.' directory as the root directory.

Add '.' to the list of directories recognised as the root directory
of semi-hosting.

This is important for EdkShell because listing files in the root directory
of semi-hosting (e.g. ls fsnt0:) is tranformed in a way that uses '.'
Without this patch this results in EdkShell hanging and returning
an "Out of resources" error in the end. With this patch the command
is immediately recognised as unsupported.

Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14089 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c