{"action":"created","comment":{"url":"https://api.github.com/repos/u-root/u-root/pulls/comments/233241933","pull_request_review_id":174611918,"id":233241933,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzI0MTkzMw==","diff_hunk":"@@ -0,0 +1,112 @@\n+// Copyright 2018 the u-root Authors. All rights reserved\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package multiboot\n+\n+import (\n+\t\"bytes\"\n+\t\"encoding/binary\"\n+)\n+\n+var sizeofInfo = uint32(binary.Size(Info{}))\n+\n+const (\n+\tFlagInfoMemory = 1 << iota\n+\tFlagInfoBootDev\n+\tFlagInfoCmdLine\n+\tFlagInfoMods\n+\tFlagInfoAoutSyms\n+\tFlagInfoElfSHDR\n+\tFlagInfoMemMap\n+\tFlagInfoDriveInfo\n+\tFlagInfoConfigTable\n+\tFlagInfoBootLoaderName\n+\tFlagInfoAPMTable\n+\tFlagInfoVideoInfo\n+\tFlagInfoFrameBuffer\n+)\n+\n+type Info struct {\n+\tFlags    uint32\n+\tMemLower uint32\n+\tMemUpper uint32\n+\n+\tBootDevice uint32\n+\n+\tCmdLine uint32\n+\n+\tModsCount uint32\n+\tModsAddr  uint32\n+\n+\tSyms [4]uint32\n+\n+\tMmapLength uint32\n+\tMmapAddr   uint32\n+\n+\tDriversLength uint32\n+\tDrivesrAddr   uint32\n+\n+\tConfigTable uint32\n+\n+\tBootLoaderName uint32\n+\n+\tAPMTable uint32\n+\n+\tVBEControlInfo  uint32\n+\tVBEModeInfo     uint32\n+\tVBEMode         uint16\n+\tVBEInterfaceSeg uint16\n+\tVBEInterfaceOff uint16\n+\tVBEInterfaceLen uint16\n+\n+\tFramebufferAddr   uint16\n+\tFramebufferPitch  uint16\n+\tFramebufferWidth  uint32\n+\tFramebufferHeight uint32\n+\tFramebufferBPP    byte\n+\tFramebufferType   byte\n+\tColorInfo         [6]byte\n+}\n+\n+type infoWrapper struct {\n+\tInfo\n+\n+\tCmdLine        string\n+\tBootLoaderName string\n+}\n+\n+func (iw infoWrapper) Marshal(base uintptr) ([]byte, error) {\n+\tvar stringParams []string\n+\toffset := sizeofInfo + uint32(base)\n+\tif iw.Flags|FlagInfoCmdLine != 0 {","path":"pkg/multiboot/info.go","position":82,"original_position":82,"commit_id":"41421dbcd7166a6480bb5918275cf8451d091476","original_commit_id":"41421dbcd7166a6480bb5918275cf8451d091476","user":{"login":"n-canter","id":3835083,"node_id":"MDQ6VXNlcjM4MzUwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3835083?v=4","gravatar_id":"","url":"https://api.github.com/users/n-canter","html_url":"https://github.com/n-canter","followers_url":"https://api.github.com/users/n-canter/followers","following_url":"https://api.github.com/users/n-canter/following{/other_user}","gists_url":"https://api.github.com/users/n-canter/gists{/gist_id}","starred_url":"https://api.github.com/users/n-canter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-canter/subscriptions","organizations_url":"https://api.github.com/users/n-canter/orgs","repos_url":"https://api.github.com/users/n-canter/repos","events_url":"https://api.github.com/users/n-canter/events{/privacy}","received_events_url":"https://api.github.com/users/n-canter/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-11-13T22:10:21Z","updated_at":"2018-11-13T22:10:22Z","html_url":"https://github.com/u-root/u-root/pull/1021#discussion_r233241933","pull_request_url":"https://api.github.com/repos/u-root/u-root/pulls/1021","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/u-root/u-root/pulls/comments/233241933"},"html":{"href":"https://github.com/u-root/u-root/pull/1021#discussion_r233241933"},"pull_request":{"href":"https://api.github.com/repos/u-root/u-root/pulls/1021"}},"in_reply_to_id":233149532},"pull_request":{"url":"https://api.github.com/repos/u-root/u-root/pulls/1021","id":230261176,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMjYxMTc2","html_url":"https://github.com/u-root/u-root/pull/1021","diff_url":"https://github.com/u-root/u-root/pull/1021.diff","patch_url":"https://github.com/u-root/u-root/pull/1021.patch","issue_url":"https://api.github.com/repos/u-root/u-root/issues/1021","number":1021,"state":"open","locked":false,"title":"Multiboot","user":{"login":"n-canter","id":3835083,"node_id":"MDQ6VXNlcjM4MzUwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3835083?v=4","gravatar_id":"","url":"https://api.github.com/users/n-canter","html_url":"https://github.com/n-canter","followers_url":"https://api.github.com/users/n-canter/followers","following_url":"https://api.github.com/users/n-canter/following{/other_user}","gists_url":"https://api.github.com/users/n-canter/gists{/gist_id}","starred_url":"https://api.github.com/users/n-canter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-canter/subscriptions","organizations_url":"https://api.github.com/users/n-canter/orgs","repos_url":"https://api.github.com/users/n-canter/repos","events_url":"https://api.github.com/users/n-canter/events{/privacy}","received_events_url":"https://api.github.com/users/n-canter/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-12T20:37:36Z","updated_at":"2018-11-13T22:10:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1983f0d9b1a3f22421ecb83d807008bcae6d81c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/u-root/u-root/pulls/1021/commits","review_comments_url":"https://api.github.com/repos/u-root/u-root/pulls/1021/comments","review_comment_url":"https://api.github.com/repos/u-root/u-root/pulls/comments{/number}","comments_url":"https://api.github.com/repos/u-root/u-root/issues/1021/comments","statuses_url":"https://api.github.com/repos/u-root/u-root/statuses/41421dbcd7166a6480bb5918275cf8451d091476","head":{"label":"n-canter:multiboot","ref":"multiboot","sha":"41421dbcd7166a6480bb5918275cf8451d091476","user":{"login":"n-canter","id":3835083,"node_id":"MDQ6VXNlcjM4MzUwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3835083?v=4","gravatar_id":"","url":"https://api.github.com/users/n-canter","html_url":"https://github.com/n-canter","followers_url":"https://api.github.com/users/n-canter/followers","following_url":"https://api.github.com/users/n-canter/following{/other_user}","gists_url":"https://api.github.com/users/n-canter/gists{/gist_id}","starred_url":"https://api.github.com/users/n-canter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-canter/subscriptions","organizations_url":"https://api.github.com/users/n-canter/orgs","repos_url":"https://api.github.com/users/n-canter/repos","events_url":"https://api.github.com/users/n-canter/events{/privacy}","received_events_url":"https://api.github.com/users/n-canter/received_events","type":"User","site_admin":false},"repo":{"id":145394602,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUzOTQ2MDI=","name":"u-root","full_name":"n-canter/u-root","private":false,"owner":{"login":"n-canter","id":3835083,"node_id":"MDQ6VXNlcjM4MzUwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3835083?v=4","gravatar_id":"","url":"https://api.github.com/users/n-canter","html_url":"https://github.com/n-canter","followers_url":"https://api.github.com/users/n-canter/followers","following_url":"https://api.github.com/users/n-canter/following{/other_user}","gists_url":"https://api.github.com/users/n-canter/gists{/gist_id}","starred_url":"https://api.github.com/users/n-canter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-canter/subscriptions","organizations_url":"https://api.github.com/users/n-canter/orgs","repos_url":"https://api.github.com/users/n-canter/repos","events_url":"https://api.github.com/users/n-canter/events{/privacy}","received_events_url":"https://api.github.com/users/n-canter/received_events","type":"User","site_admin":false},"html_url":"https://github.com/n-canter/u-root","description":"A fully Go userland! u-root can create a root file system (initramfs) containing a busybox-like set of tools written in Go.","fork":true,"url":"https://api.github.com/repos/n-canter/u-root","forks_url":"https://api.github.com/repos/n-canter/u-root/forks","keys_url":"https://api.github.com/repos/n-canter/u-root/keys{/key_id}","collaborators_url":"https://api.github.com/repos/n-canter/u-root/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/n-canter/u-root/teams","hooks_url":"https://api.github.com/repos/n-canter/u-root/hooks","issue_events_url":"https://api.github.com/repos/n-canter/u-root/issues/events{/number}","events_url":"https://api.github.com/repos/n-canter/u-root/events","assignees_url":"https://api.github.com/repos/n-canter/u-root/assignees{/user}","branches_url":"https://api.github.com/repos/n-canter/u-root/branches{/branch}","tags_url":"https://api.github.com/repos/n-canter/u-root/tags","blobs_url":"https://api.github.com/repos/n-canter/u-root/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/n-canter/u-root/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/n-canter/u-root/git/refs{/sha}","trees_url":"https://api.github.com/repos/n-canter/u-root/git/trees{/sha}","statuses_url":"https://api.github.com/repos/n-canter/u-root/statuses/{sha}","languages_url":"https://api.github.com/repos/n-canter/u-root/languages","stargazers_url":"https://api.github.com/repos/n-canter/u-root/stargazers","contributors_url":"https://api.github.com/repos/n-canter/u-root/contributors","subscribers_url":"https://api.github.com/repos/n-canter/u-root/subscribers","subscription_url":"https://api.github.com/repos/n-canter/u-root/subscription","commits_url":"https://api.github.com/repos/n-canter/u-root/commits{/sha}","git_commits_url":"https://api.github.com/repos/n-canter/u-root/git/commits{/sha}","comments_url":"https://api.github.com/repos/n-canter/u-root/comments{/number}","issue_comment_url":"https://api.github.com/repos/n-canter/u-root/issues/comments{/number}","contents_url":"https://api.github.com/repos/n-canter/u-root/contents/{+path}","compare_url":"https://api.github.com/repos/n-canter/u-root/compare/{base}...{head}","merges_url":"https://api.github.com/repos/n-canter/u-root/merges","archive_url":"https://api.github.com/repos/n-canter/u-root/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/n-canter/u-root/downloads","issues_url":"https://api.github.com/repos/n-canter/u-root/issues{/number}","pulls_url":"https://api.github.com/repos/n-canter/u-root/pulls{/number}","milestones_url":"https://api.github.com/repos/n-canter/u-root/milestones{/number}","notifications_url":"https://api.github.com/repos/n-canter/u-root/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/n-canter/u-root/labels{/name}","releases_url":"https://api.github.com/repos/n-canter/u-root/releases{/id}","deployments_url":"https://api.github.com/repos/n-canter/u-root/deployments","created_at":"2018-08-20T09:16:02Z","updated_at":"2018-11-12T20:26:41Z","pushed_at":"2018-11-12T21:29:45Z","git_url":"git://github.com/n-canter/u-root.git","ssh_url":"git@github.com:n-canter/u-root.git","clone_url":"https://github.com/n-canter/u-root.git","svn_url":"https://github.com/n-canter/u-root","homepage":"http://u-root.tk","size":37984,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"u-root:master","ref":"master","sha":"4935824a5eae00c2dcb0f28f25c10ae70e64b04a","user":{"login":"u-root","id":13317538,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzE3NTM4","avatar_url":"https://avatars3.githubusercontent.com/u/13317538?v=4","gravatar_id":"","url":"https://api.github.com/users/u-root","html_url":"https://github.com/u-root","followers_url":"https://api.github.com/users/u-root/followers","following_url":"https://api.github.com/users/u-root/following{/other_user}","gists_url":"https://api.github.com/users/u-root/gists{/gist_id}","starred_url":"https://api.github.com/users/u-root/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u-root/subscriptions","organizations_url":"https://api.github.com/users/u-root/orgs","repos_url":"https://api.github.com/users/u-root/repos","events_url":"https://api.github.com/users/u-root/events{/privacy}","received_events_url":"https://api.github.com/users/u-root/received_events","type":"Organization","site_admin":false},"repo":{"id":46462030,"node_id":"MDEwOlJlcG9zaXRvcnk0NjQ2MjAzMA==","name":"u-root","full_name":"u-root/u-root","private":false,"owner":{"login":"u-root","id":13317538,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzE3NTM4","avatar_url":"https://avatars3.githubusercontent.com/u/13317538?v=4","gravatar_id":"","url":"https://api.github.com/users/u-root","html_url":"https://github.com/u-root","followers_url":"https://api.github.com/users/u-root/followers","following_url":"https://api.github.com/users/u-root/following{/other_user}","gists_url":"https://api.github.com/users/u-root/gists{/gist_id}","starred_url":"https://api.github.com/users/u-root/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u-root/subscriptions","organizations_url":"https://api.github.com/users/u-root/orgs","repos_url":"https://api.github.com/users/u-root/repos","events_url":"https://api.github.com/users/u-root/events{/privacy}","received_events_url":"https://api.github.com/users/u-root/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/u-root/u-root","description":"A fully Go userland! u-root can create a root file system (initramfs) containing a busybox-like set of tools written in Go.","fork":false,"url":"https://api.github.com/repos/u-root/u-root","forks_url":"https://api.github.com/repos/u-root/u-root/forks","keys_url":"https://api.github.com/repos/u-root/u-root/keys{/key_id}","collaborators_url":"https://api.github.com/repos/u-root/u-root/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/u-root/u-root/teams","hooks_url":"https://api.github.com/repos/u-root/u-root/hooks","issue_events_url":"https://api.github.com/repos/u-root/u-root/issues/events{/number}","events_url":"https://api.github.com/repos/u-root/u-root/events","assignees_url":"https://api.github.com/repos/u-root/u-root/assignees{/user}","branches_url":"https://api.github.com/repos/u-root/u-root/branches{/branch}","tags_url":"https://api.github.com/repos/u-root/u-root/tags","blobs_url":"https://api.github.com/repos/u-root/u-root/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/u-root/u-root/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/u-root/u-root/git/refs{/sha}","trees_url":"https://api.github.com/repos/u-root/u-root/git/trees{/sha}","statuses_url":"https://api.github.com/repos/u-root/u-root/statuses/{sha}","languages_url":"https://api.github.com/repos/u-root/u-root/languages","stargazers_url":"https://api.github.com/repos/u-root/u-root/stargazers","contributors_url":"https://api.github.com/repos/u-root/u-root/contributors","subscribers_url":"https://api.github.com/repos/u-root/u-root/subscribers","subscription_url":"https://api.github.com/repos/u-root/u-root/subscription","commits_url":"https://api.github.com/repos/u-root/u-root/commits{/sha}","git_commits_url":"https://api.github.com/repos/u-root/u-root/git/commits{/sha}","comments_url":"https://api.github.com/repos/u-root/u-root/comments{/number}","issue_comment_url":"https://api.github.com/repos/u-root/u-root/issues/comments{/number}","contents_url":"https://api.github.com/repos/u-root/u-root/contents/{+path}","compare_url":"https://api.github.com/repos/u-root/u-root/compare/{base}...{head}","merges_url":"https://api.github.com/repos/u-root/u-root/merges","archive_url":"https://api.github.com/repos/u-root/u-root/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/u-root/u-root/downloads","issues_url":"https://api.github.com/repos/u-root/u-root/issues{/number}","pulls_url":"https://api.github.com/repos/u-root/u-root/pulls{/number}","milestones_url":"https://api.github.com/repos/u-root/u-root/milestones{/number}","notifications_url":"https://api.github.com/repos/u-root/u-root/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/u-root/u-root/labels{/name}","releases_url":"https://api.github.com/repos/u-root/u-root/releases{/id}","deployments_url":"https://api.github.com/repos/u-root/u-root/deployments","created_at":"2015-11-19T02:28:59Z","updated_at":"2018-11-13T14:29:57Z","pushed_at":"2018-11-13T00:51:36Z","git_url":"git://github.com/u-root/u-root.git","ssh_url":"git@github.com:u-root/u-root.git","clone_url":"https://github.com/u-root/u-root.git","svn_url":"https://github.com/u-root/u-root","homepage":"http://u-root.tk","size":39195,"stargazers_count":797,"watchers_count":797,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":115,"mirror_url":null,"archived":false,"open_issues_count":102,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":115,"open_issues":102,"watchers":797,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/u-root/u-root/pulls/1021"},"html":{"href":"https://github.com/u-root/u-root/pull/1021"},"issue":{"href":"https://api.github.com/repos/u-root/u-root/issues/1021"},"comments":{"href":"https://api.github.com/repos/u-root/u-root/issues/1021/comments"},"review_comments":{"href":"https://api.github.com/repos/u-root/u-root/pulls/1021/comments"},"review_comment":{"href":"https://api.github.com/repos/u-root/u-root/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/u-root/u-root/pulls/1021/commits"},"statuses":{"href":"https://api.github.com/repos/u-root/u-root/statuses/41421dbcd7166a6480bb5918275cf8451d091476"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"n-canter"}}