diff options
author | Simon Horman <horms@verge.net.au> | 2006-09-22 16:45:32 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-10-06 12:46:16 +0900 |
commit | b41b838100bd7ab01d802cb9e3ebe2c4ad210485 (patch) | |
tree | 580410798d38cde4b6c9e0c1532c7bcb8437d2c7 /purgatory | |
parent | 4535790836ee0c8b9ea1cdf5d2baec5360bac458 (diff) | |
download | kexec-tools-b41b838100bd7ab01d802cb9e3ebe2c4ad210485.tar.gz |
kexec-tools: Make purgatory code 80 columns wide
Make purgatory code 80 columns wide
Signed-Off-By: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/arch/ia64/purgatory-ia64.c | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/purgatory/arch/ia64/purgatory-ia64.c b/purgatory/arch/ia64/purgatory-ia64.c index dbf77a69..81e7d29c 100644 --- a/purgatory/arch/ia64/purgatory-ia64.c +++ b/purgatory/arch/ia64/purgatory-ia64.c @@ -68,8 +68,8 @@ typedef struct { typedef struct { efi_table_hdr_t hdr; - unsigned long fw_vendor; /* physical addr of CHAR16 vendor string - */ + unsigned long fw_vendor; /* physical addr of + CHAR16 vendor string */ uint32_t fw_revision; unsigned long con_in_handle; unsigned long con_in; @@ -84,19 +84,26 @@ typedef struct { } efi_system_table_t; struct ia64_boot_param { - uint64_t command_line; /* physical address of command line arguments */ - uint64_t efi_systab; /* physical address of EFI system table */ - uint64_t efi_memmap; /* physical address of EFI memory map */ + uint64_t command_line; /* physical address of + command linearguments */ + uint64_t efi_systab; /* physical address of + EFI system table */ + uint64_t efi_memmap; /* physical address of + EFI memory map */ uint64_t efi_memmap_size; /* size of EFI memory map */ - uint64_t efi_memdesc_size; /* size of an EFI memory map descriptor */ + uint64_t efi_memdesc_size; /* size of an EFI memory map + descriptor */ uint32_t efi_memdesc_version; /* memory descriptor version */ struct { - uint16_t num_cols; /* number of columns on console output device */ - uint16_t num_rows; /* number of rows on console output device */ - uint16_t orig_x; /* cursor's x position */ - uint16_t orig_y; /* cursor's y position */ + uint16_t num_cols; /* number of columns on console + output device */ + uint16_t num_rows; /* number of rows on console + output device */ + uint16_t orig_x; /* cursor's x position */ + uint16_t orig_y; /* cursor's y position */ } console_info; - uint64_t fpswa; /* physical address of the fpswa interface */ + uint64_t fpswa; /* physical address of + the fpswa interface */ uint64_t initrd_start; uint64_t initrd_size; }; @@ -159,8 +166,7 @@ patch_efi_memmap(struct kexec_boot_params *params, if (md1->num_pages == 0) continue; mstart = md1->phys_addr; - mend = md1->phys_addr + (md1->num_pages - << EFI_PAGE_SHIFT); + mend = md1->phys_addr + (md1->num_pages << EFI_PAGE_SHIFT); switch (md1->type) { case EFI_LOADER_DATA: *md2 = *md1; |