Difference between revisions of "Qualcomm SMEM Items"

From eLinux.org
Jump to: navigation, search
m (Magic)
m (Local PID)
Line 127: Line 127:
  
 
==== Local PID ====
 
==== Local PID ====
 +
ID of the local processor for this item.
  
 
==== Remote PID ====
 
==== Remote PID ====

Revision as of 12:02, 27 October 2016

This is a compilation of the SMEM items defined in the codeaurora kernel.

Contents

0: SMEM_PROC_COMM

1: SMEM_HEAP_INFO

2: SMEM_ALLOCATION_TABLE

3: SMEM_VERSION_INFO

4: SMEM_HW_RESET_DETECT

5: SMEM_AARM_WARM_BOOT

6: SMEM_DIAG_ERR_MESSAGE

7: SMEM_SPINLOCK_ARRAY

8: SMEM_MEMORY_BARRIER_LOCATION

8: SMEM_FIXED_ITEM_LAST

9: SMEM_AARM_PARTITION_TABLE

10: SMEM_AARM_BAD_BLOCK_TABLE

11: SMEM_RESERVE_BAD_BLOCKS

12: SMEM_WM_UUID

13: SMEM_CHANNEL_ALLOC_TBL

14: SMEM_SMD_BASE_ID

78: SMEM_SMEM_LOG_IDX

79: SMEM_SMEM_LOG_EVENTS

80: SMEM_SMEM_STATIC_LOG_IDX

81: SMEM_SMEM_STATIC_LOG_EVENTS

82: SMEM_SMEM_SLOW_CLOCK_SYNC

83: SMEM_SMEM_SLOW_CLOCK_VALUE

84: SMEM_BIO_LED_BUF

85: SMEM_SMSM_SHARED_STATE

86: SMEM_SMSM_INT_INFO

87: SMEM_SMSM_SLEEP_DELAY

88: SMEM_SMSM_LIMIT_SLEEP

89: SMEM_SLEEP_POWER_COLLAPSE_DISABLED

90: SMEM_KEYPAD_KEYS_PRESSED

91: SMEM_KEYPAD_STATE_UPDATED

92: SMEM_KEYPAD_STATE_IDX

93: SMEM_GPIO_INT

94: SMEM_MDDI_LCD_IDX

95: SMEM_MDDI_HOST_DRIVER_STATE

96: SMEM_MDDI_LCD_DISP_STATE

97: SMEM_LCD_CUR_PANEL

98: SMEM_MARM_BOOT_SEGMENT_INFO

99: SMEM_AARM_BOOT_SEGMENT_INFO

100: SMEM_SLEEP_STATIC

101: SMEM_SCORPION_FREQUENCY

102: SMEM_SMD_PROFILES

103: SMEM_TSSC_BUSY

104: SMEM_HS_SUSPEND_FILTER_INFO

105: SMEM_BATT_INFO

106: SMEM_APPS_BOOT_MODE

107: SMEM_VERSION_FIRST

107: SMEM_VERSION_SMD

131: SMEM_VERSION_LAST

132: SMEM_OSS_RRCASN1_BUF1

133: SMEM_OSS_RRCASN1_BUF2

134: SMEM_ID_VENDOR0

135: SMEM_ID_VENDOR1

136: SMEM_ID_VENDOR2

137: SMEM_HW_SW_BUILD_ID

138: SMEM_SMD_BASE_ID_2

202: SMEM_SMD_FIFO_BASE_ID_2

266: SMEM_CHANNEL_ALLOC_TBL_2

330: SMEM_I2C_MUTEX

331: SMEM_SCLK_CONVERSION

332: SMEM_SMD_SMSM_INTR_MUX

333: SMEM_SMSM_CPU_INTR_MASK

334: SMEM_APPS_DEM_SLAVE_DATA

335: SMEM_QDSP6_DEM_SLAVE_DATA

336: SMEM_CLKREGIM_BSP

337: SMEM_CLKREGIM_SOURCES

338: SMEM_SMD_FIFO_BASE_ID

402: SMEM_USABLE_RAM_PARTITION_TABLE

403: SMEM_POWER_ON_STATUS_INFO

404: SMEM_DAL_AREA

405: SMEM_SMEM_LOG_POWER_IDX

406: SMEM_SMEM_LOG_POWER_WRAP

407: SMEM_SMEM_LOG_POWER_EVENTS

408: SMEM_ERR_CRASH_LOG

409: SMEM_ERR_F3_TRACE_LOG

410: SMEM_SMD_BRIDGE_ALLOC_TABLE

411: SMEM_SMDLITE_TABLE

412: SMEM_SD_IMG_UPGRADE_STATUS

413: SMEM_SEFS_INFO

414: SMEM_RESET_LOG

415: SMEM_RESET_LOG_SYMBOLS

416: SMEM_MODEM_SW_BUILD_ID

417: SMEM_SMEM_LOG_MPROC_WRAP

418: SMEM_BOOT_INFO_FOR_APPS

419: SMEM_SMSM_SIZE_INFO

420: SMEM_SMD_LOOPBACK_REGISTER

421: SMEM_SSR_REASON_MSS0

422: SMEM_SSR_REASON_WCNSS0

423: SMEM_SSR_REASON_LPASS0

424: SMEM_SSR_REASON_DSPS0

425: SMEM_SSR_REASON_VCODEC0

427 - 434: SMEM_SMP2P_APPS_BASE

Each SMEM item consists of a header, Followed by a list of 16 entries of:

SMP2P SMEM item
0 1 2 3 4 5 6 7
Magic V Features
L R Count Valid
Flags

Magic

Must be "$SMP"

Version

Features

Local PID

ID of the local processor for this item.

Remote PID

Count

Valid entries

Flags

SMP2P entries item
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Name
Flags

Name

Flags

435: SMEM_SMP2P_MODEM_BASE

443: SMEM_SMP2P_AUDIO_BASE

451: SMEM_SMP2P_WIRLESS_BASE

459: SMEM_SMP2P_POWER_BASE

467: SMEM_FLASH_DEVICE_INFO

468: SMEM_BAM_PIPE_MEMORY

469: SMEM_IMAGE_VERSION_TABLE

470: SMEM_LC_DEBUGGER

471: SMEM_FLASH_NAND_DEV_INFO

472: SMEM_A2_BAM_DESCRIPTOR_FIFO

473: SMEM_CLOCK_INFO

474: SMEM_IPC_FIFO

475: SMEM_RF_EEPROM_DATA

476: SMEM_COEX_MDM_WCN

477: SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR

478: SMEM_GLINK_NATIVE_XPRT_FIFO_0

479: SMEM_GLINK_NATIVE_XPRT_FIFO_1

480: SMEM_SMP2P_SENSOR_BASE

488: SMEM_SMP2P_TZ_BASE

496: SMEM_IPA_FILTER_TABLE

497: SMEM_NUM_ITEMS