Fix warning, lower trace level

This commit is contained in:
Vincent Barrilliot 2023-02-13 18:22:16 +01:00
parent 2781e7942f
commit 2218b39210
5 changed files with 13 additions and 5 deletions

3
flash.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
# This script will help you flash the Foenix from linux. Tested for A2560U only.
python3 C256Mgr/c256mgr.py --flash src/foenixmcp.bin --address 0x00000

View file

@ -660,7 +660,7 @@ short fchan_read_b(t_channel * chan) {
short total_read;
char buffer[2];
log(LOG_TRACE, "fchan_read");
log(LOG_TRACE, "fchan_read_b");
file = fchan_to_file(chan);
if (file) {

View file

@ -4,7 +4,7 @@
#include "log_level.h"
#ifndef DEFAULT_LOG_LEVEL
#define DEFAULT_LOG_LEVEL LOG_TRACE
#define DEFAULT_LOG_LEVEL LOG_INFO
#endif
#include "log.h"

View file

@ -4,7 +4,11 @@
* NOTE: these routines are not called directly but are instead called through TRAP#15
*/
// #define KDEBUG
#include "log_level.h"
#ifndef DEFAULT_LOG_LEVEL
#define DEFAULT_LOG_LEVEL INFO
#endif
#include "log.h"
#include "types.h"
@ -12,6 +16,7 @@
#include "interrupt.h"
#include "memory.h"
#include "proc.h"
#include "variables.h"
#include "dev/channel.h"
#include "dev/block.h"
#include "dev/fsys.h"
@ -28,7 +33,7 @@
* Determine the correct system function implementation and call it.
*/
unsigned long syscall_dispatch(int32_t function, int32_t param0, int32_t param1, int32_t param2, int32_t param3, int32_t param4, int32_t param5) {
//TRACE7("DISPATCH(%lx,%ld,%ld,%ld,%ld,%ld,%ld)", function, param0, param1, param2, param3, param4, param5);
TRACE7("DISPATCH(%lx,%ld,%ld,%ld,%ld,%ld,%ld)", function, param0, param1, param2, param3, param4, param5);
switch (function & 0x00f0) {
case 0x00:
/* Core System Calls */

View file

@ -7,6 +7,6 @@
#define VER_MAJOR 1
#define VER_MINOR 0
#define VER_BUILD 1
#define VER_BUILD 2
#endif