[Top] [All Lists]

IRIX clean-ups

To: linux-xfs@xxxxxxxxxxx
Subject: IRIX clean-ups
From: Daniel Moore <dxm@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Oct 2000 16:40:49 +1100
Sender: owner-linux-xfs@xxxxxxxxxxx
I'd like to do some global changes to the tree. Primarily, I'd
like to switch XFS over to using the standard linux fixed sized

        __int8_t                                ->      __s8
        __uint8_t                               ->      __u8
        __int16_t                               ->      __s16
        __uint16_t      &       u_int16_t       ->      __u16
        __int32_t                               ->      __s32
        __uint32_t      &       u_int32_t       ->      __u32
        __int64_t                               ->      __s64
        __uint64_t                              ->      __u64

        ulong_t                                 ->      unsigned long
        uchar_t                                 ->      unsigned char

And clean up some aliases:

        linux_off_t                             ->      __kernel_off_t
        linux_ino_t                             ->      __kernel_ino_t

Also, I'd like to replace the bzero, bcopy etc calls with
their libc style equivalents:

        bzero(p,s)                              ->      memset((p), 0, (s))
        bcopy(s,d,n)                            ->      memcpy((d),(s),(n))
        bcmp(s1,s2,l)                           ->      memcmp(s1,s2,l)
        ovbcopy(from,to,count)                  ->      memmove(to,from,count)

This is of course all done with header magic now and it'd be 
nice to lose it.

Objections &&|| comments?

 Daniel Moore                  dxm@xxxxxxx
 R&D Software Engineer         Phone: +61-3-98348209
 SGI Performance Tools Group   Fax:   +61-3-98132378

<Prev in Thread] Current Thread [Next in Thread>