Chris Johns
3806e01a77
Revert bootstrap whitespace changes.
2013-05-10 18:33:11 +10:00
Sebastian Huber
ad4ef3c79e
sparc: Fix problem with assembler files
2013-05-07 11:35:01 +02:00
Mohammed Khoory
b1ce6f29d2
sparc.h: Included stdint.h
...
This header uses uint32_t but does not include stdint.h
This may cause problems when compiling applications that include BSP
headers that include this file (leon.h for example)
2013-05-06 15:08:12 +02:00
Sebastian Huber
2bbea4dd33
arm: Switch to ARM only for Thumb-1
...
The Thumb-2 instruction set as encodings for the relevant instructions.
2013-05-03 17:30:54 +02:00
Sebastian Huber
57c05b54a3
arm: Fix DEFINE_FUNCTION_ARM() for ARMv7-AR
2013-05-03 17:30:54 +02:00
Joel Sherrill
d23c44d52b
score/cpu/.../i386.h: PR2020: Remove soft float references
...
i386 soft-float is no longer supported by gcc. Dropping
related code in the i386 score/cpu code.
2013-05-01 10:13:08 -05:00
WeiY
502693f50e
Clear the atomic conditional compilation.
2013-05-01 10:28:48 -04:00
WeiY
9b605b28b4
Using the generic atomic ops to implement UP mode atomic for all architectures. SMP atomic port will be later.
2013-05-01 10:28:48 -04:00
WeiY
f6db560d29
Implement a generic atomic ops for all UP mode architectures with disable/enable-IRQ function simulated.
2013-05-01 10:28:48 -04:00
Sebastian Huber
b7cf1ff717
libcsupport: Delete libc_wrapup()
...
Add and use rtems_libio_exit_helper. Add rtems_libio_exit().
The fclose(stdin) etc. makes no sense during exit. This would use the
_REENT structure of the thread calling _exit().
2013-04-26 10:57:08 +02:00
Sebastian Huber
5fa0e5c5ec
libcsupport: Rename open_dev_console()
...
Rename open_dev_console() to rtems_libio_post_driver(). Rename
rtems_libio_supp_helper to rtems_libio_post_driver_helper.
2013-04-26 10:57:08 +02:00
Sebastian Huber
a290fbe946
libcsupport: Make LibIO helper const
...
Add and use rtems_libio_helper function type. Add and use
rtems_libio_helper_null() instead of NULL pointer.
2013-04-26 10:57:08 +02:00
Sebastian Huber
aeba445349
libcsupport: Remove superfluous assignments
...
Remove superfluous declaractions, defines, comments and includes.
2013-04-26 10:57:07 +02:00
Sebastian Huber
2f72de2574
libcsupport: Make newlib_free_buffers() static
2013-04-26 10:57:07 +02:00
Sebastian Huber
3771f3cc56
libcsupport: Delete unused newlib_begin_hook()
2013-04-26 10:57:07 +02:00
Sebastian Huber
0806f85777
libcsupport: Delete REENT_MALLOCED define
2013-04-26 10:57:07 +02:00
Sebastian Huber
ad8010cd0a
libcsupport: Use copyright notice of original file
2013-04-26 10:57:06 +02:00
Sebastian Huber
45c9b7d497
libcsupport: POSIX conformance for _exit()
...
According to POSIX the _exit() function shall not call functions
registered with atexit() nor any registered signal handlers.
See also tests libtests/exit01 and libtests/exit02.
Make libc_wrapup() static. Remove out of date comments. Remove
superfluous declarations, defines and includes.
2013-04-25 11:15:49 +02:00
Sebastian Huber
59c05590df
mips: Fix warnings
2013-04-23 09:59:57 +02:00
Sebastian Huber
10e348ab7d
sapi: Fix warnings
2013-04-23 09:59:57 +02:00
Sebastian Huber
dc76d98a53
sapi: Fix unified workspace option
2013-04-11 13:57:10 +02:00
Joel Sherrill
6784547afd
confdefs.h: Only one clock or timer configuration parameter can be defined
...
Only one of the following can be defined.
+ CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+ CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+ CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
Otherwise it is a configuration error which can be detected at
compilation time.
2013-04-09 13:15:40 -05:00
Joel Sherrill
92b33b8d09
confdefs.h: Eliminate BSP_DEFAULT_UNIFIED_WORK_AREAS
...
This was not used by any BSP and obsolete now that unified memory
is an option for all BSPs.
2013-04-09 13:15:39 -05:00
Sebastian Huber
602d5ba27c
bsps: Fix warnings
2013-04-08 16:42:36 +02:00
Andreas Heinig
f71fc635a2
Fixed return in void function
2013-04-02 13:09:03 +02:00
Sebastian Huber
f2a1ba5002
libfs: Always use geteuid() and getegid()
...
The two functions are independent of the POSIX API.
2013-03-22 15:43:41 +01:00
Sebastian Huber
13bcb3e738
ramdisk: Fix device name generation
2013-03-22 15:10:37 +01:00
Andreas Heinig
5f745464fc
Fixed 2 compiler warnings
2013-03-19 15:13:54 +01:00
Joel Sherrill
af99ec255b
sparc/cpu.h: Add comments
2013-03-18 11:41:36 -05:00
Joel Sherrill
4bcd8dc10c
m68k/cpu.h: Fix formatting and add comment block
2013-03-18 11:41:19 -05:00
Sebastian Huber
6d9ab345e2
IMFS: Fix NULL pointer access
2013-03-18 16:26:31 +01:00
Sebastian Huber
0a596409b9
nios2: Documentation
2013-03-11 17:57:41 +01:00
Jeffrey O. Hill
0986294f89
nios2: Use NIOS2_CTLREG_INDEX_STATUS
2013-03-11 17:57:41 +01:00
Jeffrey O. Hill
8b94c03fdc
nios2: Set CPU_ISR_PASSES_FRAME_POINTER to FALSE
...
This reflects what is currently happening. Define CPU_Interrupt_frame
type to void to prevent accidental usage.
2013-03-11 17:57:41 +01:00
Jeffrey O. Hill
1cddf47a4d
nios2: Add _Nios2_Count_leading_zeros()
...
Add _Nios2_Count_trailing_zeros(). They are currently more efficient
than the corresponding GCC builtins.
2013-03-11 17:57:41 +01:00
Jeffrey O. Hill
3ac61e5262
nios2: Rename file
2013-03-11 17:57:41 +01:00
Jeffrey O. Hill
d8e44ecaf8
nios2: Add optimized IP checksum support
2013-03-11 17:57:41 +01:00
Gedare Bloom
fad2d38a9f
RTEMS: Delete ChangeLog files.
...
This commit deletes all RTEMS ChangeLog files. These files have been abandoned
since converting to git version control. The historical data may be recovered
by checking out any commit before this one. Most of the contents of these
ChangeLog files can also be found in the git log.
Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2013-03-08 15:55:06 -05:00
Joel Sherrill
2adc507f8f
cpukit moxie: Style corrections
2013-02-28 13:08:51 -06:00
Anthony Green
48fc25fb44
Common file changes in support of Moxie port
...
Signed-off-by: Anthony Green <green@moxielogic.com >
2013-02-28 12:24:18 -05:00
Anthony Green
ff11282c63
Add Moxie CPU support
...
Signed-off-by: Anthony Green <green@moxielogic.com >
2013-02-28 12:24:17 -05:00
Andreas Heinig
2434555708
dosfs: PR2091: Fix warning
2013-02-27 11:00:47 +01:00
Sebastian Huber
01eff24887
IMFS: PR2093: Fix warning
2013-02-27 10:53:49 +01:00
Andreas Heinig
d06d4ab312
dosfs: PR2092: Delete unused function
2013-02-27 10:42:52 +01:00
Andreas Heinig
c4946cd0c9
PR2090: Fix warning in threadqdequeuepriority.c
2013-02-26 09:26:13 -06:00
Cudmore, Alan P. (GSFC-5820)
75e5127de6
add __ARM_ARCH_6ZK__ to cpukit/score/cpu/arm/rtems/score/arm.h
2013-02-25 09:05:36 +01:00
Sebastian Huber
71cf3e9d2f
libblock: Do resource allocation in one place
...
All resource allocations take place in rtems_bdbuf_init() now. After
rtems_bdbuf_init() no fatal errors can happen due to configuration
errors or resource limits. This makes it easier to detect
configuration errors for users.
2013-02-21 10:50:04 +01:00
Sebastian Huber
78a50d924c
dosfs: Fix file length update
2013-02-20 09:11:40 +01:00
Sebastian Huber
cd85e841de
dosfs: Start scan with a valid data cluster
...
Simpify the loop. Set last cluster to an undefined value in case no
free cluster exists.
2013-02-15 17:01:55 +01:00
Sebastian Huber
df8c2d77f6
dosfs: Fix file extend
...
Only append a valid cluster chain (cluster added > 0), otherwise we
overwrite the root directory cluster (cluster 0) of a FAT12 or FAT16
with arbitrary data.
2013-02-15 17:01:55 +01:00