1
0
Fork 0
qemu/roms/skiboot/libflash/test/stubs.h
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00

20 lines
707 B
C

// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/* Copyright 2013-2018 IBM Corp. */
#include <lock.h>
#include <stdint.h>
#include "../../include/lpc-mbox.h"
void check_timers(bool unused);
void time_wait_ms(unsigned long ms);
unsigned long mftb(void);
void _prlog(int log_level, const char* fmt, ...);
void bmc_put_u16(struct bmc_mbox_msg *msg, int offset, uint16_t data);
void bmc_put_u32(struct bmc_mbox_msg *msg, int offset, uint32_t data);
u16 bmc_get_u16(struct bmc_mbox_msg *msg, int offset);
u32 bmc_get_u32(struct bmc_mbox_msg *msg, int offset);
void *__zalloc(size_t sz);
void __free(const void *p);
void lock_caller(struct lock *l, const char *caller);
void unlock(struct lock *l);