Home
last modified time | relevance | path

Searched refs:SWAB (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/mips/boot/
Daddinitrd.c33 #define SWAB(a) (swab ? swab32(a) : (a)) macro
92 loadaddr = ((SWAB(esecs[2].s_vaddr) + SWAB(esecs[2].s_size) in main()
94 if (loadaddr < (SWAB(esecs[2].s_vaddr) + SWAB(esecs[2].s_size))) in main()
96 initrd_header[0] = SWAB(0x494E5244); in main()
97 initrd_header[1] = SWAB(st.st_size); in main()
98 eaout.dsize = esecs[1].s_size = initrd_header[1] = SWAB(st.st_size+8); in main()
99 eaout.data_start = esecs[1].s_vaddr = esecs[1].s_paddr = SWAB(loadaddr); in main()
110 if(lseek(fd_vmlinux, SWAB(esecs[0].s_scnptr), SEEK_SET) == (off_t)-1) in main()
112 if(lseek(fd_outfile, SWAB(esecs[0].s_scnptr), SEEK_SET) == (off_t)-1) in main()
115 cnt = SWAB(eaout.tsize); in main()