Commit Graph
25674 Commits
Author SHA1 Message Date
Sebastian Huber 0adc8a74a8 libblock: Use LAST for the last partition block 2013-12-04 09:12:42 +01:00
Daniel Ramirez 3f8abd289b sparc: refactored shared/start.S to shared/start/start.S 2013-12-03 19:49:04 -05:00
Gedare Bloom ebd0844919 leon2: fix typo in doxygen 2013-12-03 15:41:45 -05:00
Toma Radu 133f3cceef leon2: improve doxygen
Add doxygen to the cchip.c & leon_open_eth.c files.
2013-12-03 15:34:52 -05:00
Wendell P Silva 62ba20d759 PR2157: fdisk partition table dump improvement
Show the correct index of partition's last block (partition end).

The documentation of struct rtems_bdpart_partition (P) says that the member
'end' is the "Block index for partition end (this block is not a part of the
partition)". Then, the fdisk's partition table dump should print ((P)->end -
1).

Currently, one can think that the last block of a partition P is superposing
the beginning of the partition (P + 1). Example:

----------------------------------------
       PARTITION TABLE
------------+------------+--------------
 BEGIN      | END        | TYPE
------------+------------+--------------
       2048 |     133120 |       FAT 32
     133120 |   15628032 |       FAT 32
------------+------------+--------------

With be proposed patch, it would be:
----------------------------------------
       PARTITION TABLE
------------+------------+--------------
 BEGIN      | END        | TYPE
------------+------------+--------------
       2048 |     133119 |       FAT 32
     133120 |   15628031 |       FAT 32
------------+------------+--------------
2013-12-03 14:55:34 -05:00
Gedare Bloom 09a8188452 PR2056: libqos conversion from uint32_t to time_t
AquosA defines qres_params_t using qres_time_t so we should also.
This fixes an invalid conversion from uint32_t into time_t as well.
2013-12-03 10:58:26 -05:00
Daniel Ramirez 9f3057fc0d m68k: refactored shared/start.S to shared/start/start.S 2013-12-03 09:25:23 -05:00
Daniel Ramirez b9287a15aa libbsp: refactored sparc/shared/bspgetworkarea.c to sparc/shared/startup/bspgetworkarea.c
* refactored sparc/shared/bspgetworkarea.c to sparc/shared/startup/bspgetworkarea.c
2013-12-03 09:12:31 -05:00
Sebastian Huber b4e83061e3 arm: Clear reservations
Recent GCC versions use atomic operations based on load/store exclusive
in the C++ library.
2013-12-03 12:58:47 +01:00
Sebastian Huber 057c294afd bsps/powerpc: Unconditionally clear reservations 2013-12-03 12:58:47 +01:00
Sebastian Huber f339afb47f bsp/qoriq: Use System V small-data area 2013-12-03 12:58:47 +01:00
Chirayu Desai 4b43051763 powerpc: motorola: Move bspreset.c to startup/
* Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
2013-12-02 22:48:33 -05:00
Daniel Ramirez 064820c874 psxtmtests: added new psxtmthread04 test 2013-12-02 22:43:09 -05:00
Radu 8d830fae23 leon2_doxygen_1 2013-12-02 22:38:09 -05:00
Sebastian Huber aaaedba981 score: Minor _Thread_Dispatch() optimization
It is not necessary to load the executing thread control again after
the context switch since it is an invariant of the executing thread.
2013-12-02 09:43:29 +01:00
Sebastian Huber 927a0a1f99 posix: Use cleanup contexts on the stack
Provide support for latest Newlib <pthread.h> change.  The cleanup
contexts are stored on the thread stack.  This is conformant with the
POSIX requirements for the pthread_cleanup_push() and
pthread_cleanup_pop() statement pair.

