#include <stdio.h>
#include <stdlib.h>

int
main(int argc, char *argv[])
{
    int i = 0;
    unsigned int size  = 0;
    if (argc < 2) {
        printf("makehdr creates a page with file size as first word\n");
        printf("The rest of the page is padded with 0\n");
        printf("Usage: makehdr <merged_file_size>\n");
        exit(0);
    }
    size = atoi(argv[1]);

    printf("0x%08x\n", size);
    for (i =0; i < 511; ++i) 
        printf("0x00000000\n");

    return 0;
}

