2018-09-28 20:35:51 +02:00
|
|
|
/*******************************************************************************/
|
|
|
|
/* COS2000 - Compatible Operating System - LGPL v3 - Hordé Nicolas */
|
|
|
|
/* */
|
2018-09-17 18:17:11 +02:00
|
|
|
typedef struct command
|
|
|
|
{
|
|
|
|
u8 name[64];
|
|
|
|
u8 params[64];
|
|
|
|
int (*function)(void)
|
|
|
|
} command __attribute__ ((packed));
|
|
|
|
|
|
|
|
int rebootnow();
|
|
|
|
int test2d();
|
|
|
|
int readidt();
|
|
|
|
int readgdt();
|
|
|
|
int detectcpu();
|
|
|
|
int mode();
|
|
|
|
int clear();
|
2018-10-02 17:16:23 +02:00
|
|
|
int regs();
|
2018-09-27 21:01:02 +02:00
|
|
|
int info();
|
2018-10-03 22:50:54 +02:00
|
|
|
int pgfaultr();
|
|
|
|
int pgfaultw();
|
|
|
|
int divzerr();
|
2018-10-04 14:55:41 +02:00
|
|
|
int invalidop();
|
|
|
|
int segfault();
|
|
|
|
int int3();
|
|
|
|
int generalfault();
|
2018-10-04 16:29:54 +02:00
|
|
|
int breakpoint();
|
|
|
|
void testing(void);
|