- 博客(42)
- 收藏
- 关注
原创 SylixOS中断抢占配置
文章目录SylixOS中断抢占Arch层实现API接口实现总结SylixOS中断抢占SylixOS是支持中断抢占的,通过IRQ的FLAG标志LW_IRQ_FLAG_PREEMPTIVE进行控制。SylixOS可以通过两种方式设置中断抢占,第一种是Arch层通过archIntHandle实现的,第二种是通过API_InterVectorSetFlag进行控制。着两种方式最终实现效果都是在Arch层实现的。Arch层实现在Arch层archIntHandle负责处理具体中断,archIntHandle代
2021-12-30 14:01:58 365
原创 ubuntu设置sublime命令行打开方式
文章目录ubuntu环境查看sublime安装位置设置软连接打开文件测试ubuntu环境rocky@r:/$ uname -aLinux r 5.11.0-43-generic #47~20.04.2-Ubuntu SMP Mon Dec 13 11:06:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux查看sublime安装位置通过dpkg命令查看sublime软件安装位置。rocky@r:/$ dpkg -L sublime-text/./opt/
2021-12-30 12:04:32 1582
原创 MIPS中断总结
1. mips中断总结本文将总结关于MIPS架构的中断系统。同时也会涉及到SylixOS的BSP如何处理和设置中断控制器。2. 什么是中断在MIPS体系结构中,中断是异常的一种,和其他异常如系统调用采用同样处理机制,这篇文章将着重介绍外部事件引起的中断,例如各种外设。中断是唯一由CPU正常指令流以外的事件引起的异常条件。3. 异常向量表在介绍具体中断前还是有必要了解一下异常向量表相关信息,这涉及到异常向量表的表项和地址相关信息。同时异常向量表是CPU产生异常时,处理产生异常的入口点。这对中断的理解
2021-08-19 18:41:16 2897
原创 affinity
1.affinity 介绍affinity可以显示或者设置进程或线程调度的CPU集合,用户可以通过这个命令手动绑定线程或者进程到指定CPU运行。2.命令参数affinity有三种使用方法,分别是显示当前设置的亲和度配置,设置或者清除设置的亲和度配置[root@sylixos:/root]# help affinity set / clear process or thread cpu affinity.affinity 1 0 set process 1 affinity to
2021-07-29 22:37:09 525
原创 aborts
1.aborts 介绍该命令会显示系统当前内存访问异常、 内存分配错误、 分配物理页错误和页面映射错误次数。2.命令参数aborts没有命令参数,执行效果如下:[root@sylixos:/root]# abortsvmm abort statistics infomation show >>vmm abort (memory access error) counter : 0vmm page fail (alloc success) counter : 0vmm alloc
2021-07-23 15:38:16 275
原创 SylixOS中断系统分析
这里写目录标题1. 适用范围2. 原理概述2.1 中断控制器2.2 异常与模式2.3 分组寄存器2.4 中断向量表1. 适用范围本文将会基于ARM架构介绍SylixOS的中断系统,详细的将中断过程进行了分析,对于想了解SylixOS中断有一定帮助。2. 原理概述中断就是硬件或软件产生的一个信号,处理器会根据当前中断的状态,中止正常指令执行,转而响应中断请求。中断是嵌入式系统中一个非常重要的概念,深入了解一个架构或者系统,中断是必须要理解的核心概念之一。ARM架构中外部中断分为普通中断(IRQ)和快
2021-07-22 17:52:27 888 10
原创 IU8-2: Finding ways to listen to music
Vocabulary谈论在线音乐服务a new app 一个新的应用程序streaming service 流媒体服务monthly subscription 包月offine mode 离线模式unlimited content 无限量内容ad-supported 支持广告no service 没有服务great sound 音效很棒free ...
2018-07-23 22:22:16 379
原创 IU8-1: Talking about music you like
Vocabulary[FELTON]You know, lan says I know nothing about music but, you know, I tend to disgree, because I listen to almost any style of music.[FELTON]I mean, I don't listen to hip-hop or techno...
2018-07-23 21:41:05 228
原创 EU4-34:Proposing s solution to work issue
Company problems; Offering solutions
2017-08-16 21:55:16 420
原创 EU4-14: Summarizing a meeting
Reported, Closing a meeting, Anyone,Anything
2017-07-27 22:22:49 507
原创 EU4-12: Passing on information
Information Present tense Asking for and giving advice
2017-07-24 22:51:13 855
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人