Passing an invalid pointer as the routine to pthread_cleanup_push() is
now a usage error and the behaviour is undefined.
2013-12-02 09:24:51 +01:00
Daniel Ramirez 8abf00624c pstmtests_plan.csv: Update to reflect psxtmcond 09 and 10 exit 2013-12-01 20:44:19 -06:00
Radu Toma d230d8eaae sparc/leon3: Add doxygen. 2013-12-01 19:29:12 -05:00
Daniel Ramirez 972579d32b psxtmtests: added psxtmcond06 test 2013-12-01 06:50:25 -06:00
Daniel Ramirez 72ff7569b0 psxtmtests: added new psxtmcond04 test, fixed psxtmcond03 2013-11-30 21:31:30 -05:00
Annelies Odermann 95d7ac7735 psx07.doc: New file 2013-11-30 18:41:11 -06:00
Joel Sherrill 086494d50e psxtmbarrier04/init.c: Fix warnings 2013-11-30 16:06:23 -06:00
Joel Sherrill adc2301723 psxtmthread02/init.c: Fix warnings 2013-11-30 16:06:07 -06:00
Daniel Ramirez 115e059131 fixed psxtmthread02 test, updated .csv to be in sync and added test .docs 2013-11-30 15:50:25 -06:00
Joel Sherrill 135e957616 psxtmtests_plan.csv: Replace comma with colon
This makes it easier for scripts to parse correctly.
2013-11-30 09:53:47 -06:00
Daniel Hellstrom 2d3eb23349 sparc/shared/irq_asm.S: Get pointer to self per-CPU control
_CPU_Context_switch_to_first_task_smp() branches to
done_flushing which requires o3 to be initalized with
"self per-CPU control", this adds initialization of
o3. This problem only affects SMP, see commit
f8ad6c6f7f were usage of o3 was intruduced.
2013-11-30 09:28:28 -06:00
Daniel Ramirez 7de5ef5f83 psxtmtests: Added in new psxtmbarrier04 test, release, preempt 2013-11-30 08:58:55 -06:00
Daniel Ramirez 2d6543d4c8 doxygen: refactored doxygen in libbsp/arm/lpc32xx
This patch refactors a lot of the existing doxygen within libbsp/arm/lpc32xx.
Much of this refactoring was just renaming of existing groups to conform to a
more consistent naming structure. With the addition of a doxygen header for
tm27.h, all files within lpc32xx belong to doxygen group now. lpc32xx should
be used a reference for adding doxygen to other bsps.
2013-11-29 22:48:59 -05:00
Sahil Patnayakuni ad36dc2c36 POSIX timers: Add restrict keyword
+ timer_create()
+ timer_settime()
2013-11-29 17:24:41 -06:00
Bryan Dunsmore 77b1de22cc gettimeofday: Add restrict keyword 2013-11-29 17:24:41 -06:00
Chirayu Desai 4f8ac347f3 libcsupport: readlink: add c99 'restrict' keyword
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
2013-11-29 17:24:41 -06:00
Bryan Dunsmore e5d60243f9 signal methods: Add restrict keyword 2013-11-29 17:24:41 -06:00
Chirayu Desai 734f91825b psxtests: add documentation for psx05 2013-11-29 09:18:03 -06:00
Joel Sherrill 072fe30203 psxtmtests_plan.csv: Avoid comma in descriptions 2013-11-28 08:39:15 -06:00
Gedare Bloom c625a80028 psxtmthread05: delete spurious .cvsignore file 2013-11-27 20:55:10 -05:00
Daniel Ramirez e9a1c991fe psxtmtests: copy psxtmthread05 to psxtmthread06, fix psxtmthread05
The psxtmthread05 test was testing the functionality meant for
psxtmthread06. This patch copies the psxtmthread05 to psxtmthread06
and modifies psxtmthread05 to test the intended functionality.
2013-11-27 20:50:10 -05:00
Philipp Eppelt a9051de9e0 add --enable-paravirt to the configure options 2013-11-27 15:54:04 -05:00
Philipp Eppelt 6ffaeb2899 add --enable-paravirt in cpukit configure scripts 2013-11-27 15:54:04 -05:00
Joel Sherrill 03e54614a3 statvfs filesystem handlers: Remove restrict 2013-11-27 13:06:16 -06:00
Joel Sherrill 47efc01882 psxtmtests_plan.csv: Add explicit No status 2013-11-27 11:04:29 -06:00
Chirayu Desai fa3f87884f Indicate that test psxtmthread05 has been implemented
* update psxtmtests_plan.csv to reflect that the test has been
  implemented.
* Test implemented in db08c3897f
2013-11-27 11:26:05 -05:00
Steven Kou df97c7f878 psxtests: Add test document file to psx06. 2013-11-27 10:03:39 -05:00
Chirayu Desai db08c3897f psxtmtests: Add psxtmthread05 for pthread_setschedparam
New test psxtmthread 05 uses two tasks and times lowering
the priority of one task plus the preemption and context switch
to the other task.
2013-11-27 09:54:57 -05:00
Daniel Ramirez 98eb7e78b6 raspberrypi doxygen refactoring 2013-11-27 09:53:52 -05:00
Sebastian Huber ea3e6928ba nios2: Typos 2013-11-26 10:02:09 +01:00
Sebastian Huber 1350a70254 score: Format changes in _Thread_Set_state() 2013-11-26 10:02:08 +01:00
Sebastian Huber 96962b5d7a score: Simplify _Thread_queue_Dequeue_priority() 2013-11-26 10:02:08 +01:00
Sebastian Huber e99b0e2384 score: Use local variables for consistency 2013-11-26 10:02:08 +01:00
Steven Kou ee4dc2fd4d psxtests: Add test document file to psx09. 2013-11-25 11:11:06 -05:00
Steven Kou d1dbabd215 psxtests: Add test document file to psx08. 2013-11-25 09:49:36 -05:00