{"id":8716,"date":"2018-10-28T09:06:34","date_gmt":"2018-10-28T09:06:34","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=8716"},"modified":"2018-10-28T10:06:42","modified_gmt":"2018-10-28T10:06:42","slug":"nios-ii-interrupts-and-atomic-instruction","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=8716","title":{"rendered":"NIOS II Interrupts and Atomic Instruction"},"content":{"rendered":"<table>\n<tr>\n<td><a href=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2018\/10\/nios2_irq_api_table8-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2018\/10\/nios2_irq_api_table8-1-300x149.png\" alt=\"\" width=\"300\" height=\"149\" class=\"alignleft size-medium wp-image-8723\" srcset=\"https:\/\/blog.bachi.net\/wp-content\/uploads\/2018\/10\/nios2_irq_api_table8-1-300x149.png 300w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2018\/10\/nios2_irq_api_table8-1-624x310.png 624w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2018\/10\/nios2_irq_api_table8-1.png 651w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<h3>Section II. Nios II Processor Implementation and Reference<\/h3>\n<p><a href=\"http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download;jsessionid=DFA0F7F04F538BF2A1937CBD8CDD243A?doi=10.1.1.192.2698&#038;rep=rep1&#038;type=pdf\">Section II. Nios II Processor Implementation and Reference<\/a> (PDF)<\/p>\n<p><strong>Atomic Operations<\/strong><br \/>\nThe Nios II architecture does not have atomic operations (such as load linked and store conditional). Atomic operations are emulated using a kernel system call via the trap<br \/>\n instruction. The toolchain provides intrinsic functions which perform the system call. Applications must use those functions rather than the system call directly. Atomic operations may be added in a future processor extension.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Section II. Nios II Processor Implementation and Reference Section II. Nios II Processor Implementation and Reference (PDF) Atomic Operations The Nios II architecture does not have atomic operations (such as load linked and store conditional). Atomic operations are emulated using a kernel system call via the trap instruction. The toolchain provides intrinsic functions which perform [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8716","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/8716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8716"}],"version-history":[{"count":7,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/8716\/revisions"}],"predecessor-version":[{"id":8724,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/8716\/revisions\/8724"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}