On 7/8/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
On 7/8/06, Jim Gifford <[EMAIL PROTECTED]> wrote:
>
> The best example and most noticeable is from page.h, PAGE_SHIFT is set
> by a variable from the configuration file used to create the kernel.
Interesting. I'd take another look. There is more sanitization in the
kernel build now. If you're talking about asm/page.h, here's what I
get on i386.
Doh! Sorry, wrong system, Jim. That was the l-l-h version. Here's the
headers_install version for i386.
#ifndef _I386_PAGE_H
#define _I386_PAGE_H
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1))
#define LARGE_PAGE_SIZE (1UL << PMD_SHIFT)
#endif /* _I386_PAGE_H */
So, what uses page.h, for example?
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page