Commit graph

59 commits

Author SHA1 Message Date
Jeff Epler
f29fc9da60 rtapi_limits.h: define INT_MIN and friends portably
A quick check in LXR shows that in 2.6.28 and in 3.3 (and presumably the
intervening version), <linux/kernel.h> defines a dozen integer limit
macros including INT_MIN.
2012-04-05 10:55:01 -05:00
Michael Haberler
cf41ac29cf Merge branch 'v2.5_branch' 2012-01-27 20:16:12 +01:00
John Thornton
d4ff1bf165 Docs: re-branding
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2012-01-27 07:02:25 -06:00
Sebastian Kuzminsky
b9baa4d105 Merge remote branch 'origin/v2.5_branch'
Conflicts:
	docs/src/gcode/overview.txt
	scripts/linuxcnc.in
2012-01-21 12:40:55 -07:00
Jeff Epler
f34124af79 manpages: say "LinuxCNC" 2012-01-19 18:31:23 -06:00
Jeff Epler
606d8328f6 hal: Introduce hal_bool, use it for hal_bit_t
The C99 _Bool type and the C++ bool type have an advantage over other
integral types: they only have two distinct values.  Expressions like
'b1 == b2', 'b1 << 3' and 'b1 ^ b2' behave like you would expect a
boolean type to behave, rather than having the problems that result from
using an integral type with more than two distinct values.
2011-11-17 15:05:56 -06:00
Andy
d696bccee3 Some part of my workstream has been randomly setting execute bits.
This commit resets all the ones I have spotted.


Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-08-16 00:41:53 +01:00
Andy Pugh
ae88038288 Documentation for the Hostmot2 BSPI Driver
Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2011-08-15 23:32:53 +01:00
Jeff Epler
1446aa6f28 rtapi_vsnprintf: document the limitations 2011-08-14 18:43:14 +00:00
Jeff Epler
a4971ede05 rtapi_math64.h: division and remainder of 64-bit quantities
this is frequently desirable, but merely writing the obvious
x % y formulation can lead to the 'undefined symbol __umoddi3'
error.

