{"action":"created","comment":{"url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments/64752238","id":64752238,"diff_hunk":"@@ -165,6 +165,95 @@ static void vmpu_sanity_check_box_namespace(int box_id, const char *const box_na\n     } while (box_namespace[length]);\n }\n \n+static void vmpu_box_index_init(uint8_t box_id, uint32_t context_size, uint32_t heap_size)","path":"core/system/src/mpu/vmpu.c","position":4,"original_position":4,"commit_id":"58b421b183f2e98378151d61d6bcc3cc83f187aa","original_commit_id":"f6e34d1023f867b963b9e9e69a1997ce4019a4ce","user":{"login":"Patater","id":410816,"avatar_url":"https://avatars.githubusercontent.com/u/410816?v=3","gravatar_id":"","url":"https://api.github.com/users/Patater","html_url":"https://github.com/Patater","followers_url":"https://api.github.com/users/Patater/followers","following_url":"https://api.github.com/users/Patater/following{/other_user}","gists_url":"https://api.github.com/users/Patater/gists{/gist_id}","starred_url":"https://api.github.com/users/Patater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patater/subscriptions","organizations_url":"https://api.github.com/users/Patater/orgs","repos_url":"https://api.github.com/users/Patater/repos","events_url":"https://api.github.com/users/Patater/events{/privacy}","received_events_url":"https://api.github.com/users/Patater/received_events","type":"User","site_admin":false},"body":"Because accidents","created_at":"2016-05-26T14:13:07Z","updated_at":"2016-05-26T14:13:07Z","html_url":"https://github.com/ARMmbed/uvisor/pull/224#discussion_r64752238","pull_request_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224","_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments/64752238"},"html":{"href":"https://github.com/ARMmbed/uvisor/pull/224#discussion_r64752238"},"pull_request":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224"}}},"pull_request":{"url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224","id":71354983,"html_url":"https://github.com/ARMmbed/uvisor/pull/224","diff_url":"https://github.com/ARMmbed/uvisor/pull/224.diff","patch_url":"https://github.com/ARMmbed/uvisor/pull/224.patch","issue_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/224","number":224,"state":"open","locked":false,"title":"Add RTOS integration mechanisms (export table and privileged IRQ handlers)","user":{"login":"Patater","id":410816,"avatar_url":"https://avatars.githubusercontent.com/u/410816?v=3","gravatar_id":"","url":"https://api.github.com/users/Patater","html_url":"https://github.com/Patater","followers_url":"https://api.github.com/users/Patater/followers","following_url":"https://api.github.com/users/Patater/following{/other_user}","gists_url":"https://api.github.com/users/Patater/gists{/gist_id}","starred_url":"https://api.github.com/users/Patater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patater/subscriptions","organizations_url":"https://api.github.com/users/Patater/orgs","repos_url":"https://api.github.com/users/Patater/repos","events_url":"https://api.github.com/users/Patater/events{/privacy}","received_events_url":"https://api.github.com/users/Patater/received_events","type":"User","site_admin":false},"body":"This is for the dev branch.\r\n\r\nPrevious comments are on this old PR https://github.com/ARMmbed/uvisor/pull/213\r\n\r\nThis is an example of how the UVISOR_SET_PRIV_SYS_IRQ_HOOKS could be used.\r\n```C++\r\n/* Create ACLs for main box. */                                                                                                                                                                                                                                                                                               \r\nMAIN_ACL(g_main_acl);                                                                                                                                                                                                                                                                                                         \r\n                                                                                                                                                                                                                                                                                                                              \r\n/* Register privleged system IRQ hooks. */                                                                                                                                                                                                                                                                                    \r\nextern \"C\" void SVC_Handler(void);                                                                                                                                                                                                                                                                                            \r\nextern \"C\" void PendSV_Handler(void);                                                                                                                                                                                                                                                                                         \r\nextern \"C\" void SysTick_Handler(void);                                                                                                                                                                                                                                                                                        \r\n                                                                                                                                                                                                                                                                                                                              \r\nstatic const UvisorPrivSystemIRQHooks priv_sys_irq_hooks = {                                                                                                                                                                                                                                                                  \r\n    .priv_svc_0 = SVC_Handler,                                                                                                                                                                                                                                                                                                \r\n    .priv_pendsv = PendSV_Handler,                                                                                                                                                                                                                                                                                            \r\n    .priv_systick = SysTick_Handler,                                                                                                                                                                                                                                                                                          \r\n};                                                                                                                                                                                                                                                                                                                            \r\nUVISOR_SET_PRIV_SYS_IRQ_HOOKS(&priv_sys_irq_hooks);                                                                                                                                                                                                                                                                           \r\n                                                                                                                                                                                                                                                                                                                              \r\n/* Enable uVisor. */                                                                                                                                                                                                                                                                                                          \r\nUVISOR_SET_MODE_ACL(UVISOR_ENABLED, g_main_acl);\r\n```\r\n@meriac @AlessandroA @niklas-arm","created_at":"2016-05-25T09:10:01Z","updated_at":"2016-05-26T14:13:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6620188befb6ca1591767ed8367144003791e09c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/224/comments","statuses_url":"https://api.github.com/repos/ARMmbed/uvisor/statuses/58b421b183f2e98378151d61d6bcc3cc83f187aa","head":{"label":"Patater:export-table","ref":"export-table","sha":"58b421b183f2e98378151d61d6bcc3cc83f187aa","user":{"login":"Patater","id":410816,"avatar_url":"https://avatars.githubusercontent.com/u/410816?v=3","gravatar_id":"","url":"https://api.github.com/users/Patater","html_url":"https://github.com/Patater","followers_url":"https://api.github.com/users/Patater/followers","following_url":"https://api.github.com/users/Patater/following{/other_user}","gists_url":"https://api.github.com/users/Patater/gists{/gist_id}","starred_url":"https://api.github.com/users/Patater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patater/subscriptions","organizations_url":"https://api.github.com/users/Patater/orgs","repos_url":"https://api.github.com/users/Patater/repos","events_url":"https://api.github.com/users/Patater/events{/privacy}","received_events_url":"https://api.github.com/users/Patater/received_events","type":"User","site_admin":false},"repo":{"id":46977092,"name":"uvisor","full_name":"Patater/uvisor","owner":{"login":"Patater","id":410816,"avatar_url":"https://avatars.githubusercontent.com/u/410816?v=3","gravatar_id":"","url":"https://api.github.com/users/Patater","html_url":"https://github.com/Patater","followers_url":"https://api.github.com/users/Patater/followers","following_url":"https://api.github.com/users/Patater/following{/other_user}","gists_url":"https://api.github.com/users/Patater/gists{/gist_id}","starred_url":"https://api.github.com/users/Patater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patater/subscriptions","organizations_url":"https://api.github.com/users/Patater/orgs","repos_url":"https://api.github.com/users/Patater/repos","events_url":"https://api.github.com/users/Patater/events{/privacy}","received_events_url":"https://api.github.com/users/Patater/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Patater/uvisor","description":"mbed OS uVisor -- device security layer for ARMv7M microcontrollers","fork":true,"url":"https://api.github.com/repos/Patater/uvisor","forks_url":"https://api.github.com/repos/Patater/uvisor/forks","keys_url":"https://api.github.com/repos/Patater/uvisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Patater/uvisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Patater/uvisor/teams","hooks_url":"https://api.github.com/repos/Patater/uvisor/hooks","issue_events_url":"https://api.github.com/repos/Patater/uvisor/issues/events{/number}","events_url":"https://api.github.com/repos/Patater/uvisor/events","assignees_url":"https://api.github.com/repos/Patater/uvisor/assignees{/user}","branches_url":"https://api.github.com/repos/Patater/uvisor/branches{/branch}","tags_url":"https://api.github.com/repos/Patater/uvisor/tags","blobs_url":"https://api.github.com/repos/Patater/uvisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Patater/uvisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Patater/uvisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Patater/uvisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Patater/uvisor/statuses/{sha}","languages_url":"https://api.github.com/repos/Patater/uvisor/languages","stargazers_url":"https://api.github.com/repos/Patater/uvisor/stargazers","contributors_url":"https://api.github.com/repos/Patater/uvisor/contributors","subscribers_url":"https://api.github.com/repos/Patater/uvisor/subscribers","subscription_url":"https://api.github.com/repos/Patater/uvisor/subscription","commits_url":"https://api.github.com/repos/Patater/uvisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Patater/uvisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Patater/uvisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Patater/uvisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Patater/uvisor/contents/{+path}","compare_url":"https://api.github.com/repos/Patater/uvisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Patater/uvisor/merges","archive_url":"https://api.github.com/repos/Patater/uvisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Patater/uvisor/downloads","issues_url":"https://api.github.com/repos/Patater/uvisor/issues{/number}","pulls_url":"https://api.github.com/repos/Patater/uvisor/pulls{/number}","milestones_url":"https://api.github.com/repos/Patater/uvisor/milestones{/number}","notifications_url":"https://api.github.com/repos/Patater/uvisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Patater/uvisor/labels{/name}","releases_url":"https://api.github.com/repos/Patater/uvisor/releases{/id}","deployments_url":"https://api.github.com/repos/Patater/uvisor/deployments","created_at":"2015-11-27T11:36:21Z","updated_at":"2016-02-26T16:51:50Z","pushed_at":"2016-05-26T13:17:54Z","git_url":"git://github.com/Patater/uvisor.git","ssh_url":"git@github.com:Patater/uvisor.git","clone_url":"https://github.com/Patater/uvisor.git","svn_url":"https://github.com/Patater/uvisor","homepage":"","size":5164,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ARMmbed:dev","ref":"dev","sha":"f3ddf9fee698d405e7ee8f4c299c6ed2751d7ed3","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":27869517,"name":"uvisor","full_name":"ARMmbed/uvisor","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/uvisor","description":"mbed OS uVisor -- device security layer for ARMv7M microcontrollers","fork":false,"url":"https://api.github.com/repos/ARMmbed/uvisor","forks_url":"https://api.github.com/repos/ARMmbed/uvisor/forks","keys_url":"https://api.github.com/repos/ARMmbed/uvisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/uvisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/uvisor/teams","hooks_url":"https://api.github.com/repos/ARMmbed/uvisor/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/uvisor/events","assignees_url":"https://api.github.com/repos/ARMmbed/uvisor/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/uvisor/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/uvisor/tags","blobs_url":"https://api.github.com/repos/ARMmbed/uvisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/uvisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/uvisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/uvisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/uvisor/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/uvisor/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/uvisor/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/uvisor/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/uvisor/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/uvisor/subscription","commits_url":"https://api.github.com/repos/ARMmbed/uvisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/uvisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/uvisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/uvisor/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/uvisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/uvisor/merges","archive_url":"https://api.github.com/repos/ARMmbed/uvisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/uvisor/downloads","issues_url":"https://api.github.com/repos/ARMmbed/uvisor/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/uvisor/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/uvisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/uvisor/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/uvisor/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/uvisor/deployments","created_at":"2014-12-11T11:59:50Z","updated_at":"2016-05-24T03:12:47Z","pushed_at":"2016-05-26T14:11:55Z","git_url":"git://github.com/ARMmbed/uvisor.git","ssh_url":"git@github.com:ARMmbed/uvisor.git","clone_url":"https://github.com/ARMmbed/uvisor.git","svn_url":"https://github.com/ARMmbed/uvisor","homepage":"","size":6324,"stargazers_count":56,"watchers_count":56,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":29,"forks":33,"open_issues":29,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224"},"html":{"href":"https://github.com/ARMmbed/uvisor/pull/224"},"issue":{"href":"https://api.github.com/repos/ARMmbed/uvisor/issues/224"},"comments":{"href":"https://api.github.com/repos/ARMmbed/uvisor/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/uvisor/statuses/58b421b183f2e98378151d61d6bcc3cc83f187aa"}}}}
{"actor":{"display_login":"Patater"}}