Stefan Kalkowski ed52d5a211 Introduce 'spec' subdirectories to outline aspects
Instead of holding SPEC-variable dependent files and directories inline
within the repository structure, move them into 'spec' subdirectories
at the corresponding levels, e.g.:

  repos/base/include/spec
  repos/base/mk/spec
  repos/base/lib/mk/spec
  repos/base/src/core/spec
  ...

Moreover, this commit removes the 'platform' directories. That term was
used in an overloaded sense. All SPEC-relative 'platform' directories are
now named 'spec'. Other files, like for instance those related to the
kernel/architecture specific startup library, where moved from 'platform'
directories to explicit, more meaningful places like e.g.: 'src/lib/startup'.

Fix #1673
2015-09-16 13:58:50 +02:00

63 lines
2.1 KiB
C++

/*
* \brief Fixed-width integer types for 32-bit architectures
* \author Christian Helmuth
* \author Norman Feske
* \date 2006-05-10
*
* In contrast to most Genode header files, which are only usable for C++,
* this file is a valid C header file because a lot of existing C-based
* software relies on fixed-size integer types. These types, however, are
* platform specific but cannot be derived from the compiler's built-in
* types. Normally, the platform-dependent part of a C library provides
* these type definitions. This header file provides a single header for
* C and C++ programs that are not using a C library but need fixed-width
* integer types.
*
* All type definition are prefixed with 'genode_'. If included as a C++
* header, the types are also defined within the 'Genode' namespace.
*/
/*
* Copyright (C) 2006-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__SPEC__32BIT__BASE__FIXED_STDINT_H_
#define _INCLUDE__SPEC__32BIT__BASE__FIXED_STDINT_H_
/**********************************************************
** Fixed-size types usable from both C and C++ programs **
**********************************************************/
typedef signed char genode_int8_t;
typedef unsigned char genode_uint8_t;
typedef signed short genode_int16_t;
typedef unsigned short genode_uint16_t;
typedef signed genode_int32_t;
typedef unsigned genode_uint32_t;
typedef signed long long genode_int64_t;
typedef unsigned long long genode_uint64_t;
/**************************************************
** Types residing within Genode's C++ namespace **
**************************************************/
#ifdef __cplusplus
namespace Genode {
typedef genode_int8_t int8_t;
typedef genode_uint8_t uint8_t;
typedef genode_int16_t int16_t;
typedef genode_uint16_t uint16_t;
typedef genode_int32_t int32_t;
typedef genode_uint32_t uint32_t;
typedef genode_int64_t int64_t;
typedef genode_uint64_t uint64_t;
}
#endif
#endif /* _INCLUDE__SPEC__32BIT__BASE__FIXED_STDINT_H_ */