~vojtech-horky/helenos/helenos-qemu

« back to all changes in this revision

Viewing changes to uspace/lib/c/include/fourcc.h

  • Committer: Vojtech Horky
  • Date: 2017-06-14 06:22:31 UTC
  • mfrom: (2103.1.569 HelenOS.mainline)
  • Revision ID: vojtechhorky@users.sourceforge.net-20170614062231-q4ui9pyxp0gs2hrl
MergeĀ mainlineĀ changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2006 Josef Cejka
 
2
 * Copyright (c) 2017 Jakub Jermar
3
3
 * All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
32
32
/** @file
33
33
 */
34
34
 
35
 
#ifndef LIBC_SYS_TYPES_H_
36
 
#define LIBC_SYS_TYPES_H_
37
 
 
38
 
#include <libarch/types.h>
39
 
 
40
 
typedef unsigned int mode_t;
41
 
 
42
 
/** Relative offset */
43
 
typedef int64_t off64_t;
44
 
 
45
 
/** Absolute offset */
46
 
typedef uint64_t aoff64_t;
 
35
#ifndef LIBC_FOURCC_H_
 
36
#define LIBC_FOURCC_H_
 
37
 
 
38
#include <stdint.h>
47
39
 
48
40
typedef uint32_t fourcc_t;
49
41
 
50
 
typedef volatile uint8_t ioport8_t;
51
 
typedef volatile uint16_t ioport16_t;
52
 
typedef volatile uint32_t ioport32_t;
53
 
 
54
 
typedef int16_t unaligned_int16_t __attribute__ ((aligned(1)));
55
 
typedef int32_t unaligned_int32_t __attribute__ ((aligned(1)));
56
 
typedef int64_t unaligned_int64_t __attribute__ ((aligned(1)));
57
 
 
58
 
typedef uint16_t unaligned_uint16_t __attribute__ ((aligned(1)));
59
 
typedef uint32_t unaligned_uint32_t __attribute__ ((aligned(1)));
60
 
typedef uint64_t unaligned_uint64_t __attribute__ ((aligned(1)));
61
 
 
62
42
#endif
63
43
 
64
44
/** @}