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:
Derek Hensley
2024-06-03 11:33:03 -07:00
committed by GitHub
parent 312b65d5e3
commit f26e77ba40
144 changed files with 372 additions and 369 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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 -1
View File
@@ -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)
+1 -1
View File
@@ -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 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -2,7 +2,7 @@
#define PR_XSTDIO_H
#include "ultratypes.h"
#include "libc/stdarg.h"
#include "stdarg.h"
typedef struct {
/* 0x0 */ union {