Changeset 6453e306 in mainline for uspace/lib/mbr/mbr.h


Ignore:
Timestamp:
2013-12-25T16:09:43Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac36aed
Parents:
d51beba3
Message:

basic code review and coding style cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/mbr/mbr.h

    rd51beba3 r6453e306  
    11/*
    22 * Copyright (c) 2009 Jiri Svoboda
    3  * Copyright (c) 2011, 2012, 2013 Dominik Taborsky
     3 * Copyright (c) 2011-2013 Dominik Taborsky
    44 * All rights reserved.
    55 *
     
    3939#include <sys/types.h>
    4040
    41 /** Number of primary partition records */
    42 #define N_PRIMARY               4
    43 
    44 /** Boot record signature */
    45 #define BR_SIGNATURE    0xAA55
     41enum {
     42        /** Number of primary partition records */
     43        N_PRIMARY = 4,
     44       
     45        /** Boot record signature */
     46        BR_SIGNATURE = 0xAA55
     47};
    4648
    4749enum {
     
    5557enum {
    5658        /** Unused partition entry */
    57         PT_UNUSED       = 0x00,
     59        PT_UNUSED = 0x00,
    5860        /** Extended partition */
    59         PT_EXTENDED     = 0x05,
     61        PT_EXTENDED = 0x05,
    6062        /** Extended partition with LBA */
    61         PT_EXTENDED_LBA = 0x0F,
     63        PT_EXTENDED_LBA = 0x0F,
    6264        /** GPT Protective partition */
    63         PT_GPT  = 0xEE,
     65        PT_GPT = 0xEE,
    6466};
    6567
Note: See TracChangeset for help on using the changeset viewer.