Commit 81cb46c0 authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

AIX: Remove hard-coded url and shorten documentation

Change-Id: Id55edb409f64b8dfd72530c95a3a5ca001d176b5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2144750Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#67128}
parent ab6aa517
......@@ -131,29 +131,17 @@ void OS::AdjustSchedulingParams() {}
// static
void* Stack::GetStackStart() {
// Info about this subroutine can be found here:
// https://www.ibm.com/support/knowledgecenter/ssw_aix_72/p_bostechref/pthread_getthrds_np.html
// as well as the header file located under /usr/include/pthread.h in AIX.
// pthread_getthrds_np creates 3 values:
// __pi_stackaddr, __pi_stacksize, __pi_stackend
// __pi_stackend points to the higher address, stack base, since stack grows
// downwards.
// __pi_stackaddr points to the lower address, current sp location.
// __pi_stacksize is the size of the stack from the base in bytes.
// higher address ---------------- __pi_stackend
// higher address ----- __pi_stackend, stack base
//
// |
// |
// |
// | __pi_stacksize, stack grows downwards
// |
// |
// |
// V
//
// lower address ---------------- __pi_stackaddr
// lower address ----- __pi_stackaddr, current sp
pthread_t tid = pthread_self();
struct __pthrdsinfo buf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment