[BOOT] Improve TODO comments
This commit is contained in:
parent
75197cc8b5
commit
a32d72be1e
@ -206,6 +206,9 @@ Return Value:
|
||||
}
|
||||
BootDevice->Size = sizeof(BOOT_DEVICE);
|
||||
|
||||
//
|
||||
// Memory map devices are treated as ramdisks.
|
||||
//
|
||||
if (DevicePathType(EfiDevicePath) == HARDWARE_DEVICE_PATH && DevicePathSubType(EfiDevicePath) == HW_MEMMAP_DP) {
|
||||
MemmapNode = (MEMMAP_DEVICE_PATH *)EfiDevicePath;
|
||||
BlockDevice = &BootDevice->Block;
|
||||
@ -218,7 +221,7 @@ Return Value:
|
||||
}
|
||||
|
||||
//
|
||||
// TODO: Only media devices and ramdisks are currently supported.
|
||||
// TODO: Support more devices than just HDD/CD-ROM and ramdisks.
|
||||
//
|
||||
DeviceNode = EfiInitpGetDeviceNode(EfiDevicePath);
|
||||
if (DevicePathType(DeviceNode) != MEDIA_DEVICE_PATH) {
|
||||
@ -547,7 +550,7 @@ Return Value:
|
||||
|
||||
//
|
||||
// Convert the EFI file path into a boot file path option.
|
||||
// TODO: UDP/PXE are not supported.
|
||||
// TODO: Support UDP/PXE boot.
|
||||
//
|
||||
PrevOption = Option;
|
||||
Option = (PBOOT_APPLICATION_OPTION)((PUCHAR)&Entry->Options + OptionsSize);
|
||||
@ -561,7 +564,7 @@ Return Value:
|
||||
BufferRemaining -= Size;
|
||||
|
||||
//
|
||||
// TODO: Additional options in LoadOptions are not parsed.
|
||||
// TODO: Parse additional options from LoadOptions.
|
||||
//
|
||||
PrevOption = Option;
|
||||
Option = (PBOOT_APPLICATION_OPTION)((PUCHAR)&Entry->Options + OptionsSize);
|
||||
|
@ -572,7 +572,7 @@ Return Value:
|
||||
}
|
||||
|
||||
//
|
||||
// TODO: Account for possible MDL changes due to EfiFreePages(EfiBuffer).
|
||||
// TODO: Account for possible MDL changes due to freeing EfiBuffer.
|
||||
//
|
||||
|
||||
exit:
|
||||
|
@ -41,7 +41,7 @@ Return Value:
|
||||
|
||||
{
|
||||
//
|
||||
// TODO: Implement this.
|
||||
// TODO: Implement this routine.
|
||||
//
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
@ -83,7 +83,7 @@ Return Value:
|
||||
}
|
||||
|
||||
//
|
||||
// TODO: Incomplete.
|
||||
// TODO: Implement the rest of this routine.
|
||||
//
|
||||
ConsolePrint(L"MmMdpHasPrecedence() is incomplete\r\n");
|
||||
return TRUE;
|
||||
@ -441,7 +441,7 @@ Return Value:
|
||||
}
|
||||
|
||||
//
|
||||
// TODO: Finish this function.
|
||||
// TODO: Implement the rest of this routine.
|
||||
//
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
@ -490,7 +490,7 @@ Return Value:
|
||||
|
||||
//
|
||||
// Free the descriptor from the heap.
|
||||
// TODO: Use BlMmFreeHeap()
|
||||
// TODO: Use BlMmFreeHeap().
|
||||
//
|
||||
ConsolePrint(L"MmMdFreeDescriptor(): need BlMmFreeHeap() to free descriptor\r\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
@ -565,6 +565,7 @@ Return Value:
|
||||
PMEMORY_DESCRIPTOR Descriptor;
|
||||
|
||||
if (MmGlobalMemoryDescriptorsUsed >= MmGlobalMemoryDescriptorCount) {
|
||||
DebugPrint(L"MmMdInitDescriptor(): No free descriptors available\r\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user