4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2007 |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | */ |
---|
5 | |
---|
6 | #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ |
---|
7 | #include <bsp.h> |
---|
8 | #include <stdlib.h> |
---|
9 | |
---|
10 | /* |
---|
11 | * This is the entry point automatically generated by GNAT. |
---|
12 | */ |
---|
13 | extern int gnat_main ( int argc, char **argv, char **envp ); |
---|
14 | |
---|
15 | void *POSIX_Init( |
---|
16 | void *argument |
---|
17 | ) |
---|
18 | { |
---|
19 | (void) gnat_main ( 0, 0, 0 ); |
---|
20 | |
---|
21 | exit( 0 ); |
---|
22 | } |
---|
23 | |
---|
24 | /* |
---|
25 | * Only for sp04 and sp07 |
---|
26 | */ |
---|
27 | |
---|
28 | rtems_id tcb_to_id( |
---|
29 | Thread_Control *tcb |
---|
30 | ) |
---|
31 | { |
---|
32 | return tcb->Object.id; |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | /* |
---|
37 | * By putting this in brackets rather than quotes, we get the search |
---|
38 | * path and can get this file from ".." in the mptests. |
---|
39 | */ |
---|
40 | |
---|
41 | #define CONFIGURE_INIT |
---|
42 | #define CONFIGURE_GNAT_RTEMS |
---|
43 | #define CONFIGURE_MEMORY_OVERHEAD (256) |
---|
44 | |
---|
45 | #include <config.h> |
---|
46 | |
---|
47 | uint32_t milliseconds_per_tick(void) |
---|
48 | { |
---|
49 | return CONFIGURE_MICROSECONDS_PER_TICK / 1000; |
---|
50 | } |
---|
51 | |
---|
52 | uint32_t ticks_per_second(void) |
---|
53 | { |
---|
54 | /* XXX HACK -- use public API */ |
---|
55 | return TOD_TICKS_PER_SECOND; |
---|
56 | } |
---|
57 | |
---|
58 | uint32_t work_space_size(void) |
---|
59 | { |
---|
60 | return CONFIGURE_EXECUTIVE_RAM_SIZE; |
---|
61 | } |
---|
62 | |
---|
63 | uint32_t is_configured_multiprocessing(void) |
---|
64 | { |
---|
65 | #if defined(RTEMS_MULTIPROCESSING) |
---|
66 | return 1; |
---|
67 | #else |
---|
68 | return 0; |
---|
69 | #endif |
---|
70 | } |
---|
71 | |
---|
72 | uint32_t get_node(void) |
---|
73 | { |
---|
74 | /* XXX HACK -- use public API */ |
---|
75 | return _Objects_Local_node; |
---|
76 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.