Re: [Emc-developers] locale.h

2012-10-02 Thread Sebastian Kuzminsky
On 10/02/2012 06:42 PM, andy pugh wrote: > On the other hand, it does seem that ought to be a > default include path? Only userspace code gets to see /usr/include. Kernel code (for example all our realtime code) can't use userspace services, so doesn't have the userspace headers in the include

Re: [Emc-developers] locale.h

2012-10-03 Thread andy pugh
On 3 October 2012 02:42, Sebastian Kuzminsky wrote: > Only userspace code gets to see /usr/include. Kernel code (for example all > our realtime code) can't use userspace services, so doesn't have the > userspace headers in the include path. Does that mean that kernel drivers are not allowed to

Re: [Emc-developers] locale.h

2012-10-03 Thread s...@highlab.com
Subject: [Emc-developers] locale.h To: Cc: "EMC developers" On 3 October 2012 02:42, Sebastian Kuzminsky wrote: > Only userspace code gets to see /usr/include. Kernel code (for example all > our realtime code) can't use userspace services, so doesn't have the > u

Re: [Emc-developers] locale.h

2012-10-03 Thread andy pugh
On 3 October 2012 15:23, s...@highlab.com wrote: > Locale info has never been used in the kernel. So i think the constants > (and the unusable function declarations) are deliberately withheld from the > kernel for clarity & simplicity. Looks like a job for a HAL parameter then. I should have tho

Re: [Emc-developers] locale.h

2012-10-03 Thread Sebastian Kuzminsky
On Oct 3, 2012, at 09:10 , andy pugh wrote: > On 3 October 2012 15:23, s...@highlab.com wrote: >> Locale info has never been used in the kernel. So i think the constants >> (and the unusable function declarations) are deliberately withheld from the >> kernel for clarity & simplicity. > > Looks

Re: [Emc-developers] locale.h

2012-10-03 Thread Sebastian Kuzminsky
On Oct 3, 2012, at 12:19 , andy pugh wrote: > On 3 October 2012 18:35, Sebastian Kuzminsky wrote: > >> Wait, you're going to pass locale information into the kernel via HAL? > > Only a choice of decimal separator. And only from the HAL file. > >> I can't help but think you're on the wrong tr

Re: [Emc-developers] locale.h

2012-10-03 Thread andy pugh
On 3 October 2012 19:26, Sebastian Kuzminsky wrote: > So you have one component that reads a stream of text from a HAL pin and puts > it on the LCD, and another comp that makes a stream of text on a HAL pin? No, it's just one component. The HAL-to-LCD part is inside the Hostmot2 driver for the

Re: [Emc-developers] locale.h

2012-10-03 Thread Gene Heskett
On Wednesday 03 October 2012 14:40:23 Sebastian Kuzminsky did opine: > On Oct 3, 2012, at 12:19 , andy pugh wrote: > > On 3 October 2012 18:35, Sebastian Kuzminsky wrote: > >> Wait, you're going to pass locale information into the kernel via > >> HAL? > > > > Only a choice of decimal separator.

Re: [Emc-developers] locale.h

2012-10-03 Thread Sebastian Kuzminsky
On Oct 3, 2012, at 12:36 , andy pugh wrote: > On 3 October 2012 19:26, Sebastian Kuzminsky wrote: > >> So you have one component that reads a stream of text from a HAL pin and >> puts it on the LCD, and another comp that makes a stream of text on a HAL >> pin? > > No, it's just one component.