4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since 6ad03bf was
6ad03bf,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/08/12 at 16:31:56
|
Remove rtems/ from includes of RTEMS specific files
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
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_PCPU_H_ |
---|
24 | #define _RTEMS_BSD_MACHINE_PCPU_H_ |
---|
25 | |
---|
26 | #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ |
---|
27 | #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first" |
---|
28 | #endif |
---|
29 | |
---|
30 | #define curthread (( struct thread * )(( RTEMS_API_Control * )_Thread_Executing->API_Extensions[THREAD_API_RTEMS] )->Notepads[RTEMS_NOTEPAD_0] ) |
---|
31 | |
---|
32 | extern struct pcpu *pcpup; |
---|
33 | |
---|
34 | #define PCPU_MD_FIELDS |
---|
35 | #define PCPU_GET(member) (0) |
---|
36 | #define PCPU_SET(member, val) |
---|
37 | |
---|
38 | //#define PCPU_GET(member) (pcpup->pc_ ## member) |
---|
39 | //#define PCPU_SET(member, val) (pcpup->pc_ ## member = (val)) |
---|
40 | |
---|
41 | #endif /* _RTEMS_BSD_MACHINE_PCPU_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.