AMD AMD-K6-2/450 Design Guide - Page 40

Write Allocate Enable Limit Field, Write Handling Control Register WHCR Models 8/[F:8] - ram

Page 40 highlights

Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0-November 2000 63 32 31 22 21 17 16 15 0 W A WAELIM E 1 5 M Reserved Symbol WAELIM WAE15M Description Bits Write Allocate Enable Limit 31-22 Write Allocate Enable 15-to-16-Mbyte 16 Note: Hardware RESET initializes this MSR to all zeros. Figure 6. Write Handling Control Register (WHCR) (Models 8/[F:8], 9, and D) Write Allocate Enable Limit Field The WAELIM field is 10 bits wide. This field, multiplied by 4 Mbytes, defines an upper memory limit. Any pending write cycle that misses the L1 cache and that addresses memory below this limit causes the processor to perform a write allocate (assuming the address is not within a range where write allocates are disallowed). Write allocate is disabled for memory accesses at and above this limit unless the processor determines a pending write cycle is cacheable by means of one of the other write allocate mechanisms - "Write to a Cacheable Page" and "Write to a Sector" (for more information, see the "Cache Organization" chapter in the appropriate AMD-K6 or AMD-K6E processor data sheet. The maximum value of this limit is ((210-1) · 4 Mbytes) = 4092 Mbytes. When all the bits in this field are set to 0, all memory is above this limit and the write allocate mechanism is disabled (even if all bits in the WAELIM field are set to 0, write allocates can still occur due to the "Write to a Cacheable Page" and "Write to a Sector" mechanisms). Once the BIOS determines the amount of RAM installed in the system, this number should also be used to program the WAELIM field. For example, a system with 32 Mbytes of RAM would program the WAELIM field with t he value 00_0000_1000b. This value (8), when multiplied by 4 Mbytes, yields 32 Mbytes as the write allocate limit. 28 Model 8/[F:8] Registers

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

28
Model 8/[F:8] Registers
Embedded AMD-K6™ Processors BIOS Design Guide
23913A/0—November 2000
Preliminary Information
Figure 6.
Write Handling Control Register (WHCR) (Models 8/[F:8], 9, and D)
Write Allocate Enable
Limit Field
The WAELIM field is 10 bits wide. This field, multiplied by 4
Mbytes, defines an upper memory limit. Any pending write
cycle that misses the L1 cache and that addresses memory
below this limit causes the processor to perform a write allocate
(assuming the address is not within a range where write
allocates are disallowed).
Write allocate is disabled for memory accesses at and above this
limit unless the processor determines a pending write cycle is
cacheable by means of one of the other write allocate
mechanisms—“Write to a Cacheable Page” and “Write to a
Sector” (for more information, see the “Cache Organization”
chapter in the appropriate AMD-K6 or AMD-K6E processor
data sheet.
The maximum value of this limit is ((2
10
–1) · 4 Mbytes) = 4092
Mbytes. When all the bits in this field are set to 0, all memory is
above this limit and the write allocate mechanism is disabled
(even if all bits in the WAELIM field are set to 0, write allocates
can still occur due to the “Write to a Cacheable Page” and
“Write to a Sector” mechanisms).
Once the BIOS determines the amount of RAM installed in the
system, this number should also be used to program the
WAELIM field. For example, a system with 32 Mbytes of RAM
would program the WAELIM field with the value
00_0000_1000b. This value (8), when multiplied by 4 Mbytes,
yields 32 Mbytes as the write allocate limit.
15
22
0
63
Reserved
WAELIM
16
Note
:
Hardware RESET initializes this MSR to all zeros.
W
A
E
1
5
M
Symbol
Description
Bits
WAELIM
Write Allocate Enable Limit
31-22
WAE15M
Write Allocate Enable 15-to-16-Mbyte 16
17
21
31
32