Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing attribute(packed) to two structures.
  • Loading branch information
Michael Brown committed Oct 29, 2007
1 parent 82124ea commit c482fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/i386/include/int13.h
Expand Up @@ -114,7 +114,7 @@ struct int13_disk_address {
uint64_t lba;
/** Data buffer (EDD-3.0 only) */
uint64_t buffer_phys;
};
} __attribute__ (( packed ));

/** INT 13 disk parameters */
struct int13_disk_parameters {
Expand All @@ -133,7 +133,7 @@ struct int13_disk_parameters {
/** Bytes per sector */
uint16_t sector_size;

};
} __attribute__ (( packed ));

/**
* @defgroup int13types INT 13 disk types
Expand Down

0 comments on commit c482fef

Please sign in to comment.