OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
McpMemoryController.h File Reference

Go to the source code of this file.

Macros

#define R_NVIDIA_MCP89_DDR_PLL   0x580
 
#define B_NVIDIA_MCP_MC_BASE   0xF001B000
 
#define V_NVIDIA_MCP_MC_VENDOR   0x10DE
 
#define V_NVIDIA_MCP79_MC_DEVICE   0x0A89
 
#define V_NVIDIA_MCP89_MC_DEVICE   0x0D69
 
#define R_NVIDIA_MCP_MC_UN44   0x44
 
#define R_NVIDIA_MCP_MC_MCPC   0x48
 
#define R_NVIDIA_MCP_MC_UN78   0x78
 
#define R_NVIDIA_MCP_MC_MPLM   0xC8
 
#define R_NVIDIA_MCP_MC_MPLN   0xC9
 
#define NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVIDEND(Un44, Un78)
 
#define NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVISOR(Un44, Un78)
 

Detailed Description

Copyright (C) 2021, vit9696. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause

Definition in file McpMemoryController.h.

Macro Definition Documentation

◆ B_NVIDIA_MCP_MC_BASE

#define B_NVIDIA_MCP_MC_BASE   0xF001B000

MMIO base to NVIDIA nForce MCP79 and MCP89 memory controller.

Definition at line 18 of file McpMemoryController.h.

◆ NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVIDEND

#define NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVIDEND ( Un44,
Un78 )
Value:
(25000000ULL * (((Un44) >> 9U) & 0xFFU) * (((Un78) >> 8U) & 0xFFU))

Definition at line 36 of file McpMemoryController.h.

◆ NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVISOR

#define NVIDIA_MCP79_GET_FSB_FREQUENCY_DIVISOR ( Un44,
Un78 )
Value:
(((Un44) & 0xFFU) * ((Un78) & 0xFFU) * (1 << (((Un44) >> 26U) & 3U)))

Definition at line 39 of file McpMemoryController.h.

◆ R_NVIDIA_MCP89_DDR_PLL

#define R_NVIDIA_MCP89_DDR_PLL   0x580

I/O port to obtain current DDR frequency on NVIDIA nForce MCP89 and possibly others. Example value: 1066666664.

Definition at line 13 of file McpMemoryController.h.

◆ R_NVIDIA_MCP_MC_MCPC

#define R_NVIDIA_MCP_MC_MCPC   0x48

Definition at line 31 of file McpMemoryController.h.

◆ R_NVIDIA_MCP_MC_MPLM

#define R_NVIDIA_MCP_MC_MPLM   0xC8

Definition at line 33 of file McpMemoryController.h.

◆ R_NVIDIA_MCP_MC_MPLN

#define R_NVIDIA_MCP_MC_MPLN   0xC9

Definition at line 34 of file McpMemoryController.h.

◆ R_NVIDIA_MCP_MC_UN44

#define R_NVIDIA_MCP_MC_UN44   0x44

MCP79 and MCP89 memory controller registers, not much is known.

Definition at line 30 of file McpMemoryController.h.

◆ R_NVIDIA_MCP_MC_UN78

#define R_NVIDIA_MCP_MC_UN78   0x78

Definition at line 32 of file McpMemoryController.h.

◆ V_NVIDIA_MCP79_MC_DEVICE

#define V_NVIDIA_MCP79_MC_DEVICE   0x0A89

Definition at line 24 of file McpMemoryController.h.

◆ V_NVIDIA_MCP89_MC_DEVICE

#define V_NVIDIA_MCP89_MC_DEVICE   0x0D69

Definition at line 25 of file McpMemoryController.h.

◆ V_NVIDIA_MCP_MC_VENDOR

#define V_NVIDIA_MCP_MC_VENDOR   0x10DE

Common PCI identifiers for nForce MCP79 and MCP89 memory controllers.

Definition at line 23 of file McpMemoryController.h.