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

Flush/Invalidate Register (PFIR), LIN Field, PF Bit

Page 48 highlights

Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0-November 2000 Page Flush/Invalidate Register (PFIR) Models 8/[F:8], 9, and D contain the Page Flush/Invalidate Register (PFIR) (see Figure 9) that allows cache invalidation and optional flushing of a specific 4-Kbyte page from the linear address space. The total amount of L1 cache in the processor is 64 Kbytes. Using this register can result in a much lower cycle count for flushing particular pages versus flushing the entire cache. When the PFIR is written to (using the WRMSR instruction), the invalidation and, optionally, the flushing begins. The PFIR register is MSR C000_0088h. Note: The invalidate and flush operations affect both the L1 and L2 caches on models 9 and D. 63 32 31 12 11 9 8 7 10 LINPAGE P F F / I Symbol LINPAGE PF F/I Reserved Description 20-bit Linear Page Address Page Fault Occurred Flush/Invalidate Command Bit 31-12 8 0 Figure 9. Page Flush/Invalidate Register (PFIR) (Models 8/[F:8], 9, and D) LINPAGE Field This 20-bit field must be written with bits 31:12 of the linear address of the 4-Kbyte page that is to be invalidated and optionally flushed from the L1 cache. PF Bit If an attempt to invalidate or flush a page results in a page fault, the processor sets the PF bit to 1, and the invalidate or flush operation is not performed (even though invalidate operations do not normally generate page faults). In this case, an actual page fault exception is not generated. If the PF bit equals 0 after an invalidate or flush operation, then the operation executed successfully. The PF bit must be read after every write to the PFIR register to determine if the invalidate or flush operation executed successfully. 36 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

36
Model 8/[F:8] Registers
Embedded AMD-K6™ Processors BIOS Design Guide
23913A/0—November 2000
Preliminary Information
Page Flush/Invalidate Register (PFIR)
Models 8/[F:8], 9, and D contain the Page Flush/Invalidate
Register (PFIR) (see Figure 9) that allows cache invalidation
and optional flushing of a specific 4-Kbyte page from the linear
address space.
The total amount of L1 cache in the processor is 64 Kbytes.
Using this register can result in a much lower cycle count for
flushing particular pages versus flushing the entire cache.
When the PFIR is written to (using the WRMSR instruction),
the invalidation and, optionally, the flushing begins.
The PFIR register is MSR C000_0088h.
Note:
The invalidate and flush operations affect both the L1 and
L2 caches on models 9 and D.
Figure 9.
Page Flush/Invalidate Register (PFIR) (Models 8/[F:8], 9, and D)
LINPAGE Field
This 20-bit field must be written with bits 31:12 of the linear
address of the 4-Kbyte page that is to be invalidated and
optionally flushed from the L1 cache.
PF Bit
If an attempt to invalidate or flush a page results in a page
fault, the processor sets the PF bit to 1, and the invalidate or
flush operation is not performed (even though invalidate
operations do not normally generate page faults). In this case,
an actual page fault exception is not generated.
If the PF bit equals 0 after an invalidate or flush operation,
then the operation executed successfully. The PF bit must be
read after every write to the PFIR register to determine if the
invalidate or flush operation executed successfully.
LINPAGE
1
0
63
F
/
I
Reserved
Symbol
Description
Bit
LINPAGE
20-bit Linear Page Address
31-12
PF
Page Fault Occurred
8
F/I
Flush/Invalidate Command
0
11
31
12
32
P
F
9
8
7