From nobody Sat Jun 26 11:20:15 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AC0B111CCA59 for ; Sat, 26 Jun 2021 11:20:29 +0000 (UTC) (envelope-from kamalpr@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBryN5M1jz4d98 for ; Sat, 26 Jun 2021 11:20:28 +0000 (UTC) (envelope-from kamalpr@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso7456099wmc.1 for ; Sat, 26 Jun 2021 04:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=noERJ4Pt/DA5UjDyEveqFr1DgqthkCw5hnVfka/Ny2U=; b=SLoFiGpGFS2nRG+lqOqB9f1edTwqm/+hVMuUGNQ0LZQaHbIPWz1Ayl9sbEpi1HE7/j NrtFH9EmCaSUGIFFDfe2dHe+k4xOece4ihFDy6D+3KMphhpsvl0VdTAjzZ+YcY1bjeRd gvMPP63MIPKns6FsCJWAio3VBsT74LXzchjITp1g3A8c1vq4jOfnscxTwULFAdhE0YFw SEbCzI740+p2+C7RIlnKUBvBkBtZQcMkL7oa6tEzpzsaxLodN3lgZy3z/f38NFFz7xMB iQuyL7zUOAfOetjFfYWG7ajjQxANyBs23pVSuBUk5h0br+nlyYYVVnCkTNozFQspPrWk kd7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=noERJ4Pt/DA5UjDyEveqFr1DgqthkCw5hnVfka/Ny2U=; b=SNpr8sxVQoPB2EalFyKcFVYgMClKRGoCj1cjUf5+0fZs0iGaX4sLZPXBRJTN3E0mxT LWuooW6MBlB3RQSa2QwT+kye/oM8uhye0wmW6zwDZfp6KHsbw6aRR+iBb7bZVtkQgAHG 1wyWFhYTtsJGHSAMKfq8LEGDCGyZUVEv02bERhwQfqaylCITJZb5ioMa0u1JFMt4gta5 PqO9ekPNxjvCWsuWkKp1BOecOkERS9o1i/lhyAEpzGkCtOgC12nQtWGQE8icyRpA9yle AMt6YWMGHcjNDGz1xRomwN21VhbyoQdn0OxeW+8/YGLgVH7YaHb/RFRAzKKU6lF3P6fT Q6kA== X-Gm-Message-State: AOAM531Dxwv1Vz73C4qvNvGj2riyFmHfLx0HszJ4eRSA0LzaqOH80MZD wOSgtAWT5uRz3skU+2fFildgxC9eTciWjKmkfjb1f/aMnA== X-Google-Smtp-Source: ABdhPJy45WaqgYyss4wie4m8C0Z6ocDoYjGbdaiT8GR6pTaaRY3rlIf6f8KzEN0VxYIaadjma9ALbHf/uvWxJyo/fjs= X-Received: by 2002:a1c:544e:: with SMTP id p14mr16289800wmi.152.1624706426846; Sat, 26 Jun 2021 04:20:26 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Reply-To: kamalpr@gmail.com From: "Kamal R. Prasad" Date: Sat, 26 Jun 2021 16:50:15 +0530 Message-ID: Subject: pmap.h To: freebsd-arm Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GBryN5M1jz4d98 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SLoFiGpG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kamalpr@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=kamalpr@gmail.com X-Spamd-Result: default: False [-1.12 / 15.00]; HAS_REPLYTO(0.00)[kamalpr@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.084]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32d:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.96)[0.964]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-ThisMailContainsUnwantedMimeParts: N hello, therer are some #defines specific to amd64 in https://github.com/freebsd/freebsd-src/blob/main/sys/amd64/include/pmap.h like #define X86_PG_V 0x001 /* P Valid */ #define X86_PG_RW 0x002 /* R/W Read/Write */ #define X86_PG_U 0x004 /* U/S User/Supervisor */ #define X86_PG_NC_PWT 0x008 /* PWT Write through */ the corresponding #defines are missing in sys/arm64/include/pmap.h i need them to take a dump of some pages. so, can some one tell me where to get these #defines from? thanks -kamal