2009年7月26日 星期日

英文練習

Protocols(通訊協定)

The extensible nature of EFI is built, to a large degree, around protocols.

EFI drivers are sometimes confused with EFI protocols.

驅動程式(EFI drivers)常常會跟通訊協定(EFI protocols)混淆。

Although they are closely related, they are distinctly different.

雖然他們是密切相關,但是它們還是有清楚的不同。

An EFI driver is an executable EFI image that installs a variety of protocols of various handles to accomplish its job.

驅動程式(EFI drivers)是一種可執行的映像檔(EFI image),它安裝了不同handles中不同的通訊協定(protocols),來完成他們的工作。

An EFI protocol is a block of function pointers and data structures or APIs that have been defined by a specification.

通訊協定(EFI protocol)可視為函式指標與資料結構組成的資料區塊,或是由EFI規範所定義的APIs

At a minimum, the specification must define a GUID.

至少,這個規範必須定義GUID

This number is the protocol’s real name; boot services like LocateProtocol uses this number to find his protocol in the handle database.

這個數值就是通訊協定(protocol)的真實名稱;開機時期系統服務(boot services)像是LocateProtocol()函式就是使用此數值去搜尋在(handle database)中的通訊協定(protocol)

The protocol often includes a set of procedures and/or data structures, called the protocol interface structure.

通訊協定(protocol)通常會包含程式集與資料結構,而被稱為通訊介面結構(protocol interface structure)

The following code sequence is an example of a protocol definition from section 9.6 of the EFI 1.10 Specification.

下列的程式碼是擷取自EFI 1.10規範書中第9.6章節中定義通訊協定(protocol)的範例。

Notice how it defines two function definitions and one data field.

注意到它定義了兩個函式與一個資料欄位。

沒有留言: