Hi Marc, 

Any items in particular? Just he IOCTLs? There tends to
be quite a bit of overlap between various architectures in these files,
there just are some small differences. However, if you think somethings
wrong it's always good to fix it now. 

Ali 

On 14.05.2012 19:40, Marc
Orr wrote: 

> Yes. so If you look at the file that Steve referenced,
many of the tty
> ioctrls we define for the other archtectures don't
occur. Also, I
> noticed that in the ARM linux.hh, the constants look a
little
> questionable to me. It almost looks like they were copied and
pasted
> from another architecture, and then a couple of them were
changed to
> be ARM specific.
> 
> Marc
> 
> On Mon, May 14, 2012 at
1:05 AM, Gabe Black <[email protected]> wrote:
> 
>> Oh, I see.
There are two header files, ioctls.h and ioctl.h (one has an s). That's
not confusing at all :-P. Gabe On 05/13/12 21:46, Steve Reinhardt wrote:

>> 
>>> Looks like the latest kernel has all this in there...
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/asm-generic/ioctls.h;h=199975fac395745342a6cabef1bfb612e73fc1dc;hb=HEAD
[5] On Sun, May 13, 2012 at 6:47 PM, Ali Saidi <[email protected] [6]>
wrote: 
>>> 
>>>>>> However, if you go on your favorite x86 machine and
take a look at
>>>> include: 
>>>> 
>>>>>> linux/ioctl.h includes
x86_64-linux-gnu/asm/ioctl.h which includes
>>>> asm-generic/ioctls.h
the lat
>>>> 
>>>>> ctl.h I have on my laptop is attached and doesn't
seem to define any of those. It has a set of macros for building up
IOCTL constants which could be used if those particular calls had
numbers assigned to them, but they don't seem to as far as I was able to
find. My digging around in the kernel strongly suggested that most of
those constants were deprecated and left out of certain architectures,
but I don't have much prior knowledge of IOCTLs or how they're supposed
to be set up. Gabe _______________________________________________
gem5-dev mailing list [email protected] [1]
http://m5sim.org/mailman/listinfo/gem5-dev [2] I was looking on a
relatively new Ubuntu box. Maybe it's a glibc vs eglibc thing. It seems
like the programs using these things on sparc or arm would also compile
on x86. Seems like there is something we ar
>>>> i
_______________________________________________ gem5-dev mailing list
[email protected] [3] http://m5sim.org/mailman/listinfo/gem5-dev [4]
>>>
_______________________________________________ gem5-dev mailing list
[email protected] [7] http://m5sim.org/mailman/listinfo/gem5-dev [8]
>>
_______________________________________________ gem5-dev mailing list
[email protected] [9] http://m5sim.org/mailman/listinfo/gem5-dev [10]
>

> _______________________________________________
> gem5-dev mailing
list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev




Links:
------
[1] mailto:[email protected]
[2]
http://m5sim.org/mailman/listinfo/gem5-dev
[3]
mailto:[email protected]
[4]
http://m5sim.org/mailman/listinfo/gem5-dev
[5]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/asm-generic/ioctls.h;h=199975fac395745342a6cabef1bfb612e73fc1dc;hb=HEAD
[6]
mailto:[email protected]
[7] mailto:[email protected]
[8]
http://m5sim.org/mailman/listinfo/gem5-dev
[9]
mailto:[email protected]
[10]
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to