source: rtems-libbsd/rtemsbsd/include/machine/resource.h @ be2e60c

4.115-freebsd-12freebsd-9.3
Last change on this file since be2e60c was e599318, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 9, 2013 at 8:52:54 PM

Update files to match FreeBSD layout

Add compatibility with Newlib header files. Some FreeBSD header files
are mapped by the translation script:

o rtems/bsd/sys/_types.h
o rtems/bsd/sys/errno.h
o rtems/bsd/sys/lock.h
o rtems/bsd/sys/param.h
o rtems/bsd/sys/resource.h
o rtems/bsd/sys/time.h
o rtems/bsd/sys/timespec.h
o rtems/bsd/sys/types.h
o rtems/bsd/sys/unistd.h

It is now possible to include <sys/socket.h> directly for example.

Generate one Makefile which builds everything including tests.

  • Property mode set to 100644
File size: 663 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup rtems_bsd_machine
5 *
6 * @brief TODO.
7 */
8
9/*
10 * Copyright (c) 2009, 2010 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#ifndef _RTEMS_BSD_MACHINE_RESOURCE_H_
24#define _RTEMS_BSD_MACHINE_RESOURCE_H_
25
26#define SYS_RES_IRQ 1
27#define SYS_RES_DRQ 2
28#define SYS_RES_MEMORY 3
29#define SYS_RES_IOPORT 4
30#define SYS_RES_GPIO 5
31
32#endif /* _RTEMS_BSD_MACHINE_RESOURCE_H_ */
Note: See TracBrowser for help on using the repository browser.