 917410a0a8
			
		
	
	
		917410a0a8
		
			
		
	
	
	
	
		
			
			* fbt: reworking targets & assets handling WIP * fbt: dist fixes * fbt: moved SD card resources to owning apps * unit_tests: moved resources to app folder * github: updated unit_tests paths * github: packaging fixes * unit_tests: fixes * fbt: assets: internal cleanup * fbt: reworked assets handling * github: unit_tests: reintroducing fixes * minor cleanup * fbt: naming changes to reflect private nature of scons tools * fbt: resources: fixed dist archive paths * docs: updated paths * docs: updated more paths * docs: included "resources" parameter in app manifest docs; updated assets readme * updated gitignore for assets * github: updated action versions * unit_tests: restored timeout; scripts: assets: logging changes * gh: don't upload desktop animations for unit test run Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| /**
 | |
|  * This function copies size number of bytes from a 
 | |
|  * memory location pointed by src to a destination 
 | |
|  * memory location pointed by dest
 | |
|  * 
 | |
|  * @param[in] dest Destination address
 | |
|  * @param[in] src  Source address
 | |
|  * @param[in] size size in the bytes  
 | |
|  * 
 | |
|  * @return  Address of the destination
 | |
|  */
 | |
| 
 | |
| extern void* Osal_MemCpy(void* dest, const void* src, unsigned int size);
 | |
| 
 | |
| /**
 | |
|  * This function sets first number of bytes, specified
 | |
|  * by size, to the destination memory pointed by ptr 
 | |
|  * to the specified value
 | |
|  * 
 | |
|  * @param[in] ptr    Destination address
 | |
|  * @param[in] value  Value to be set
 | |
|  * @param[in] size   Size in the bytes  
 | |
|  * 
 | |
|  * @return  Address of the destination
 | |
|  */
 | |
| 
 | |
| extern void* Osal_MemSet(void* ptr, int value, unsigned int size);
 | |
| 
 | |
| /**
 | |
|  * This function compares n bytes of two regions of memory
 | |
|  * 
 | |
|  * @param[in] s1    First buffer to compare.
 | |
|  * @param[in] s2    Second buffer to compare.
 | |
|  * @param[in] size  Number of bytes to compare.   
 | |
|  * 
 | |
|  * @return  0 if the two buffers are equal, 1 otherwise
 | |
|  */
 | |
| extern int Osal_MemCmp(const void* s1, const void* s2, unsigned int size);
 |