# | Line 469 | Line 469 | void FlushCodeCache(void *start, uint32 | |
---|---|---|
469 | ||
470 | ||
471 | /* | |
472 | + | * Mutexes |
473 | + | */ |
474 | + | |
475 | + | struct B2_mutex { |
476 | + | int dummy; //!! |
477 | + | }; |
478 | + | |
479 | + | B2_mutex *B2_create_mutex(void) |
480 | + | { |
481 | + | return new B2_mutex; |
482 | + | } |
483 | + | |
484 | + | void B2_lock_mutex(B2_mutex *mutex) |
485 | + | { |
486 | + | } |
487 | + | |
488 | + | void B2_unlock_mutex(B2_mutex *mutex) |
489 | + | { |
490 | + | } |
491 | + | |
492 | + | void B2_delete_mutex(B2_mutex *mutex) |
493 | + | { |
494 | + | delete mutex; |
495 | + | } |
496 | + | |
497 | + | |
498 | + | /* |
499 | * Interrupt flags (must be handled atomically!) | |
500 | */ | |
501 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |