Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add __le16, __l...



details:   https://anonhg.NetBSD.org/src/rev/5a200b9476c7
branches:  riastradh-drm2
changeset: 788093:5a200b9476c7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:12:29 2013 +0000

description:
Add __le16, __le32, and __le64 to <linux/types.h>.

As far as I'm aware, these aliases are correct, and the type doesn't
actually have any effect on the byte order of reads and writes.

diffstat:

 sys/external/bsd/drm2/include/linux/types.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 49cf57347da5 -r 5a200b9476c7 sys/external/bsd/drm2/include/linux/types.h
--- a/sys/external/bsd/drm2/include/linux/types.h       Wed Jul 24 02:12:14 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/types.h       Wed Jul 24 02:12:29 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.1.2.5 2013/07/24 01:54:19 riastradh Exp $  */
+/*     $NetBSD: types.h,v 1.1.2.6 2013/07/24 02:12:29 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -39,11 +39,16 @@
 typedef uint16_t u16;
 typedef uint32_t u32;
 typedef uint64_t u64;
+
 typedef int8_t s8;
 typedef int16_t s16;
 typedef int32_t s32;
 typedef int64_t s64;
 
+typedef uint16_t __le16;
+typedef uint32_t __le32;
+typedef uint64_t __le64;
+
 typedef bus_size_t resource_size_t;
 
 /* XXX Is this the right type?  */



Home | Main Index | Thread Index | Old Index