Protocol
Symbol
|
UEFI
Protocol
|
BlkIo
|
Block
I/O Protocol
|
BusSpecificDriverOverride
|
Bus
Specific Driver Override Protocol
|
ComponentName
|
Component
Name Protocol
|
Configuration
|
Driver
Configuration Protocol
|
ConIn
|
Console-in
Device
|
ConOut
|
Console-out
Device
|
DebugPort
|
Debugport
Protocol
|
DebugSupport
|
Debug
Support Protocol
|
Decompress
|
Decompress
Protocol
|
DevIo
|
Device
I/O Protocol
|
Diagnostics
|
Driver
Diagnostics Protocol
|
DiskIo
|
Disk
I/O Protocol
|
Dpath
|
Device
Path Protocol
|
DriverBinding
|
Driver
Binding Protocol
|
ErrOutSplit
|
Error-out
Splitter Protocol
|
Fs
|
Simple
File System Protocol
|
Image
|
Loaded
Image Protocol
|
IsaAcpi
|
ISA
ACPI Protocol
|
IsaIo
|
ISA I/O
Protocol
|
LegacyBoot
|
Legacy
Boot Protocol
|
Load
|
Load
File Protocol
|
Net
|
Simple
Network Protocol
|
Nii
|
Network
Interface Identifier Protocol
|
PciIo
|
PCI I/O
Protocol
|
PciRootBridgeIo
|
PCI
Root Bridge I/O Protocol
|
Pxebc
|
PXE
Base Code Protocol
|
ScsiIo
|
SCSI
I/O Protocol
|
ScsiPassThru
|
SCSI
Pass Thru Protocol
|
SerialIo
|
Serial
I/O Protocol
|
SimplePointer
|
Simple
Pointer Protocol
|
StdErr
|
Standard
Error Device
|
Tcp
|
TCP
Protocol
|
Txtin
|
Simple
Text-in Protocol
|
TxtInSplit
|
Text-in
Splitter Protocol
|
Txtout
|
Simple
Text Output Protocol
|
TxtOutSplit
|
Text-out
Splitter Protocol
|
UgaDraw
|
UGA
Draw Protocol
|
UgaIo
|
UGA I/O
Protocol
|
UnicodeCollation
|
Unicode
Collation Protocol
|
UsbIo
|
USB I/O
Protocol
|
VgaClass
|
VGA
Class Driver Protocol
|
搜尋此網誌
2014年11月25日 星期二
EFI Shell Protocol Information Table
MS-DOS and Unix Equivalents for UEFI Shell Internal Commands
EFI Shell Command
|
MS-DOS 6.22 Equivalent
|
Linux Equivalent
|
|
alias
|
|
attrib
|
chmod
|
|
cd
|
cd
|
|
cls
|
clear
|
|
|
|
|
copy
|
cp
|
|
date
|
date
|
|
del
|
rm
|
|
|
|
|
|
|
|
|
lsmod
|
|
|
modinfo
|
|
|
|
|
echo
|
echo
|
|
exit
|
exit
|
|
|
help
|
|
|
insmod
|
|
dir
|
ls
|
|
|
|
|
mkdir
|
mkdir
|
|
move
|
mv
|
|
|
|
|
reset
|
reboot
|
|
set
|
set
|
|
time
|
time
|
|
|
touch
|
|
type
|
type
|
|
|
rmmod
|
|
ver
|
|
|
vol
|
|
Linux Shell Example --- (1)
#!/bin/bash
spi_addr=0x86000000
get_al=0
X86_64=0
idx=0
result=`uname
-a`
array=(${result// / })
while [ 1 ]
do
if [ "${array[$idx]}" == "x86_64" ]; then
X86_64=1
break
fi
idx=$[$idx+1]
if [ $idx
> 20 ]; then
break;
fi
done
if [ $X86_64 == 1 ]; then
cp ./tool.x64 ./mvf
else
cp ./ tool.x86
./mvf
fi
chmod 777 mvf
./tool -l > /dev/null
if [ $? != 0 ] ;then
echo "No Adpater Found"
exit
fi
while [ 1 ]
do
`./tool -mmw
4 -addr 0xa8 -data $spi_addr
> /dev/null`
result=`./tool -mmr 4 -addr 0xaC -sz 4 | grep 0x000000AC`
array=(${result// / })
#echo
"${array[1]}"
if [ $get_al
== 1 ]; then
echo
"+------------------------------+"
echo "|
Firmware Version : ${array[1]} |"
echo
"+------------------------------+"
exit
fi
if [ "${array[1]}"
== "FFFFFFFF" ]; then
get_al=1
fi
spi_addr=$[$spi_addr+4]
done