whitespaces
parent
daf881428e
commit
5ea2cb9f8d
|
@ -122,3 +122,4 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* GFX_USE_OS_RAW32 */
|
#endif /* GFX_USE_OS_RAW32 */
|
||||||
#endif /* _GOS_RAW32_H */
|
#endif /* _GOS_RAW32_H */
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
#include <string.h> // Prototype for memcpy()
|
#include <string.h> // Prototype for memcpy()
|
||||||
|
|
||||||
|
|
||||||
#if GOS_RAW_HEAP_SIZE != 0
|
#if GOS_RAW_HEAP_SIZE != 0
|
||||||
static void _gosHeapInit(void);
|
static void _gosHeapInit(void);
|
||||||
#else
|
#else
|
||||||
|
@ -138,6 +137,7 @@ void gfxExit(void) {
|
||||||
lastSlot->sz = sz;
|
lastSlot->sz = sz;
|
||||||
NextFree(lastSlot) = 0;
|
NextFree(lastSlot) = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *gfxAlloc(size_t sz) {
|
void *gfxAlloc(size_t sz) {
|
||||||
register memslot *prev, *p, *new;
|
register memslot *prev, *p, *new;
|
||||||
|
|
||||||
|
@ -270,6 +270,7 @@ void gfxExit(void) {
|
||||||
void gfxSystemLock(void) {
|
void gfxSystemLock(void) {
|
||||||
INTERRUPTS_OFF();
|
INTERRUPTS_OFF();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gfxSystemUnlock(void) {
|
void gfxSystemUnlock(void) {
|
||||||
INTERRUPTS_ON();
|
INTERRUPTS_ON();
|
||||||
}
|
}
|
||||||
|
@ -740,3 +741,4 @@ threadreturn_t gfxThreadWait(gfxThreadHandle th) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* GFX_USE_OS_RAW32 */
|
#endif /* GFX_USE_OS_RAW32 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue