mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-22 06:19:54 -04:00
More General Cleanup (#1638)
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8.
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "ultratypes.h"
|
||||
#include "os_voice.h"
|
||||
#include "os_message.h"
|
||||
#include "libc/stddef.h"
|
||||
#include "stddef.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ u8 dummy;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define PR_OS_CACHE_H
|
||||
|
||||
#include "ultratypes.h"
|
||||
#include "libc/stddef.h"
|
||||
#include "stddef.h"
|
||||
|
||||
void osInvalDCache(void* vaddr, size_t nbytes);
|
||||
void osInvalICache(void* vaddr, size_t nbytes);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef PR_CONVERT_H
|
||||
#define PR_CONVERT_H
|
||||
|
||||
#include "libc/stdint.h"
|
||||
#include "stdint.h"
|
||||
|
||||
#define OS_CLOCK_RATE 62500000LL
|
||||
#define OS_CPU_COUNTER (OS_CLOCK_RATE*3/4)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define PR_OS_INTERNAL_SI_H
|
||||
|
||||
#include "ultratypes.h"
|
||||
#include "libc/stdint.h"
|
||||
#include "stdint.h"
|
||||
|
||||
|
||||
s32 __osSiRawWriteIo(uintptr_t devAddr, u32 data);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef PR_OS_LIBC_H
|
||||
#define PR_OS_LIBC_H
|
||||
|
||||
#include "libc/stdarg.h"
|
||||
#include "stdarg.h"
|
||||
|
||||
|
||||
void bcopy(void* __src, void* __dest, int __n);
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
|
||||
#include "ultratypes.h"
|
||||
#include "os_message.h"
|
||||
#include "libc/stddef.h"
|
||||
#include "libc/stdint.h"
|
||||
#include "stddef.h"
|
||||
#include "stdint.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "ultratypes.h"
|
||||
#include "os_pi.h"
|
||||
#include "libc/stdint.h"
|
||||
#include "stdint.h"
|
||||
|
||||
#define LEO_BASE_REG 0x05000000
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
#define PR_XSTDIO_H
|
||||
|
||||
#include "ultratypes.h"
|
||||
#include "libc/stdarg.h"
|
||||
#include "stdarg.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ union {
|
||||
|
||||
Reference in New Issue
Block a user