R&D/OS 164

Intel P3700 nvme

Intel NVMe 의 Product 번호를 보면3x00 시리즈와 750 시리즈가 있는데, 3x00 시리즈는 서버향 NVMe 이며 750 시리즈는 클라이언트향이다. PCI 정보08:00.0 Non-Volatile memory controller: Intel Corporation Device 0953 (rev 01) (prog-if 02) Subsystem: Intel Corporation Device 3702 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at ef110000 (64-bit, non-prefetchable) [size=16K] Expansion ROM at ef100000 [disabled] [size=64K] Capabilities..

R&D/OS 2015.07.09

C Language Constructors and Destructors with GCC

Constructor 와 Destructor 는 main 함수가 실행되기 전에 호출되는 special function 이다.main function 이 load 되기 전에 __libc_csu_init 함수에서 constructor 들이 호출된다. 포멧:__attribute__((constructor))__attribute__((destructor))__attribute__(constructor (PRIORITY)))__attribute__(destructor (PRIORITY))) 예제:#include void begin (void) __attribute__((constructor));void end (void) __attribute__((destructor)); int main(){ printf("\n..

R&D/OS 2015.06.23
728x90
반응형