Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ namespace CacheSubsystem {
}

int flush_virt(Waddr virtaddr, W64 threadid) {
return invalidate(tagof(virtaddr, threadid));
return base_t::invalidate(tagof(virtaddr, threadid));
}
};

Expand Down
2 changes: 2 additions & 0 deletions klibc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// GNU General Public License, Version 2.
//

// required to avoid redefinition of inline functions
#define __NO_CTYPE
#include <globals.h>
#include <superstl.h>
#include <stdarg.h>
Expand Down
2 changes: 2 additions & 0 deletions mathlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@ namespace math {
}

/* All floating-point numbers can be put in one of these categories. */
/* FIXME: these definitions conflicts with defines in math.h
enum {
FP_NAN,
FP_INFINITE,
FP_ZERO,
FP_SUBNORMAL,
FP_NORMAL
};
*/

#undef isinf
inline int isinf(double x) {
Expand Down