프로그래밍/C2012. 11. 24. 11:13

결론부터 말하면, typedef 과 static은 storage class이기 때문에, 둘다 동시에 사용 못한다.

(우리가 변수를 int와 long으로 동시에 선언하지 못하듯이 말이다.)

 

또한 typedef은 변수를 instance화 시키는게 아니라, type을 선언하는 것이다.  반면에 static은 instance에 적용된다.

'프로그래밍 > C' 카테고리의 다른 글

typedef struct 안에서 스스로를 참조 할 때 주의점  (0) 2013.11.19
symbol visibility  (0) 2013.08.07
인라인 어셈블리  (0) 2012.09.25
include guard에 대해서  (0) 2012.09.24
구조체 초기화 방법  (0) 2012.08.21
Posted by code cat

Using GNU Make's 'define' and '$(eval)' to automate rule creation

About once a week I get an email from someone random asking a question about GNU Make. I do my best to answer and figured it might be helpful for others if I shared these questions and my answers. So, here goes. This one starts with a Princess Leia style appeal:
I stumbled across your name when googling for help on a GNUmake related problem, hope you have the time to look at it as you are my last hope. I have the following problem in my Makefile:
$(LIBDIR)/libfoo.a: $(filter $(OBJDIR)/foo/%,$(OBJECTS)) 
$(LIBDIR)/libbar.a: $(filter $(OBJDIR)/bar/%,$(OBJECTS)) 
$(LIBDIR)/libbaz.a: $(filter $(OBJDIR)/baz/%,$(OBJECTS)) 
  
$(LIBDIR)/%.a: 
        ar -r $@ $^ 
        ranlib $@
so far, so good - it works as expected. The only problem is, that in the real world it's not just foo, bar and baz for me and I hate having to maintain the list manually. What I would like to do is something like this:
$(LIBDIR)/lib%.a: $(filter $(OBJDIR)/%/%,$(OBJECTS)) 
        ar -r $@ $^ 
        ranlib $@
but now the pattern for filter has two percentage-characters and this seem to confuse GNUmake. I tried to escape it, use $(call …), etc. but nothing really works. Do you have any trick/hint/idea how to solve this??

Thanks for your time, Best Regards,
And my reply:
Thanks for your mail. I can see what you are trying to do. I think the easiest way out of your predicament is as follows:
# Example of manually maintained list 
# 
# $(LIBDIR)/libfoo.a: $(filter $(OBJDIR)/foo/%,$(OBJECTS)) 
# $(LIBDIR)/libbar.a: $(filter $(OBJDIR)/bar/%,$(OBJECTS)) 
# $(LIBDIR)/libbaz.a: $(filter $(OBJDIR)/baz/%,$(OBJECTS)) 
# 
# $(LIBDIR)/%.a: 
#        ar -r $@ $^ 
#        ranlib $@ 
 
# What you'd like to be able to do 
# 
# $(LIBDIR)/lib%.a: $(filter $(OBJDIR)/%/%,$(OBJECTS)) 
#        ar -r $@ $^ 
#        ranlib $@ 
 
# The following will work 
# 
# Suppose, for example: 
 
LIBDIR  := lib 
OBJDIR  := obj 
OBJECTS := $(OBJDIR)/foo/hello.o $(OBJDIR)/foo/bar.o $(OBJDIR)/bar/hello.o \ 
$(OBJDIR)/baz/bar.o 
 
# Extract the names of the first level directories underneath 
# $(OBJDIR) and make a unique list (sort removes duplicates) and store 
# that in LIBNAMES.  This assumes that there are no spaces in any of 
# the filenames in $(OBJECTS) and that each element of $(OBJECTS) 
# starts with $(OBJDIR) 
 
LIBNAMES := $(sort $(foreach a,$(patsubst $(OBJDIR)/%,%,$(OBJECTS)),\ 
$(firstword $(subst /, ,$a)))) 
 
# The following function finds all the objects in $(OBJECTS) in a 
# particular directory whose name can be found in LIBNAMES.  So, in 
# the example here doing $(call find-objects,foo) would return 
# obj/foo/hello.o obj/foo/bar.o 
 
find-objects = $(filter $(OBJDIR)/$1/%,$(OBJECTS)) 
 
