From 641f52789a392f6370195003a04d6e674878628d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 13 Feb 2024 12:15:24 -0600 Subject: rtl/core/cp15: implement thread-local CP15 registers (from v7 spec), required for Linux SMP --- rtl/core/cp15_map.sv | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rtl/core/cp15_map.sv') diff --git a/rtl/core/cp15_map.sv b/rtl/core/cp15_map.sv index 438a5bf..bb8e1d0 100644 --- a/rtl/core/cp15_map.sv +++ b/rtl/core/cp15_map.sv @@ -124,4 +124,10 @@ typedef struct packed logic[0:0] c; } cp15_ttbr; +`define CP15_PID_FSCE 3'd0 +`define CP15_PID_CONTEXT 3'd1 +`define CP15_PID_TPIDRURW 3'd2 +`define CP15_PID_TDIDRURO 3'd3 +`define CP15_PID_TDIDRPRW 3'd4 + `endif -- cgit v1.2.3