mirror of
https://github.com/isfshax/isfshax.git
synced 2024-09-17 04:34:52 +02:00
38 lines
838 B
C
38 lines
838 B
C
/*
|
|
* minute - a port of the "mini" IOS replacement for the Wii U.
|
|
*
|
|
* Copyright (C) 2016 SALT
|
|
* Copyright (C) 2016 Daz Jones <daz@dazzozo.com>
|
|
*
|
|
* Copyright (C) 2008, 2009 Sven Peter <svenpeter@gmail.com>
|
|
*
|
|
* This code is licensed to you under the terms of the GNU GPL, version 2;
|
|
* see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
*/
|
|
|
|
#ifndef __BSDTYPES_H__
|
|
#define __BSDTYPES_H__
|
|
|
|
#include "types.h"
|
|
#include "errno.h"
|
|
#include <sys/types.h>
|
|
|
|
//typedef u32 u_int;
|
|
typedef u32 u_int32_t;
|
|
typedef u16 u_int16_t;
|
|
typedef u8 u_int8_t;
|
|
typedef u8 u_char;
|
|
|
|
typedef u32 bus_space_tag_t;
|
|
typedef u32 bus_space_handle_t;
|
|
|
|
#define MIN(a, b) (((a)>(b))?(b):(a))
|
|
|
|
#define wakeup(...)
|
|
|
|
#define ISSET(var, mask) (((var) & (mask)) ? 1 : 0)
|
|
#define SET(var, mask) ((var) |= (mask))
|
|
|
|
#endif
|
|
|