Re: New kernel/resource.c

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Sat, 17 Jul 1999 08:37:50 +0200 (MEST)


Linus Torvalds wrote:
> So I've already set my heart on "ioport". I don't know about "iomem",
> though: nobody calls memory-mapped accesses "IO memory" accesses.

It's called "memory mapped IO" and "IO memory" is a word that you can
decypher the moment you hear it. So, let me say for the record: I like
it.

Linus, wasn't it your intention to have the Linux "mm" tree grab

0x00000000 - 0x000a0000 &
0x00100000 - 0x04000000(*)

as the "iomem" (commonly known as main memory) regions that it would
handle, leaving the 640k-1M region free for real IOmem? Wouldn't the
vmalloc be supposed to grab:

0x04800000 - 0x08800000 ?

and things like that? This would make the name "io memory" even too
specific. But still, iomem is in my opinion a much better name than
something that has "pci".

Roger.

(*) Example: 64Mb machine.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/