mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-06 12:29:02 +08:00
Add back in code to set booted.
This commit is contained in:
parent
fbdd6b6ed0
commit
19288d665e
@ -54,10 +54,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
/* I should really use ktr.. */
|
/* I should really use ktr.. */
|
||||||
/*
|
/*
|
||||||
|
*/
|
||||||
#define UMA_DEBUG 1
|
#define UMA_DEBUG 1
|
||||||
#define UMA_DEBUG_ALLOC 1
|
#define UMA_DEBUG_ALLOC 1
|
||||||
#define UMA_DEBUG_ALLOC_1 1
|
#define UMA_DEBUG_ALLOC_1 1
|
||||||
*/
|
|
||||||
|
|
||||||
#include <freebsd/local/opt_ddb.h>
|
#include <freebsd/local/opt_ddb.h>
|
||||||
#include <freebsd/local/opt_param.h>
|
#include <freebsd/local/opt_param.h>
|
||||||
@ -1799,18 +1799,18 @@ uma_startup(void *bootmem, int boot_pages)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef __rtems__
|
|
||||||
/* see uma.h */
|
/* see uma.h */
|
||||||
void
|
void
|
||||||
uma_startup2(void)
|
uma_startup2(void)
|
||||||
{
|
{
|
||||||
booted = 1;
|
booted = 1;
|
||||||
|
#ifndef __rtems__
|
||||||
bucket_enable();
|
bucket_enable();
|
||||||
|
#endif /* __rtems__ */
|
||||||
#ifdef UMA_DEBUG
|
#ifdef UMA_DEBUG
|
||||||
printf("UMA startup2 complete.\n");
|
printf("UMA startup2 complete.\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif /* __rtems__ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize our callout handle
|
* Initialize our callout handle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user