Fix warning, lower trace level
This commit is contained in:
parent
2781e7942f
commit
2218b39210
3
flash.sh
Normal file
3
flash.sh
Normal 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
|
|
@ -660,7 +660,7 @@ short fchan_read_b(t_channel * chan) {
|
||||||
short total_read;
|
short total_read;
|
||||||
char buffer[2];
|
char buffer[2];
|
||||||
|
|
||||||
log(LOG_TRACE, "fchan_read");
|
log(LOG_TRACE, "fchan_read_b");
|
||||||
|
|
||||||
file = fchan_to_file(chan);
|
file = fchan_to_file(chan);
|
||||||
if (file) {
|
if (file) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "log_level.h"
|
#include "log_level.h"
|
||||||
#ifndef DEFAULT_LOG_LEVEL
|
#ifndef DEFAULT_LOG_LEVEL
|
||||||
#define DEFAULT_LOG_LEVEL LOG_TRACE
|
#define DEFAULT_LOG_LEVEL LOG_INFO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
|
@ -4,7 +4,11 @@
|
||||||
* NOTE: these routines are not called directly but are instead called through TRAP#15
|
* 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 "log.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
@ -12,6 +16,7 @@
|
||||||
#include "interrupt.h"
|
#include "interrupt.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "proc.h"
|
#include "proc.h"
|
||||||
|
#include "variables.h"
|
||||||
#include "dev/channel.h"
|
#include "dev/channel.h"
|
||||||
#include "dev/block.h"
|
#include "dev/block.h"
|
||||||
#include "dev/fsys.h"
|
#include "dev/fsys.h"
|
||||||
|
@ -28,7 +33,7 @@
|
||||||
* Determine the correct system function implementation and call it.
|
* 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) {
|
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) {
|
switch (function & 0x00f0) {
|
||||||
case 0x00:
|
case 0x00:
|
||||||
/* Core System Calls */
|
/* Core System Calls */
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
|
|
||||||
#define VER_MAJOR 1
|
#define VER_MAJOR 1
|
||||||
#define VER_MINOR 0
|
#define VER_MINOR 0
|
||||||
#define VER_BUILD 1
|
#define VER_BUILD 2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue