Skip to content

Conversation

@xushiwei
Copy link
Member

No description provided.

mstatus := riscv.MSTATUS.Get()
mepc := riscv.MEPC.Get()
// Using threshold to temporary disable this interrupts.
// FYI: using CPU interrupt enable bit make runtime to loose interrupts.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A Note is recommended to use "MARKER(uid): note body" format.

Details

lint 解释

该lint结果提示在注释中使用“MARKER(uid): note body”格式是一个建议。这意味着在编写注释时,应该遵循这种特定的格式来提高代码的可读性和一致性。

错误用法

以下是一个错误的注释示例:

// 这是一个错误的注释示例

正确用法

以下是一个正确的注释示例:

// MARKER(12345): 这是一个正确的注释示例

💡 以上内容由 AI 辅助生成,如有疑问欢迎反馈交流

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant