지난일들/SPARC 4

address space Identifiers and address space

Oracle SPARC Architecture 2011에서 발췌Sparc V9을 기준으로 설명하고있다. ASI Value(sparc v9) range = 0x00 ~ 0xFFrestricted range = ~0x7F unrestricted range = 0x80~0xFFASI (sparc v7)8bit value , identifies a particular address space모든 명령의 실행에 관여 --> 실제로 확인을 해보니 asi가 사용되는 명령의 사용이 없었다. 결 론 : 실행되는 모든 명령에서 asi(address space identifier)를 사용하게 된다. 따라서 실행되는 명령의 decode 과정에서 asi를 확인하고 이 asi의 변화에 따라서 task의 실행을 detect하면 된..

지난일들/SPARC 2014.02.26

context number 확인하기

Antfarm 3.2 SPARC Virtual Memory Architecture 부분 참고Sparc의 TLB관리 정책 sparc은 x86과는 다르게 software를 통해서 TLB를 관리하게 된다. system software는 H/W TLB를 통해서 명시적 가상 주소 공간을 통해서 실행된다. memory reference는 TLB가 translation을 통해서 만들어지는데 이때 TLB entry를 포함하지 않는다. (When a memory reference is made for which no TLB entry contains a translation)exception이 발생하게 되면 OS에서는 적절한 Translation을 실행할 기회를 얻게 되며, CPU는 OS에서 가지고 있는 page tab..

지난일들/SPARC 2014.02.26

SPARC 메모리 구조 - context

Context - context switch의 속도를 빠르게 하기위해서 context number를 사용한다. - context num은 memory의 context table상에서 page table계층구조의 root를 찾는데 사용된다.- context table의 크기는 실행과 무관핟. Page Table Descriptors(PTD)- PTD는 page table의 물리주소를 가지고있다. - 다음 그림은 Level-1/2의 구조를 보여주고 있다. PTP (Page Table Pointer) the PTP appears on bits 35 through 6 of the physical address bus during miss processing ET (Entry Type)

지난일들/SPARC 2013.08.29