{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/49004867","id":49004867,"diff_hunk":"@@ -95,9 +95,16 @@ void GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer)\n   {\n       // Find page size.\n       int pageSize;\n+#if defined(__aarch64__)\n+      // Workaround for 64-bit arm devices (e.g. iPhone 5s, etc.).\n+      // sysctl() and host_page_size() give both wrong 4x value (16384).\n+      // So, we need to hardcode page size to 4096 here.\n+      pageSize = 4096;\n+#else","path":"xbmc/linux/XMemUtils.cpp","position":9,"original_position":9,"commit_id":"441ea27c67c3bd8d9374568b04e33fb0df04b1b1","original_commit_id":"441ea27c67c3bd8d9374568b04e33fb0df04b1b1","user":{"login":"wsnipex","id":909455,"avatar_url":"https://avatars.githubusercontent.com/u/909455?v=3","gravatar_id":"","url":"https://api.github.com/users/wsnipex","html_url":"https://github.com/wsnipex","followers_url":"https://api.github.com/users/wsnipex/followers","following_url":"https://api.github.com/users/wsnipex/following{/other_user}","gists_url":"https://api.github.com/users/wsnipex/gists{/gist_id}","starred_url":"https://api.github.com/users/wsnipex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsnipex/subscriptions","organizations_url":"https://api.github.com/users/wsnipex/orgs","repos_url":"https://api.github.com/users/wsnipex/repos","events_url":"https://api.github.com/users/wsnipex/events{/privacy}","received_events_url":"https://api.github.com/users/wsnipex/received_events","type":"User","site_admin":false},"body":"this sounds like a darwin only bug?","created_at":"2016-01-06T20:23:33Z","updated_at":"2016-01-06T20:23:33Z","html_url":"https://github.com/xbmc/xbmc/pull/8777#discussion_r49004867","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/8777","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/49004867"},"html":{"href":"https://github.com/xbmc/xbmc/pull/8777#discussion_r49004867"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8777"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/8777","id":55226236,"html_url":"https://github.com/xbmc/xbmc/pull/8777","diff_url":"https://github.com/xbmc/xbmc/pull/8777.diff","patch_url":"https://github.com/xbmc/xbmc/pull/8777.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/8777","number":8777,"state":"open","locked":false,"title":"[TVOS] - make Kodi core arm64 aware","user":{"login":"Memphiz","id":701326,"avatar_url":"https://avatars.githubusercontent.com/u/701326?v=3","gravatar_id":"","url":"https://api.github.com/users/Memphiz","html_url":"https://github.com/Memphiz","followers_url":"https://api.github.com/users/Memphiz/followers","following_url":"https://api.github.com/users/Memphiz/following{/other_user}","gists_url":"https://api.github.com/users/Memphiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Memphiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Memphiz/subscriptions","organizations_url":"https://api.github.com/users/Memphiz/orgs","repos_url":"https://api.github.com/users/Memphiz/repos","events_url":"https://api.github.com/users/Memphiz/events{/privacy}","received_events_url":"https://api.github.com/users/Memphiz/received_events","type":"User","site_admin":false},"body":"This is part 2 of the 3 major pull requests i plan to do for adding TVOS (AppleTV4) support to mainline. \r\n\r\nThis basically allows us to compile Kodi core for arm64 targets. I think its pretty straight forward. Once this is in jenkins can build ios builds for arm64 (by simply manually building IOS with arm64 CPU set).\r\n\r\nI plan to do beta, rc and final releases for ios 32bit and 64bit aswell once this is in (for Krypton then). Cydia supports providing both builds and doesn't allow to install the 64bit one on 32bit devices so this would be save.\r\n\r\n@wsnipex and maybe @koying or whoever is interested in looking it over.\r\n\r\nThx to @MrMC and @linusyang once again for finding the needed bits. @linusyang i think you have a much easier live in the future once this was merged (with your custom 64bit builds hehe).","created_at":"2016-01-06T15:40:49Z","updated_at":"2016-01-06T20:23:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb0a9eccffa1f258732ee88594b75d5cf8394d8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/8777/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/8777/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/8777/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/441ea27c67c3bd8d9374568b04e33fb0df04b1b1","head":{"label":"Memphiz:arm64","ref":"arm64","sha":"441ea27c67c3bd8d9374568b04e33fb0df04b1b1","user":{"login":"Memphiz","id":701326,"avatar_url":"https://avatars.githubusercontent.com/u/701326?v=3","gravatar_id":"","url":"https://api.github.com/users/Memphiz","html_url":"https://github.com/Memphiz","followers_url":"https://api.github.com/users/Memphiz/followers","following_url":"https://api.github.com/users/Memphiz/following{/other_user}","gists_url":"https://api.github.com/users/Memphiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Memphiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Memphiz/subscriptions","organizations_url":"https://api.github.com/users/Memphiz/orgs","repos_url":"https://api.github.com/users/Memphiz/repos","events_url":"https://api.github.com/users/Memphiz/events{/privacy}","received_events_url":"https://api.github.com/users/Memphiz/received_events","type":"User","site_admin":false},"repo":{"id":1550525,"name":"xbmc","full_name":"Memphiz/xbmc","owner":{"login":"Memphiz","id":701326,"avatar_url":"https://avatars.githubusercontent.com/u/701326?v=3","gravatar_id":"","url":"https://api.github.com/users/Memphiz","html_url":"https://github.com/Memphiz","followers_url":"https://api.github.com/users/Memphiz/followers","following_url":"https://api.github.com/users/Memphiz/following{/other_user}","gists_url":"https://api.github.com/users/Memphiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Memphiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Memphiz/subscriptions","organizations_url":"https://api.github.com/users/Memphiz/orgs","repos_url":"https://api.github.com/users/Memphiz/repos","events_url":"https://api.github.com/users/Memphiz/events{/privacy}","received_events_url":"https://api.github.com/users/Memphiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Memphiz/xbmc","description":"XBMC Main Repository","fork":true,"url":"https://api.github.com/repos/Memphiz/xbmc","forks_url":"https://api.github.com/repos/Memphiz/xbmc/forks","keys_url":"https://api.github.com/repos/Memphiz/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Memphiz/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Memphiz/xbmc/teams","hooks_url":"https://api.github.com/repos/Memphiz/xbmc/hooks","issue_events_url":"https://api.github.com/repos/Memphiz/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/Memphiz/xbmc/events","assignees_url":"https://api.github.com/repos/Memphiz/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/Memphiz/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/Memphiz/xbmc/tags","blobs_url":"https://api.github.com/repos/Memphiz/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Memphiz/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Memphiz/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Memphiz/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Memphiz/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/Memphiz/xbmc/languages","stargazers_url":"https://api.github.com/repos/Memphiz/xbmc/stargazers","contributors_url":"https://api.github.com/repos/Memphiz/xbmc/contributors","subscribers_url":"https://api.github.com/repos/Memphiz/xbmc/subscribers","subscription_url":"https://api.github.com/repos/Memphiz/xbmc/subscription","commits_url":"https://api.github.com/repos/Memphiz/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Memphiz/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Memphiz/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Memphiz/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Memphiz/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/Memphiz/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Memphiz/xbmc/merges","archive_url":"https://api.github.com/repos/Memphiz/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Memphiz/xbmc/downloads","issues_url":"https://api.github.com/repos/Memphiz/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/Memphiz/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/Memphiz/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/Memphiz/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Memphiz/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/Memphiz/xbmc/releases{/id}","created_at":"2011-03-31T11:10:34Z","updated_at":"2015-12-30T23:16:46Z","pushed_at":"2016-01-06T20:10:39Z","git_url":"git://github.com/Memphiz/xbmc.git","ssh_url":"git@github.com:Memphiz/xbmc.git","clone_url":"https://github.com/Memphiz/xbmc.git","svn_url":"https://github.com/Memphiz/xbmc","homepage":"http://xbmc.org","size":558838,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":19,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"11826f4c43b00d63fb0576585b783d30961763f3","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","created_at":"2011-01-03T21:18:51Z","updated_at":"2016-01-06T17:13:05Z","pushed_at":"2016-01-06T20:09:39Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1728893,"stargazers_count":4397,"watchers_count":4397,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3246,"mirror_url":null,"open_issues_count":212,"forks":3246,"open_issues":212,"watchers":4397,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8777"},"html":{"href":"https://github.com/xbmc/xbmc/pull/8777"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/8777"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/8777/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8777/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8777/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/441ea27c67c3bd8d9374568b04e33fb0df04b1b1"}}}}