forked from project-oak/hafnium-verification
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply the PR on the locks of VCpu. #22
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
efenniht
changed the title
Apply the PR on locks of the VCpu.
Apply the PR on the locks of VCpu.
Aug 14, 2019
efenniht
force-pushed
the
hfo2-10-vcpu_prepare
branch
from
August 14, 2019 04:43
8aac308
to
0a76fbe
Compare
jeehoonkang
approved these changes
Aug 14, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다음 할일은 RawSpinLock을 없애는 것?
@@ -272,33 +270,45 @@ pub unsafe extern "C" fn cpu_find(id: cpu_id_t) -> *mut Cpu { | |||
|
|||
/// Locks the given vCPU and updates `locked` to hold the newly locked vCPU. | |||
#[no_mangle] | |||
pub unsafe extern "C" fn vcpu_lock(vcpu: *mut VCpu) -> VCpuLocked { | |||
sl_lock(&(*vcpu).lock); | |||
pub unsafe extern "C" fn vcpu_lock(vcpu: *mut VCpu) -> VCpuExecutionLocked { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vcpu_execution_lock
? 다른 함수도 마찬가지
efenniht
added a commit
to efenniht/hafnium-verification
that referenced
this pull request
Aug 17, 2019
…ocking. - One is in `api_vcpu_prepare_run` (by kaist-cp#22) - The other is in `api_spci_msg_recv` (from upstream)
efenniht
added a commit
to efenniht/hafnium-verification
that referenced
this pull request
Aug 22, 2019
…ocking. - One is in `api_vcpu_prepare_run` (by kaist-cp#22) - The other is in `api_spci_msg_recv` (from upstream)
efenniht
added a commit
to efenniht/hafnium-verification
that referenced
this pull request
Nov 13, 2019
…ocking. - One is in `api_vcpu_prepare_run` (by kaist-cp#22) - The other is in `api_spci_msg_recv` (from upstream)
efenniht
added a commit
that referenced
this pull request
Nov 26, 2019
…ocking. - One is in `api_vcpu_prepare_run` (by #22) - The other is in `api_spci_msg_recv` (from upstream)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
concurrent_save_restore
테스트 또한 다시 빨라졌습니다)api_vcpu_prepare_run
was ported #10 .