# Now need to define the rule that handles each of the libraries 
# mentioned in $(LIBNAMES).  This function can be used with $(eval) to 
# define the rule for a single directory 
 
define make-library  
$(LIBDIR)/lib$1.a: $(call find-objects,$1) 
        ar -r $$@ $$^ 
        ranlib $$@ 
endef 
 
# Now define the rules for all the directories found in $(LIBNAMES) 
 
$(foreach d,$(LIBNAMES),$(eval $(call make-library,$d)))
You will need a version of GNU Make that supports $(eval).

 

Posted by code cat
XX XX 프로젝트2012. 11. 13. 09:01

일을 하다보면 remind 메일을 써야 할 때가 있다.  밑에 email을 참조해 보자.

Dear students:

This email is to remind of the meeting held today for the workshop you registered in previously. We will be discussing some issues regarding the timing and planning for the course. I look forward to seeing you all there. Below are the specific meeting details:

Time: (add time here)
Place: (enter name and address here)

Sincerely,
Your name

 

Posted by code cat

Bionic 이 지원안하고 안 할려는 리스트:

 

1. C++ exception (크고 느린 코드 생성원인)

2. pthread cancellation (C 코드 복잡성만 증가. 이런거에 의존하지 말고 multi-thread 코딩을 잘해라)

3. init 함수가 던진 c++ exception에 대한 pthread_once()지원 안함  (init함수가 하는 fork()도)

4. locale & wide characters (i18n을 위해 대신 ICU)

5. 유저 계정 관련 함수(getpwd 등)

Posted by code cat

a port of BSD C library to linux kernel with the following additions/changes:

- no support fo locales

- no support for wide chars (multi-byte characters)

- own smallish implementation of pthreads based on Linux futexes

- support fo x86, ARM, and ARM thumb cpu instruction sets and kernel interfaces

 

To add new syscalls:

Bionic provides the 'gensyscalls.py' script to automatically generate syscall stubs from the list defined in the file 'SYSCALLS.TXT'

To add a new syscall:

1. SYSCALL.TXT 수정

2. syscall에 대한 새로운 라인 추가:

return_type syscall_name(parameters)    syscall_number

3. syscall function과 entry name을 구분 짓고 싶으면:

return_type funcname:syscall_name(parameters)    syscall_number

4. 추가로 syscall number가 ARM 과 x86끼리 다르면,

return_type funcname[:syscall_name](parameters)    arm_number, x86_number

5. 플랫폼에 syscall이 구현안되었다고 나타내려면 -1을 사용하라.

void __set_tls(void*)    arm_number, -1     (예제)

 

자세한 내용은 SYSCALLS.TXT를 참조하고, 'checksyscalls.py'를 사용하여, syscall number를 제대로 사용하였는지 체크할 수도 있다.(리눅스 커널 헤더들안의 숫자와 비교한다.)

'안드로이드 > 프레임워크' 카테고리의 다른 글

[Android] OTA DownloadProvider document  (0) 2013.10.18
Bionic libc (3)  (0) 2012.11.08
Bionic libc  (0) 2012.10.30
안드로이드 init.rc (oom_adj값)  (0) 2012.09.27
Dalvik Virtual Machine 와 odex  (0) 2012.08.13
Posted by code cat

만일 빼고 싶은 패스가 /home/user/bin이라면, 다음과 같이 하면 된다.

PATH=$(echo $PATH | sed -e 's;:\?/home/user/bin;;' -e 's;/home/user/bin:\?;;')
Posted by code cat

출처: wikipeida (http://en.wikipedia.org/wiki/Bionic_(software))

The Bionic libc is a derivation of the BSD standard C library code that was originally developed by Google for the Android embedded system operating system. Bionic has several major Linux-specific features and development continues independent of other code bases. The publicly-stated goals for Bionic are:[1][2]
BSD license: Android uses a Linux kernel which is under the GNU General Public License (GPL), but Google wished to isolate Android applications from the effects of the GPL.
Small size: Bionic is much smaller than GNU libc (glibc) and somewhat smaller than uClibc.
Speed: Bionic is designed for CPUs at relatively low clock frequencies.

Bionic lacks many features found in full libc implementations, such as wide character and C++ exception handling support.[1][3][4] Also some functions defined in the Bionic header are still unimplemented, which may trigger unexpected behavior in some cases.[1][4][5][6]

As of Android Jelly Bean (4.1), bionic does not include support for Glibc's FORTIFY_SOURCE. FORTIFY_SOURCE is a feature where unsafe string and memory functions (such as strcpy, strcat, and memcpy) are replaced with safer variants (similar to BSD's lstrcpy and lstrcat) when buffer sizes can be determined at compile time. Future releases of the library plan to support -DFORTIFY_SOURCE=1.[7]

The recommended way of directly using and extending Bionic is with the Android Native Development Kit.

'안드로이드 > 프레임워크' 카테고리의 다른 글

Bionic libc (3)  (0) 2012.11.08
Bionic libc (2)  (0) 2012.11.08
안드로이드 init.rc (oom_adj값)  (0) 2012.09.27
Dalvik Virtual Machine 와 odex  (0) 2012.08.13
안드로이드 바인더 ipc  (0) 2011.10.23
Posted by code cat
IT2012. 10. 24. 10:00

 

Color

 

Models

Size and Weight1

Height:
9.50 inches (241.2 mm)
Width:
7.31 inches (185.7 mm)
Depth:
0.37 inch (9.4 mm)
Weight:
1.44 pounds (652 g)
Height:
9.50 inches (241.2 mm)
Width:
7.31 inches (185.7 mm)
Depth:
0.37 inch (9.4 mm)
Weight:
1.46 pounds (662 g)
Learn more about iPad with Wi-Fi + Cellular

Storage2

16GB
32GB
64GB
16GB
32GB
64GB

Wireless and Cellular

  • 802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
  • Bluetooth 4.0 wireless technology
  • Model A1459*
    • GSM/EDGE (850, 900, 1800, 1900 MHz)
    • UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz)
    • LTE (Bands 4 and 17)
  • Model A1460*
    • CDMA EV-DO Rev. A and Rev. B (800, 1900, 2100 MHz)
    • GSM/EDGE (850, 900, 1800, 1900 MHz)
    • UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz) 
    • LTE (Bands 1, 3, 5, 13, 25)
  • Data only3
  • 802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
  • Bluetooth 4.0 wireless technology

Carriers

AT&T, Sprint, Verizon

Display

  • Retina display
  • 9.7-inch (diagonal) LED-backlit Multi-Touch display with IPS technology
  • 2048-by-1536 resolution at 264 pixels per inch (ppi)
  • Fingerprint-resistant oleophobic coating

Chip

Dual-core A6X with quad-core graphics

Cameras, Photos, and Video Recording

FaceTime HD Camera

  • 1.2MP photos
  • 720p HD video
  • FaceTime video calling over Wi-Fi or cellular4
  • Face detection
  • Backside illumination
  • Tap to control exposure for video or still images
  • Photo and video geotagging

iSight Camera

  • 5MP photos
  • Autofocus
  • Face detection
  • Backside illumination
  • Five-element lens
  • Hybrid IR filter
  • ƒ/2.4 aperture
  • Tap to focus video or still images
  • Tap to control exposure for video or still images
  • Photo and video geotagging

Video Recording

  • 1080p HD video recording
  • Video stabilization
  • Face detection
  • Tap to focus while recording
  • Backside illumination

External Buttons and Connectors

External Buttons and Controls

Connectors and Input/Output

Power and Battery5

  • Built-in 42.5-watt-hour rechargeable lithium-polymer battery
  • Up to 10 hours of surfing the web on Wi-Fi, watching video, or listening to music
  • Charging via power adapter or USB to computer system
  • Built-in 42.5-watt-hour rechargeable lithium-polymer battery
  • Up to 10 hours of surfing the web on Wi-Fi, watching video, or listening to music
  • Up to 9 hours of surfing the web using cellular data network
  • Charging via power adapter or USB to computer system

Input/Output

  • Lightning connector
  • 3.5-mm stereo headphone minijack
  • Built-in speaker
  • Microphone
  • Lightning connector
  • 3.5-mm stereo headphone minijack
  • Built-in speaker
  • Microphone
  • Micro-SIM card tray

Sensors

  • Three-axis gyro
  • Accelerometer
  • Ambient light sensor
  • Three-axis gyro
  • Accelerometer
  • Ambient light sensor

Location

  • Wi-Fi
  • Digital compass
  • Wi-Fi
  • Digital compass
  • Assisted GPS and GLONASS
  • Cellular

Audio Playback

  • Frequency response: 20Hz to 20,000Hz
  • Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE-AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV
  • User-configurable maximum volume limit

TV and Video

  • AirPlay Mirroring to Apple TV (2nd and 3rd generation) at 720p
  • AirPlay video streaming to Apple TV (3rd generation) at up to 1080p and Apple TV (2nd generation) at up to 720p
  • Video mirroring and video out support: Up to 720p through Lightning Digital AV Adapter and Lightning to VGA Adapter; video playback up to 1080p (sold separately)
  • Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

Mail Attachment Support

Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)

Languages

  • Language support for English (U.S.), English (UK), Chinese (Simplified), Chinese (Traditional), French, German, Italian, Japanese, Korean, Spanish, Arabic, Catalan, Croatian, Czech, Danish, Dutch, Finnish, Greek, Hebrew, Hungarian, Indonesian, Malay, Norwegian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Slovak, Swedish, Thai, Turkish, Ukrainian, Vietnamese
  • Keyboard support for English (U.S.), English (Australian), English (Canadian), English (UK), Chinese - Simplified (Handwriting, Pinyin, Stroke), Chinese - Traditional (Handwriting, Pinyin, Zhuyin, Cangjie, Stroke), French, French (Canadian), French (Switzerland), German (Germany), German (Switzerland), Italian, Japanese (Romaji, Kana), Korean, Spanish, Arabic, Bulgarian, Catalan, Cherokee, Croatian, Czech, Danish, Dutch, Emoji, Estonian, Finnish, Flemish, Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Latvian, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese (Portugal), Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic/Latin), Slovak, Swedish, Thai, Tibetan, Turkish, Ukrainian, Vietnamese
  • Dictionary support (enables predictive text and autocorrect) for English (U.S.), English (Australian), English (Canadian), English (UK), Chinese - Simplified (Handwriting, Pinyin, Stroke), Chinese - Traditional (Handwriting, Pinyin, Zhuyin, Cangjie, Stroke), French, French (Canadian), French (Switzerland), German (Germany), German (Switzerland), Italian, Japanese (Romaji, Kana), Korean, Spanish, Arabic, Bulgarian, Catalan, Cherokee, Croatian, Czech, Danish, Dutch, Estonian, Finnish, Flemish, Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Latvian, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese (Portugal), Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic/Latin), Slovak, Swedish, Thai, Turkish, Ukrainian, Vietnamese
  • Siri language support for English (U.S., UK, Canada, Australia), Spanish (U.S., Mexico, Spain), French (France, Canada, Switzerland), German (Germany, Switzerland), Italian (Italy, Switzerland), Japanese, Korean, Mandarin (Mainland China, Taiwan), Cantonese (Hong Kong)

Accessibility

  • VoiceOver screen reader
  • Guided Access
  • Support for playback of closed-captioned content
  • AssistiveTouch interface for adaptive accessories
  • Full-screen zoom magnification
  • Large text
  • Option to invert colors
  • Left/right volume adjustment

Environmental Requirements

  • Operating ambient temperature: 32° to 95° F (0° to 35° C)
  • Nonoperating temperature: -4° to 113° F (-20° to 45° C)
  • Relative humidity: 5% to 95% noncondensing
  • Maximum operating altitude: 10,000 feet (3000 m)

System Requirements

  • Apple ID (required for some features)
  • Internet access6
  • Syncing with iTunes on a Mac or PC requires:

    • Mac: OS X v10.6.8 or later
    • PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 2 or later
    • Download iTunes at www.itunes.com/download

In the Box

  • iPad with Retina display
  • Lightning to USB Cable
  • USB Power Adapter

Built-in Apps

  • Safari
  • Photos
  • App Store
  • Maps
  • Photo Booth
  • Reminders
  • Camera
  • Mail
  • FaceTime
  • iTunes
  • Music
  • Clock
  • Calendar
  • Messages
  • Newsstand
  • Videos
  • Game Center
  • Contacts
  • Notes

 

'IT' 카테고리의 다른 글

iPad 미니 스펙  (0) 2012.10.24
iOS 6 추가 된 기능들  (0) 2012.09.16
아이폰 5 스펙  (0) 2012.09.14
iPhone 5 (아이폰 5) vs 아이폰 4s vs 아이폰4  (0) 2012.09.14
맥북프로 2012년 스펙 (레티나디스플레이 포함)  (0) 2012.06.12
Posted by code cat
IT2012. 10. 24. 09:58
 

Color

 

Models

Size and Weight1

Height:
7.87 inches (200 mm)
Width:
5.3 inches (134.7 mm)
Depth:
0.28 inch (7.2 mm)
Weight:
0.68 pound (308 g)
Height:
7.87 inches (200 mm)
Width:
5.3 inches (134.7 mm)
Depth:
0.28 inch (7.2 mm)
Weight:
0.69 pound (312 g)
Learn more about iPad mini with Wi-Fi + Cellular

Storage2

16GB
32GB
64GB
16GB
32GB
64GB

Wireless and Cellular

  • 802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
  • Bluetooth 4.0 wireless technology
  • Model A1454*
    • GSM/EDGE (850, 900, 1800, 1900 MHz)
    • UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz)
    • LTE (Bands 4 and 17)
  • Model A1455*
    • CDMA EV-DO Rev. A and Rev. B (800, 1900, 2100 MHz)
    • GSM/EDGE (850, 900, 1800, 1900 MHz)
    • UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz) 
    • LTE (Bands 1, 3, 5, 13, 25)
  • Data only3
  • 802.11a/b/g/n Wi-Fi (802.11n 2.4GHz and 5GHz)
  • Bluetooth 4.0 wireless technology

Carriers

AT&T, Sprint, Verizon

Display

  • 7.9-inch (diagonal) LED-backlit Multi-Touch
    display with IPS technology
  • 1024-by-768 resolution at 163 pixels per inch (ppi)
  • Fingerprint-resistant oleophobic coating

Chip

A5

Dual-core A5

Cameras, Photos, and Video Recording

FaceTime HD Camera

  • 1.2MP photos
  • 720p HD video
  • FaceTime video calling over Wi-Fi or cellular4
  • Face detection
  • Backside illumination
  • Tap to control exposure for video or still images
  • Photo and video geotagging

iSight Camera

  • 5MP photos
  • Autofocus
  • Face detection
  • Backside illumination
  • Five-element lens
  • Hybrid IR filter
  • ƒ/2.4 aperture
  • Tap to focus video or still images
  • Tap to control exposure for video or still images
  • Photo and video geotagging

Video Recording

  • 1080p HD video recording
  • Video stabilization
  • Face detection
  • Tap to focus while recording
  • Backside illumination

External Buttons and Connectors

External Buttons and Controls

Connectors and Input/Output

Power and Battery5

  • Built-in 16.3-watt-hour rechargeable lithium-polymer battery
  • Up to 10 hours of surfing the web on Wi-Fi, watching video, or listening to music
  • Charging via power adapter or USB to computer system
  • Built-in 16.3-watt-hour rechargeable lithium-polymer battery
  • Up to 10 hours of surfing the web on Wi-Fi, watching video, or listening to music
  • Up to 9 hours of surfing the web using cellular data network
  • Charging via power adapter or USB to computer system

Input/Output

  • Lightning connector
  • 3.5-mm stereo headphone minijack
  • Built-in speaker
  • Microphone
  • Lightning connector
  • 3.5-mm stereo headphone minijack
  • Built-in speaker
  • Microphone
  • Nano-SIM card tray

Sensors

  • Three-axis gyro
  • Accelerometer
  • Ambient light sensor
  • Three-axis gyro
  • Accelerometer
  • Ambient light sensor

Location

  • Wi-Fi
  • Digital compass
  • Wi-Fi
  • Digital compass
  • Assisted GPS and GLONASS
  • Cellular

Audio Playback

  • Frequency response: 20Hz to 20,000Hz
  • Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE-AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV
  • User-configurable maximum volume limit

TV and Video

  • AirPlay Mirroring to Apple TV (2nd and 3rd generation) at 720p
  • AirPlay video streaming to Apple TV (3rd generation) at up to 1080p and Apple TV (2nd generation) at up to 720p
  • Video mirroring and video out support: Up to 720p through Lightning Digital AV Adapter and Lightning to VGA Adapter; video playback up to 1080p (sold separately)
  • Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

