+unsigned long AlignCount (unsigned long Addr, unsigned long Alignment)
+/* Calculate how many bytes must be inserted to align Addr to Alignment */
+{
+ return AlignAddr (Addr, Alignment) - Addr;
+}
+
+
+
*/
unsigned long AlignAddr (unsigned long Addr, unsigned long Alignment);
-/* Align an address to the given alignment */
+/* Align an address to the given alignment */
+
+unsigned long AlignCount (unsigned long Addr, unsigned long Alignment);
+/* Calculate how many bytes must be inserted to align Addr to Alignment */