memory: announce presence during startup
Change-Id: Id4724c444bdca9f72fca05edb55d7614eb5c8286
This commit is contained in:
		
							parent
							
								
									68afc7715b
								
							
						
					
					
						commit
						f837aff6e8
					
				| @ -128,7 +128,7 @@ static void sef_local_startup() | |||||||
| /*===========================================================================*
 | /*===========================================================================*
 | ||||||
|  *		            sef_cb_init_fresh                                * |  *		            sef_cb_init_fresh                                * | ||||||
|  *===========================================================================*/ |  *===========================================================================*/ | ||||||
| static int sef_cb_init_fresh(int UNUSED(type), sef_init_info_t *UNUSED(info)) | static int sef_cb_init_fresh(int type, sef_init_info_t *UNUSED(info)) | ||||||
| { | { | ||||||
| /* Initialize the memory driver. */ | /* Initialize the memory driver. */ | ||||||
|   int i; |   int i; | ||||||
| @ -163,6 +163,9 @@ static int sef_cb_init_fresh(int UNUSED(type), sef_init_info_t *UNUSED(info)) | |||||||
| 
 | 
 | ||||||
|   m_vaddrs[MEM_DEV] = (vir_bytes) MAP_FAILED; /* we are not mapping this in. */ |   m_vaddrs[MEM_DEV] = (vir_bytes) MAP_FAILED; /* we are not mapping this in. */ | ||||||
| 
 | 
 | ||||||
|  |   chardriver_announce(); | ||||||
|  |   blockdriver_announce(type); | ||||||
|  | 
 | ||||||
|   return(OK); |   return(OK); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lionel Sambuc
						Lionel Sambuc