# tee_tee_os_framework **Repository Path**: abchris/tee_tee_os_framework ## Basic Information - **Project Name**: tee_tee_os_framework - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 18 - **Created**: 2025-01-13 - **Last Updated**: 2025-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Contribution for tee_tee_os_framework # tee_os_framework mainly contains the framework codes of tee, which is responsible for the management of the whole life cycle of TA, the processing of CA and TA interactive information and the management of drivers. In addition, it also provides core services such as encryption, decryption and secure storage. The specific module introduction is as followed. ### 1. The specific module introduction of tee_os_framework ###
Name of module Functions
gtask TA lifetime control, create and destroy TA process, commication manager, session manager and agent manager of CA2TA, process error information for TA
teesmcmgrdispatch smc command, including CA commands, system suspend and resume command, idle state management
tarunner load,analysis and relocate the elf file of TA/drivers/services
drvmgrmanagement lifetime of drivers, including the create and destroy of drivers, interface permission control, driver process rights management, drivers access control, process incorrect state of drivers
permission servicepermission management of SEC file
ssasecure storage functions
huk service hardware root key access control
teemiscdrvbase driver, get shared information from bootloader
cryptomgrthe framework code of encrypt/decrypt drivers
TEE base APIbase interfaces of TA development, including encrypt/decrypt, secure storage, secure timer and GP interface of TA2TA
TEE driver APIinterfaces for driver develepment, including interrupt, IO and DMA
samplesample code for TEE load(teeloader) and sample code for ATF-TEE adapt code(tee_atf)
testtee test suit
### 二、tee_os_framework code directories ### ``` base/tee/tee_os_framework ├── framework │ ├── gtask │ ├── teesmcmgr │ ├── drvmgr │ └── tarunner ├── lib │ ├── drvlib # libs for drvmgr and drivers │ ├── syslib # libs for TEE internal services │ └── teelib # libs for TA and services ├── drivers │ ├── tee_misc_drv │ ├── include │ └── crypto_mgr ├── service │ ├── permission_service │ ├── huk_service │ └── ssa ├── config │ ├── release_config # release config macros │ └── debug_config # debug config macros ├── build ├── test └── sample ```