-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
arch/x86_64:g_current_regs is only used to determine if we are in irq, #15325
base: master
Are you sure you want to change the base?
Conversation
c6170f1
to
8048158
Compare
[Experimental Bot, please feedback here] This PR does not fully meet the NuttX requirements. While it provides some information, it lacks crucial details and context. Here's a breakdown: Missing/Insufficient Information:
Recommendations for Improvement:
Example of an Improved Testing Section:
nsh> some_command # Command that uses the removed functionality
nsh> some_command
By providing more detail and following the NuttX PR requirements, the review process will be much smoother, and the changes will be more likely to be accepted. |
with other functionalities removed. Signed-off-by: liwenxiang1 <[email protected]>
int cpu = this_cpu(); | ||
|
||
tcb = current_task(cpu); | ||
current_task(cpu); |
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.
why add this
nxsched_smp_call_handler(irq, c, arg); | ||
tcb = current_task(cpu); | ||
x86_64_restorestate(tcb->xcp.regs); | ||
current_task(cpu); |
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.
ditto
int cpu = this_cpu(); | ||
|
||
nxsched_process_delivered(cpu); | ||
tcb = current_task(cpu); | ||
x86_64_restorestate(tcb->xcp.regs); | ||
current_task(cpu); |
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.
ditto
with other functionalities removed.
Change-Id: Ic4bdf0e28c2cc0ec462a7c941f7a7cf2b1b53313
Note: Please adhere to Contributing Guidelines.
Summary
g_current_regs is only used to determine if we are in irq,
with other functionalities removed.
Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.
Impact
Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.
no
Testing
Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.
ostest