////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author     Kuba Sejdak
/// @date       11.12.2016
///
/// @copyright  This file is a part of cosmos OS. All rights reserved.
///
////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef UTILS_H
#define UTILS_H

#define REGISTER(type, addr)                ((volatile type *) (addr))

#endif
Add macro for defining memory-mapped registers.
lib: Add macro for defining memory-mapped registers.
