From e7f1798b5d44fb28b39e71b793e8cbe9e81ed59d Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Wed, 4 Jan 2023 09:46:57 -0800 Subject: Remove --enable-dirty compile option --- config.h.in | 3 --- configure | 16 ---------------- riscv/riscv.ac | 5 ----- 3 files changed, 24 deletions(-) diff --git a/config.h.in b/config.h.in index 01d776c..7f22161 100644 --- a/config.h.in +++ b/config.h.in @@ -99,9 +99,6 @@ /* Define if subproject MCPPBS_SPROJ_NORM is enabled */ #undef RISCV_ENABLED -/* Enable hardware management of PTE accessed and dirty bits */ -#undef RISCV_ENABLE_DIRTY - /* Enable support for running target in either endianness */ #undef RISCV_ENABLE_DUAL_ENDIAN diff --git a/configure b/configure index 8511f37..6bec2e3 100755 --- a/configure +++ b/configure @@ -1359,8 +1359,6 @@ Optional Features: --enable-stow Enable stow-based install --enable-optional-subprojects Enable all optional subprojects - --enable-dirty Enable hardware management of PTE accessed and dirty - bits --enable-dual-endian Enable support for running target in either endianness @@ -6046,20 +6044,6 @@ else as_fn_error $? "libpthread is required" "$LINENO" 5 fi - -# Check whether --enable-dirty was given. -if test "${enable_dirty+set}" = set; then : - enableval=$enable_dirty; -fi - -if test "x$enable_dirty" = "xyes"; then : - - -$as_echo "#define RISCV_ENABLE_DIRTY /**/" >>confdefs.h - - -fi - # Check whether --enable-dual-endian was given. if test "${enable_dual_endian+set}" = set; then : enableval=$enable_dual_endian; diff --git a/riscv/riscv.ac b/riscv/riscv.ac index cb921ef..0b879db 100644 --- a/riscv/riscv.ac +++ b/riscv/riscv.ac @@ -39,11 +39,6 @@ AC_SEARCH_LIBS([dlopen], [dl dld], [ AC_CHECK_LIB(pthread, pthread_create, [], [AC_MSG_ERROR([libpthread is required])]) -AC_ARG_ENABLE([dirty], AS_HELP_STRING([--enable-dirty], [Enable hardware management of PTE accessed and dirty bits])) -AS_IF([test "x$enable_dirty" = "xyes"], [ - AC_DEFINE([RISCV_ENABLE_DIRTY],,[Enable hardware management of PTE accessed and dirty bits]) -]) - AC_ARG_ENABLE([dual-endian], AS_HELP_STRING([--enable-dual-endian], [Enable support for running target in either endianness])) AS_IF([test "x$enable_dual_endian" = "xyes"], [ AC_DEFINE([RISCV_ENABLE_DUAL_ENDIAN],,[Enable support for running target in either endianness]) -- cgit v1.1