X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGenBootSector%2FGenBootSector.c;h=40cb19fb59e17bbb4b1966d06fdc062a14fa5a1b;hp=c13b57735efeca46008d6884cf9f23e29c35471b;hb=97fa0ee9b1cffbb4b97ee35365afa7afcf50e174;hpb=cb9ec399fe8f0ba0d79d788891ac5829c33abc84 diff --git a/BaseTools/Source/C/GenBootSector/GenBootSector.c b/BaseTools/Source/C/GenBootSector/GenBootSector.c index c13b57735e..40cb19fb59 100644 --- a/BaseTools/Source/C/GenBootSector/GenBootSector.c +++ b/BaseTools/Source/C/GenBootSector/GenBootSector.c @@ -1,5 +1,9 @@ /** @file - +Reading/writing MBR/DBR. + NOTE: + If we write MBR to disk, we just update the MBR code and the partition table wouldn't be over written. + If we process DBR, we will patch MBR to set first partition active if no active partition exists. + Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -9,16 +13,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - genbootsector.c - -Abstract: - Reading/writing MBR/DBR. - NOTE: - If we write MBR to disk, we just update the MBR code and the partition table wouldn't be over written. - If we process DBR, we will patch MBR to set first partition active if no active partition exists. - **/ #include