-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
edk2-UefiDriverWritersGuide/3_foundation/35_guids.md
Lines 90 to 100 in 20da2f1
Put another way, the GUID forms a contract: If the UEFI Driver finds a protocol | |
with a particular GUID, it may assume that the contents of the protocol are as | |
specified for that protocol. If the contents of the protocol are different, the | |
driver that published the protocol is assumed to be in error. | |
In some ways, GUIDs are can be viewed as contracts. If a UEFI Driver looks up a | |
protocol with a certain GUID, the structure under the GUID is well defined. If | |
the GUID is duplicated, this 1:1 mapping breaks. If a GUID is copied and | |
applied to a new protocol, the users of the old protocol call the new protocol | |
expecting the old interfaces or vice versa. Either way, the results are never | |
good. |
Metadata
Metadata
Assignees
Labels
No labels