From: Haifeng Tang <haifengx.tang@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH V2] add x86_x32 abi target support
Date: Sun, 15 Feb 2015 09:04:16 +0800 [thread overview]
Message-ID: <1423962256-12810-1-git-send-email-haifengx.tang@intel.com> (raw)
From: tanghaix <haifengx.tang@intel.com>
Support 32bit applications in 64bit mixed environments. x32 ABI (x32 application binary interface) is an application binary interface project for Linux kernel that allows programs to take advantage of the benefits of x86-64 (larger number of CPU registers, better floating-point performance, faster position-independent code shared libraries, function parameters passed via registers, faster syscall instruction) while using 32-bit pointers and thus avoiding the overhead of 64-bit pointers.
Signed-off-by: tanghaix <haifengx.tang@intel.com>
---
framework/dut.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/framework/dut.py b/framework/dut.py
index 9879335..1db6722 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -195,6 +195,9 @@ class Dut(Crb):
arch_huge_pages = hugepages if hugepages > 0 else 1024
elif self.architecture == "i686":
arch_huge_pages = hugepages if hugepages > 0 else 512
+ #set huge pagesize for x86_x32 abi target
+ elif self.architecture == "x86_x32":
+ arch_huge_pages = hugepages if hugepages > 0 else 256
total_huge_pages = self.get_total_huge_pages()
--
1.7.9.5
next reply other threads:[~2015-02-15 1:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 1:04 Haifeng Tang [this message]
2015-02-15 1:39 ` Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1423962256-12810-1-git-send-email-haifengx.tang@intel.com \
--to=haifengx.tang@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).