| 58 | } |
| 59 | |
| 60 | VOID |
| 61 | PeiCopyMem ( |
| 62 | IN VOID *Destination, |
| 63 | IN VOID *Source, |
| 64 | IN UINTN Length |
| 65 | ) |
| 66 | /*++ |
| 67 | |
| 68 | Routine Description: |
| 69 | |
| 70 | Copy Length bytes from Source to Destination. |
| 71 | |
| 72 | Arguments: |
| 73 | |
| 74 | Destination - Target of copy |
| 75 | |
| 76 | Source - Place to copy from |
| 77 | |
| 78 | Length - Number of bytes to copy |
| 79 | |
| 80 | Returns: |
| 81 | |
| 82 | None |
| 83 | |
| 84 | --*/ |
| 85 | { |
| 86 | CHAR8 *Destination8; |
| 87 | CHAR8 *Source8; |
| 88 | |
| 89 | Destination8 = Destination; |
| 90 | Source8 = Source; |
| 91 | while (Length--) { |
| 92 | *(Destination8++) = *(Source8++); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | VOID |
| 97 | ZeroMem ( |