Example DMA Write Command
DMA写入命令示例
This example describes a typical DMA Write command sequence involving a single data transfer between the HBA and drive. Several data transfers may be required but a single transfer completes the command in this example. Figure 3-18 illustrates a normal DMA Write command sequence. Once the shadow reg- isters have been initialized to specify the start sector address, sector count, etc. the sequence is as follows:
此示例描述了一个典型的DMA写入命令序列,该序列涉及HBA和驱动器之间的单个数据传输。可能需要多次数据传输,但在本例中,一次传输即可完成命令。图3-18显示了一个正常的DMA写入命令序列。一旦影子寄存器被初始化以指定起始扇区地址、扇区数等,序列如下:
1. A write to the command register causes the HBA to send the contents of the shadow registers to the drive via a Register FIS.
1.对命令寄存器的写入使HBA通过寄存器FIS将影子寄存器的内容发送到驱动器。
2. The drive updates its ATA registers with the Register FIS contents.
2.驱动器使用寄存器FIS内容更新其ATA寄存器。
3. The drive parses the command and seeks the disc's target sector.
3.驱动器解析命令并查找磁盘的目标扇区。
4. When the drive is ready to receive the data it delivers a DMA Activate FIS to the HBA.
4.当驱动器准备好接收数据时,它会向HBA发送DMA激活FIS。
5. The DMA Activate FIS notifies the HBA's DMA engine to fetch the data.
5.DMA激活FIS通知HBA的DMA引擎获取数据。
6. Data is delivered to the drive via a DATA FIS and is written to disc.
6.数据通过数据FIS传送到驱动器,并写入磁盘。
7. The drive updates the ATA registers to report completion status and deliv- ers their content to the HBA via a Register FIS.
7.驱动器更新ATA寄存器以报告完成状态,并通过寄存器FIS将其内容提交给HBA。
8. The HBA updates the shadow register contents and generates an interrupt to notify system software of command completion.
8.HBA更新影子寄存器内容并生成中断以通知系统软件命令完成。
9. System software reads successful command completion status from the shadow registers.
9.系统软件从影子寄存器读取成功的命令完成状态。
DMA写入命令示例
This example describes a typical DMA Write command sequence involving a single data transfer between the HBA and drive. Several data transfers may be required but a single transfer completes the command in this example. Figure 3-18 illustrates a normal DMA Write command sequence. Once the shadow reg- isters have been initialized to specify the start sector address, sector count, etc. the sequence is as follows:
此示例描述了一个典型的DMA写入命令序列,该序列涉及HBA和驱动器之间的单个数据传输。可能需要多次数据传输,但在本例中,一次传输即可完成命令。图3-18显示了一个正常的DMA写入命令序列。一旦影子寄存器被初始化以指定起始扇区地址、扇区数等,序列如下:
1. A write to the command register causes the HBA to send the contents of the shadow registers to the drive via a Register FIS.
1.对命令寄存器的写入使HBA通过寄存器FIS将影子寄存器的内容发送到驱动器。
2. The drive updates its ATA registers with the Register FIS contents.
2.驱动器使用寄存器FIS内容更新其ATA寄存器。
3. The drive parses the command and seeks the disc's target sector.
3.驱动器解析命令并查找磁盘的目标扇区。
4. When the drive is ready to receive the data it delivers a DMA Activate FIS to the HBA.
4.当驱动器准备好接收数据时,它会向HBA发送DMA激活FIS。
5. The DMA Activate FIS notifies the HBA's DMA engine to fetch the data.
5.DMA激活FIS通知HBA的DMA引擎获取数据。
6. Data is delivered to the drive via a DATA FIS and is written to disc.
6.数据通过数据FIS传送到驱动器,并写入磁盘。
7. The drive updates the ATA registers to report completion status and deliv- ers their content to the HBA via a Register FIS.
7.驱动器更新ATA寄存器以报告完成状态,并通过寄存器FIS将其内容提交给HBA。
8. The HBA updates the shadow register contents and generates an interrupt to notify system software of command completion.
8.HBA更新影子寄存器内容并生成中断以通知系统软件命令完成。
9. System software reads successful command completion status from the shadow registers.
9.系统软件从影子寄存器读取成功的命令完成状态。
After the pilot trial of our collaboration in the last semester, it’s time for us to review the feedback and identify areas for improvement in preparation for the first launch of this new course.
See how serious we are in reflecting our past learnings for a better course delivery next year?
Thanks Erwin Huang Oscar Liu and Aki … what a great team
#socialinnovation #universitycollaboration #cityuniversityofhongkong #collegeofbusiness #hongkonguniversityofscienceandtechnology #entrepreneurship #globalbusiness
See how serious we are in reflecting our past learnings for a better course delivery next year?
Thanks Erwin Huang Oscar Liu and Aki … what a great team
#socialinnovation #universitycollaboration #cityuniversityofhongkong #collegeofbusiness #hongkonguniversityofscienceandtechnology #entrepreneurship #globalbusiness
Elon Musk praised the "highest quality" Teslas and the employees of Shanghai factory
马斯克称赞上海工厂 “最高质量” 的特斯拉和员工
June.2023
The Shanghai Gigafactory is Tesla’s biggest car manufacturing plant outside the United States. In 2022, the company delivered 1.31 million vehicles globally, more than half of which were from Shanghai, according to its financial results. In May 2022, Musk touted the work ethic of Chinese employees, praising them in an interview with the Financial Times. Just six months later, in November, the Shanghai factory set a fresh monthly delivery record of more than 100,000 vehicles.
上海超级工厂是特斯拉在美国以外最大的汽车制造工厂。该公司的财报显示,2022年,该公司在全球交付了131万辆汽车,其中一半以上来自上海。2022年5月,马斯克在接受英国《金融时报》采访时称赞了中国员工的职业道德。仅仅6个月后的11月,上海工厂就创下了10万辆以上的新月交货纪录。
马斯克称赞上海工厂 “最高质量” 的特斯拉和员工
June.2023
The Shanghai Gigafactory is Tesla’s biggest car manufacturing plant outside the United States. In 2022, the company delivered 1.31 million vehicles globally, more than half of which were from Shanghai, according to its financial results. In May 2022, Musk touted the work ethic of Chinese employees, praising them in an interview with the Financial Times. Just six months later, in November, the Shanghai factory set a fresh monthly delivery record of more than 100,000 vehicles.
上海超级工厂是特斯拉在美国以外最大的汽车制造工厂。该公司的财报显示,2022年,该公司在全球交付了131万辆汽车,其中一半以上来自上海。2022年5月,马斯克在接受英国《金融时报》采访时称赞了中国员工的职业道德。仅仅6个月后的11月,上海工厂就创下了10万辆以上的新月交货纪录。
✋热门推荐