{"action":"created","comment":{"url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments/54700845","id":54700845,"diff_hunk":"@@ -18,8 +18,19 @@\n #define __DEBUG_H__\n \n #include <uvisor.h>\n+#include \"debug_exports.h\"\n #include \"halt.h\"\n \n+/* Debug box handle.\n+ * This is use internally by uVisor to keep track of the registered debug box","path":"core/debug/inc/debug.h","position":8,"original_position":8,"commit_id":"1e562a328ee6d2855db39d5c9737cc83ab8c324d","original_commit_id":"1e562a328ee6d2855db39d5c9737cc83ab8c324d","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":"used","created_at":"2016-03-02T09:50:06Z","updated_at":"2016-03-02T09:50:06Z","html_url":"https://github.com/ARMmbed/uvisor/pull/178#discussion_r54700845","pull_request_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments/54700845"},"html":{"href":"https://github.com/ARMmbed/uvisor/pull/178#discussion_r54700845"},"pull_request":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178","id":61277271,"html_url":"https://github.com/ARMmbed/uvisor/pull/178","diff_url":"https://github.com/ARMmbed/uvisor/pull/178.diff","patch_url":"https://github.com/ARMmbed/uvisor/pull/178.patch","issue_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/178","number":178,"state":"open","locked":false,"title":"Add premilinary support for debug boxes","user":{"login":"AlessandroA","id":8617445,"avatar_url":"https://avatars.githubusercontent.com/u/8617445?v=3","gravatar_id":"","url":"https://api.github.com/users/AlessandroA","html_url":"https://github.com/AlessandroA","followers_url":"https://api.github.com/users/AlessandroA/followers","following_url":"https://api.github.com/users/AlessandroA/following{/other_user}","gists_url":"https://api.github.com/users/AlessandroA/gists{/gist_id}","starred_url":"https://api.github.com/users/AlessandroA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlessandroA/subscriptions","organizations_url":"https://api.github.com/users/AlessandroA/orgs","repos_url":"https://api.github.com/users/AlessandroA/repos","events_url":"https://api.github.com/users/AlessandroA/events{/privacy}","received_events_url":"https://api.github.com/users/AlessandroA/received_events","type":"User","site_admin":false},"body":"This PR includes the following:\r\n* Version 0 of a driver specification for a debug box. This includes\r\n  only 2 handlers: `get_version(void)` and `halt_error(int reason)`.\r\n* A prototype implementation of debug box back-end functionality:\r\n    * A box can register itself on a first-come-first-served basis as a\r\n      debug box. A struct containing the handlers for a driver\r\n      specification is passed to uVisor during registration.\r\n    * uVisor is able to de-privilege and execute handlers from the debug\r\n      box driver. Currently it cannot return from them (but it can\r\n      reboot after them).\r\n\r\n@meriac @Patater ","created_at":"2016-03-01T17:24:37Z","updated_at":"2016-03-02T09:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9932f8f2cee723a1c9efa05156b07733b669ebe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/uvisor/issues/178/comments","statuses_url":"https://api.github.com/repos/ARMmbed/uvisor/statuses/1e562a328ee6d2855db39d5c9737cc83ab8c324d","head":{"label":"AlessandroA:debug_box_prototype","ref":"debug_box_prototype","sha":"1e562a328ee6d2855db39d5c9737cc83ab8c324d","user":{"login":"AlessandroA","id":8617445,"avatar_url":"https://avatars.githubusercontent.com/u/8617445?v=3","gravatar_id":"","url":"https://api.github.com/users/AlessandroA","html_url":"https://github.com/AlessandroA","followers_url":"https://api.github.com/users/AlessandroA/followers","following_url":"https://api.github.com/users/AlessandroA/following{/other_user}","gists_url":"https://api.github.com/users/AlessandroA/gists{/gist_id}","starred_url":"https://api.github.com/users/AlessandroA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlessandroA/subscriptions","organizations_url":"https://api.github.com/users/AlessandroA/orgs","repos_url":"https://api.github.com/users/AlessandroA/repos","events_url":"https://api.github.com/users/AlessandroA/events{/privacy}","received_events_url":"https://api.github.com/users/AlessandroA/received_events","type":"User","site_admin":false},"repo":{"id":52619054,"name":"uvisor","full_name":"AlessandroA/uvisor","owner":{"login":"AlessandroA","id":8617445,"avatar_url":"https://avatars.githubusercontent.com/u/8617445?v=3","gravatar_id":"","url":"https://api.github.com/users/AlessandroA","html_url":"https://github.com/AlessandroA","followers_url":"https://api.github.com/users/AlessandroA/followers","following_url":"https://api.github.com/users/AlessandroA/following{/other_user}","gists_url":"https://api.github.com/users/AlessandroA/gists{/gist_id}","starred_url":"https://api.github.com/users/AlessandroA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlessandroA/subscriptions","organizations_url":"https://api.github.com/users/AlessandroA/orgs","repos_url":"https://api.github.com/users/AlessandroA/repos","events_url":"https://api.github.com/users/AlessandroA/events{/privacy}","received_events_url":"https://api.github.com/users/AlessandroA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlessandroA/uvisor","description":"mbed OS uVisor -- device security layer for ARMv7M microcontrollers","fork":true,"url":"https://api.github.com/repos/AlessandroA/uvisor","forks_url":"https://api.github.com/repos/AlessandroA/uvisor/forks","keys_url":"https://api.github.com/repos/AlessandroA/uvisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlessandroA/uvisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlessandroA/uvisor/teams","hooks_url":"https://api.github.com/repos/AlessandroA/uvisor/hooks","issue_events_url":"https://api.github.com/repos/AlessandroA/uvisor/issues/events{/number}","events_url":"https://api.github.com/repos/AlessandroA/uvisor/events","assignees_url":"https://api.github.com/repos/AlessandroA/uvisor/assignees{/user}","branches_url":"https://api.github.com/repos/AlessandroA/uvisor/branches{/branch}","tags_url":"https://api.github.com/repos/AlessandroA/uvisor/tags","blobs_url":"https://api.github.com/repos/AlessandroA/uvisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlessandroA/uvisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlessandroA/uvisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlessandroA/uvisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlessandroA/uvisor/statuses/{sha}","languages_url":"https://api.github.com/repos/AlessandroA/uvisor/languages","stargazers_url":"https://api.github.com/repos/AlessandroA/uvisor/stargazers","contributors_url":"https://api.github.com/repos/AlessandroA/uvisor/contributors","subscribers_url":"https://api.github.com/repos/AlessandroA/uvisor/subscribers","subscription_url":"https://api.github.com/repos/AlessandroA/uvisor/subscription","commits_url":"https://api.github.com/repos/AlessandroA/uvisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlessandroA/uvisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlessandroA/uvisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlessandroA/uvisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlessandroA/uvisor/contents/{+path}","compare_url":"https://api.github.com/repos/AlessandroA/uvisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlessandroA/uvisor/merges","archive_url":"https://api.github.com/repos/AlessandroA/uvisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlessandroA/uvisor/downloads","issues_url":"https://api.github.com/repos/AlessandroA/uvisor/issues{/number}","pulls_url":"https://api.github.com/repos/AlessandroA/uvisor/pulls{/number}","milestones_url":"https://api.github.com/repos/AlessandroA/uvisor/milestones{/number}","notifications_url":"https://api.github.com/repos/AlessandroA/uvisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlessandroA/uvisor/labels{/name}","releases_url":"https://api.github.com/repos/AlessandroA/uvisor/releases{/id}","deployments_url":"https://api.github.com/repos/AlessandroA/uvisor/deployments","created_at":"2016-02-26T16:56:27Z","updated_at":"2016-02-26T16:56:29Z","pushed_at":"2016-03-02T09:47:50Z","git_url":"git://github.com/AlessandroA/uvisor.git","ssh_url":"git@github.com:AlessandroA/uvisor.git","clone_url":"https://github.com/AlessandroA/uvisor.git","svn_url":"https://github.com/AlessandroA/uvisor","homepage":"","size":4070,"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:master","ref":"master","sha":"603746c473a60c7de013336f3831c81a755c79d7","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-02-26T21:32:40Z","pushed_at":"2016-03-02T09:47:50Z","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":5256,"stargazers_count":51,"watchers_count":51,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":19,"forks":20,"open_issues":19,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178"},"html":{"href":"https://github.com/ARMmbed/uvisor/pull/178"},"issue":{"href":"https://api.github.com/repos/ARMmbed/uvisor/issues/178"},"comments":{"href":"https://api.github.com/repos/ARMmbed/uvisor/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/uvisor/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/uvisor/statuses/1e562a328ee6d2855db39d5c9737cc83ab8c324d"}}}}