renamed driver_mem_stop() to driver_mem_release()

This commit is contained in:
Markus Fröschle
2013-12-27 15:43:54 +00:00
parent 3aae02a353
commit 1ac7cae2bb
4 changed files with 3 additions and 6 deletions

View File

@@ -8,5 +8,6 @@
extern int driver_mem_init(void);
extern void *driver_mem_alloc(long amount);
extern int driver_mem_free(void *addr);
extern void driver_mem_release(void);
#endif /* _DRIVER_MEM_H_ */

View File

@@ -336,7 +336,7 @@ int driver_mem_init(void)
return(0);
}
void driver_mem_stop(void)
void driver_mem_release(void)
{
if (init_count-- == 0)
{

View File

@@ -819,13 +819,9 @@ handler_psc3:
lea MCF_PSC0_PSCTB_8BIT,a0 // ++ vr
mchar move.l,'\P,'\I,'C,' ,(a0)
// move.l #'PIC ',(a0)
mchar move.l,'I,'N,'T,'\ ,(a0)
// move.l #'INT ',(a0)
mchar move.l,'R,'T,'C,'!,(a0)
// move.l #'RTC!',(a0)
mchar move.l,0x0d,0x0a,0,0,(a0)
//move.l #0x0d0a,(a0)
lea 0xffff8961,a0
lea MCF_PSC3_PSCTB_8BIT,a3

View File

@@ -234,7 +234,7 @@ int usb_stop(void)
}
}
bus_index = 0;
driver_mem_stop();
driver_mem_release(); /* release all driver mem */
}
return res;
}