Linux provides some routines to do division of 64-bit quantities
by 32-bit divisors; adopt this in rtapi, and provide a version written
in the obvious way when in userspace.
2011-08-14 18:41:18 +00:00
Jeff Epler
4ab5a6b376 rtapi_byteorder: what's architecture's byte order?
as usual, a different gyration is required for kernel than for userspace.
Harmonize it.
2011-08-14 18:41:17 +00:00
Jeff Epler
78919de4a1 Remove outdated warning about rtapi_get_time
The current implementation in rtai returns accurate times without
much overhead (hundreds of ns at worst, according to measurements by
Andy Pugh).  Remove this superstitious advice.
2011-07-18 13:36:52 -05:00
Jeff Epler
1343de75fa hal: document hal_parport.h APIs 2011-02-07 08:57:20 -06:00
Jeff Epler
dc31d02f03 try to document the s32 gotcha 2011-02-04 09:08:21 -06:00
Jeff Epler
8bfab6831e documentation: HAL APIs don't truncate long names 2010-06-07 07:48:05 -05:00
Jeff Epler
e7bd83137d explain when rtapi_app_exit is not called 2009-09-20 12:39:36 -05:00
Jeff Epler
296ff42f20 fix typo 2009-09-20 12:39:36 -05:00
Jeff Epler
e1a968ae8f fix prototypes for several functions 2009-08-24 13:58:27 -05:00
Jeff Epler
e2231f8c5c got rid of error defines
we may want to defer this until later, if we are concerned about users
of hal or rtapi outside the emc2 source tree

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2009-06-20 11:33:10 -05:00
Jeff Epler
47b82cb0e2 additional notes and realtime considerations 2008-12-06 14:27:22 +00:00
Jeff Epler
5058319bc2 clarify availability of rtapi_inb/rtapi_outb in userspace components 2008-12-06 14:20:53 +00:00
Jeff Epler
ccd4270903 add links for all the macros described in rtapi_module_param 2008-12-06 14:20:53 +00:00
Jeff Epler
4fd5d06ff4 overview of realtime considerations 2008-11-26 03:40:23 +00:00
Jeff Epler
3c8a35c0af seems these functions are not in ulapi 2008-11-26 03:40:10 +00:00
Jeff Epler
3917e0a0d9 explain newly-introduced types 2008-11-12 13:26:06 +00:00
Jeff Epler
2c030a70c0 one-line description of funct 2008-05-26 14:23:30 +00:00
Jeff Epler
9b08f4053d new manual pages 2008-05-26 13:50:34 +00:00
Jeff Epler
04885dfb84 whoops, didn't show prototype for rtapi_inb 2008-05-09 12:41:29 +00:00
Jeff Epler
755c4891e2 start documenting the posemath library 2008-02-16 23:36:47 +00:00
Jeff Epler
abc3a3d020 reflect addition of const qualifiers to APIs that take char* 2008-01-29 13:57:53 +00:00
Jeff Epler
f189284fff document rtapi_math.h and rtapi_string.h so I can point accusingly at people who don't remember to use those istead of the system includes 2007-11-14 16:41:16 +00:00
Jeff Epler
c71c21908a typo 2007-09-20 14:48:11 +00:00
John Kasunich
606d90cb44 document requirement that threads be created fastest first 2007-05-13 07:05:45 +00:00
John Kasunich
ff94f6ad06 document hal_unlink and hal_link changes 2007-05-11 03:40:43 +00:00
Jeff Epler
74ffe2c1c6 make it an error for hal_link(), halcmd linkXX, halcmd net to link a pin to a
signal when the pin was already linked to a different signal.  This is a common
error made by users who are configuring shared home/limit switches, because
they try to attach one input pin to several signals.
2007-05-11 02:40:17 +00:00
Alex Joni
51fca7a11f fix wrong TH header (referring to a different section) 2007-04-01 13:36:13 +00:00
Jeff Epler
134626514d document hal types better 2007-01-16 20:15:12 +00:00
Jeff Epler
8c5efae1ef add note about how to compute time deltas with integer math 2007-01-16 20:15:06 +00:00
Jeff Epler
4199e462af markup fix 2007-01-13 19:31:58 +00:00
Jeff Epler
85d7ed9603 add rtapi_set_msg_handler and rtapi_get_msg_handler so that apps using
rtapi can redirect the messages in whatever way they desire
2007-01-06 04:07:47 +00:00
Jeff Epler
06dc00478d there is no 'num' parameter to the non-array parameter macros 2006-11-25 16:39:41 +00:00
Jeff Epler
7875ed6601 having a blank first line makes 'groff -Tps' put a blank page at the start of the output 2006-11-20 03:44:30 +00:00
Jeff Epler
4441c1bded 8- and 16-bit hal types no longer exist 2006-11-19 13:57:07 +00:00
Alex Joni
6199e4002c s16 and u16 don't exist anymore in HAL 2006-11-19 13:12:43 +00:00
Alex Joni
d6e82a674f s8 doesn't exist anymore in HAL 2006-11-19 13:09:12 +00:00
Alex Joni
f08269dc3e u8 types don't exist anymore in HAL 2006-11-19 13:07:30 +00:00
Jeff Epler
5cc4ae401e these were documented in rtapi_region.3rtapi but didn't have links to these names 2006-11-03 01:55:40 +00:00
Jeff Epler
55dbb50a14 refer to hal_type_t manpage 2006-10-16 20:35:34 +00:00
Jeff Epler
0e24628a80 markup fixes 2006-10-14 14:36:51 +00:00
John Kasunich
551cf908b8 fix a few minor errors 2006-10-14 04:19:08 +00:00