On Wed, 2007-10-03 at 10:37 +0100, Chris Malley wrote:Hi guys
Would it not be clearer to #include <asm/bootparam.h> and use the relevant named members of struct setup_header / struct boot_params
rather than the hard-coded values 0x202, 0x1F1, 0x214 ?
Yes, but unfortunately bootparam.h wasn't designed to be included from
userspace.
The patch would look like this, but it makes me wonder if it'd be better
to put all these user-exposed types in bootparam.h and have the other
headers include them. hpa?