Mail Attachment Support

Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)

Languages

  • Language support for English (U.S.), English (UK), Chinese (Simplified), Chinese (Traditional), French, German, Italian, Japanese, Korean, Spanish, Arabic, Catalan, Croatian, Czech, Danish, Dutch, Finnish, Greek, Hebrew, Hungarian, Indonesian, Malay, Norwegian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Slovak, Swedish, Thai, Turkish, Ukrainian, Vietnamese
  • Keyboard support for English (U.S.), English (Australian), English (Canadian), English (UK), Chinese - Simplified (Handwriting, Pinyin, Stroke), Chinese - Traditional (Handwriting, Pinyin, Zhuyin, Cangjie, Stroke), French, French (Canadian), French (Switzerland), German (Germany), German (Switzerland), Italian, Japanese (Romaji, Kana), Korean, Spanish, Arabic, Bulgarian, Catalan, Cherokee, Croatian, Czech, Danish, Dutch, Emoji, Estonian, Finnish, Flemish, Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Latvian, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese (Portugal), Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic/Latin), Slovak, Swedish, Thai, Tibetan, Turkish, Ukrainian, Vietnamese
  • Dictionary support (enables predictive text and autocorrect) for English (U.S.), English (Australian), English (Canadian), English (UK), Chinese - Simplified (Handwriting, Pinyin, Stroke), Chinese - Traditional (Handwriting, Pinyin, Zhuyin, Cangjie, Stroke), French, French (Canadian), French (Switzerland), German (Germany), German (Switzerland), Italian, Japanese (Romaji, Kana), Korean, Spanish, Arabic, Bulgarian, Catalan, Cherokee, Croatian, Czech, Danish, Dutch, Estonian, Finnish, Flemish, Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Latvian, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese (Portugal), Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic/Latin), Slovak, Swedish, Thai, Turkish, Ukrainian, Vietnamese
  • Siri language support for English (U.S., UK, Canada, Australia), Spanish (U.S., Mexico, Spain), French (France, Canada, Switzerland), German (Germany, Switzerland), Italian (Italy, Switzerland), Japanese, Korean, Mandarin (Mainland China, Taiwan), Cantonese (Hong Kong)

Accessibility

  • VoiceOver screen reader
  • Guided Access
  • Support for playback of closed-captioned content
  • AssistiveTouch interface for adaptive accessories
  • Full-screen zoom magnification
  • Large text
  • Option to invert colors
  • Left/right volume adjustment

Environmental Requirements

  • Operating ambient temperature: 32° to 95° F (0° to 35° C)
  • Nonoperating temperature: -4° to 113° F (-20° to 45° C)
  • Relative humidity: 5% to 95% noncondensing
  • Maximum operating altitude: 10,000 feet (3000 m)

System Requirements

  • Apple ID (required for some features)
  • Internet access6
  • Syncing with iTunes on a Mac or PC requires:

    • Mac: OS X v10.6.8 or later
    • PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 2 or later
    • Download iTunes at www.itunes.com/download

In the Box

  • iPad mini
  • Lightning to USB Cable
  • USB Power Adapter

Built-in Apps

  • Safari
  • Photos
  • App Store
  • Maps
  • Photo Booth
  • Reminders
  • Camera
  • Mail
  • FaceTime
  • iTunes
  • Music
  • Clock
  • Calendar
  • Messages
  • Newsstand
  • Videos
  • Game Center
  • Contacts
  • Notes

 

 

Posted by code cat
리눅스/커널2012. 10. 21. 23:51

slab allocation에서 나오는 두개가 헷갈렸었는데, 찾아보니 별거 아니였다.


initarray_cache는


arraycache_init는


결국, initarray_cache는 arraycache_init 타입으로 정적으로 만들어져 initdata 영역에 미리 준비되는(cache_cache 생성시 필요) 것이었다.

'리눅스 > 커널' 카테고리의 다른 글

VFS(1) -추상적 레이어-  (0) 2012.12.08
make menuconfig 시에 원하는 옵션 찾아보기  (0) 2012.11.30
BYTES_PER_WORD  (0) 2012.10.15
Newton-Raphson technique  (0) 2012.10.15
linux kernel, mem_init()  (0) 2012.10.05
Posted by code cat