2013年9月19日 星期四

ARM Spec Study

最近要開始讀ARMv8 spec,想說對作system來講,重點的東西要看那些
以下是自己歸納的:
1. States: instruction state, execution state, security state
2. Programming mode, register, datatype
3. Memory & protection
4. Interrrupt & exception vector table (ARM defines interrupt as a special type of exception)
5. I/O
6. Coprocessor


突然回憶起上學期Computer Architecture的時候有一堂課教的東西好像就是在講看電腦系統需要注意的點
回去翻了一下教課書"Computer Architecture, A Quantitative Approach"
Chap 1.3 "Defining Computer Architecture"
提到The word architecture covers all  three aspects of computer design—instruction set architecture, organization, and hardware. 
ISA就是軟硬體間的橋樑,也就是軟體的設計者需要知道的東西 (我在想只有像compiler這種系統軟體才需要知道)
其中organization: the high-level aspects of a computer's system,像是CPU pipeline、memory hierachy...


像是processor mode、memory、exception這些mechanism就是屬於organization
所以我想對於做系統來講,要看spec就是要看ISA, organization囉!!!



Related Posts:

  • Allocating and Freeing Page TablesReference : http://www.chudov.com/tmp/LinuxVM/html/understand/node26.html 因為page table的allocation跟free有很大的cost,而且又是很常要執行的操作(process create&delete) 所以Linux kernel使用quicklists來cache住用來當page table的page quicklist包含pgd_quick… Read More
  • Describing Physical MemoryReference: http://www.chudov.com/tmp/LinuxVM/html/understand/node16.html NUMA(non-uniform memory access)架構下,memory被分成很多的bank(又稱為node),而每個bank被CPU access的cost不同 Linux用struct pg_data_t來代表bank(or node) 而PC是一UMA的架構,所以只有一個p… Read More
  • Cloud Service這學期系上開了很多雲端相關的課程 老實講我覺得有點誇張,就像是在追潮流那樣的猛開 很多課之間都有overlap 也不知道哪一門是最基礎的課,基礎的課應該要有通盤的全局觀來看cloud 有了全局觀後才知道要如何去挑選自己想要的課程 隱隱約約覺得是Cloud Service一個基礎,分成三種cloud service Software as a service - 提供cloud application       &… Read More
  • 2013政交聯合劍道暑訓要點: 左手手指配力,小指到食指為4321,我小指應該都沒握緊,所以舉劍肘關節都會卡死,舉劍劍掉成水平再揮出就會造成劍尾端一直摩擦手掌,因此常手破 胴的史餔力,直接舉到胸口切落,這練習方式蠻有用的,實戰打擊很有用 二足一刀可以改成溜足,整個腰直接一步霸進去切入 五支kote-men的練習 退擊面有點找回感覺 練習應擊技,打擊者不約束部位的練習,切入後觀察打擊者打啥瞬間身體做反應打對應技 切入後的出端kote,切入後架式破掉的打擊 蔡老師調整的中… Read More
  • Time-sharing vs multitaskingTime-sharing是一把一個CPU的時間做細分,來讓多個程式"看起來"同時執行 Multitasking就是"看起來"有很多個程式同時執行 所以time-sharing一定就是multitasking 但Multitasking一定是time-sharing嗎? 如果三個CPU都各只執行一個程式,那這樣是multitasking卻不是time-sharing了 有點像是multitasking是一種結果,而要達到這種結果有許多技術 其中… Read More

0 意見:

張貼留言