Marcel Moolenaar e11379e9f8 agp.c:
Don't use Maxmem when the amount of memory is meant. Use realmem instead.
Maxmem is not only a MD variable, it represents the highest physical memory
address in use. On systems where memory is sparsely layed-out the highest
memory address and the amount of memory are not interchangeable. Scaling the
AGP aperture based on the actual amount of memory (= realmem) rather than
the available memory (= physmem) makes sure there's consistent behaviour
across architectures.

agp_i810.c:
While arguably the use of Maxmem can be considered correct, replace its use
with realmem anyway. agp_i810.c is specific to amd64, i386 & pc98, which
have a dense physical memory layout. Avoiding Maxmem here is done with an
eye on copy-n-paste behaviour in general and to avoid confusion caused by
using realmem in agp.c and Maxmem in agp_i810.c.

In both cases, remove the inclusion of md_var.h
2012-07-06 15:57:03 +00:00
..
2012-07-05 15:23:45 +00:00
2012-06-21 21:47:08 +00:00
2012-07-05 20:26:57 +00:00
2012-06-27 16:15:13 +00:00
2012-07-06 15:57:03 +00:00
2012-07-03 08:03:07 +00:00
2012-07-06 15:46:38 +00:00
2012-05-23 06:49:50 +00:00
2012-07-02 14:03:19 +00:00
2012-07-03 19:08:02 +00:00
2012-06-11 17:42:39 +00:00
2012-07-05 20:26:57 +00:00
2012-02-28 15:07:05 +00:00
2012-04-16 10:33:46 +00:00