Vladimir 'phcoder' Serbinenko
49d3ab4668
Avoid using tricks for initialising endian variables.
* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot):
Make const.
(GRUB_MOD_INIT): Don't byte-swap.
* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT):
Use grub_cpu_to_le16_compile_time and grub_cpu_to_le32_compile_time.
* include/grub/types.h (grub_swap_bytes16_compile_time): New macro.
(grub_swap_bytes32_compile_time): Likewise.
(grub_cpu_to_le32_compile_time): Likewise.
(grub_cpu_to_le16_compile_time): Likewise.
2010-11-26 22:29:19 +01:00
..
2010-05-06 11:34:04 +05:30
2010-05-06 11:34:04 +05:30
2010-05-06 11:34:04 +05:30
2010-11-01 23:42:53 +01:00
2010-11-26 22:29:19 +01:00
2010-09-24 14:05:47 +02:00
2010-09-14 21:07:39 +02:00
2010-05-06 11:34:04 +05:30