DragonFly BSD
DragonFly users List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: First file to look at in dragonfly src tree


From: Vivek Ayer <vivek.ayer@xxxxxxxxx>
Date: Fri, 9 Apr 2010 15:36:05 -0700

Thanks Sascha and Chris,

I'll definitely check out vkernels first and I started using cscope.
Like it a lot. For now, I just want to familiarize myself with project
as well as use it as a source for learning C. I've used C in the past,
but for scientific computing, which is quite different from the
software developer world. These days, I've been using mostly Python
and C++/Qt and both those are object-oriented models. You could say
I've been spoiled by objects.


Thanks for the pointers

On Fri, Apr 9, 2010 at 12:37 PM, Chris Turner
<c.turner@199technologies.org> wrote:
> Vivek Ayer wrote:
>>
>> I just checked out the dragonfly src tree from avalon and was
>> wondering which source file you all would recommend to look at first
>> to get a feel for how the kernel and system works. I supposed wherever
>> 'int main' is, right?
>>
>
> Agree with Sascha r.e. finding some place of interest.. I'd say:
>
> I suppose this depends on what you are trying to learn first -
>
> if you are wondering about generics of how the kernel runs processes,
> threads, handles system calls, etc, Personally, I'd take a look at the
> VKERNEL code -
>
> /usr/src/sys/platform/vkernel/
>
> As it's fairly simple to understand the bootstrap, without worrying about so
> much of the hardware-specific booting (such as bus device enumeration, etc)
>
> If you're trying to write a new device driver, this might not be so helpful
> - in which case I'd check out the appropriate bus drivers first (e.g. pci,
> etc)
>
> And do yourself a favor and fetch a copy of cscope. Just trust me on that
> one :)
>
> Good luck!
>
>
>
>
>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]