You are not logged in.

#1 2013-10-10 08:26:31

leetow2006
Member
Registered: 2013-02-13
Posts: 21

Which file are the macroes of kernel defined in?

I read a book about linux kernel,but I find
there are a lot of macroes in the book,
I want to know which file they are defined in?

Offline

#2 2013-10-10 10:12:20

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Which file are the macroes of kernel defined in?

I doubt there is one big macros.h containing all macros. I also suspect it's not too hard to locate a macro's definition with a bit of searching. And shouldn't the book be telling you?

Anyway, if you want to wait for somebody to give you the answer, you should probably at least mention some of these macros by name.

Offline

#3 2013-10-10 14:48:46

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: Which file are the macroes of kernel defined in?

And don't forget to install the linux-headers package or you won't find much.

Offline

Board footer

Powered by FluxBB