From ca6c90fb1780cae8cdcfe876366b7c5e7307919a Mon Sep 17 00:00:00 2001 From: "antnh6@gmail.com" <antnh6@gmail.com> Date: Sun, 20 May 2018 10:38:50 -0400 Subject: [PATCH] blah --- src/main.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 588d354..b493201 100644 --- a/src/main.c +++ b/src/main.c @@ -7,9 +7,11 @@ #define FOREVER while(1) -void kerent() {} +void kerent() { -void kerxit( TD *active, Request *req ) { +} + +void kerxit(TD* Active, Request* req) { bwprintf(COM2, "kerxit.c: Hello\n\r"); bwprintf(COM2, "kerxit.c: Activating\n\r"); kerent(); @@ -29,14 +31,15 @@ int main(int argc, char const *argv[]) // KernelStruct Colonel; TD* Active; // TODO moved to kernel struct now Request* req; + int i; // int Status, TaskID; - initialize( tds ); + initialize( Active ); // tds is an array of TDs - for( i = 0; i < 4; i++ ) { + for(i = 0; i < 4; i++ ) { // active = schedule( tds ); - kerxit( active, req ); + kerxit(Active, req); // req is a pointer to a Request - handle( tds, req ); + handle(Active, req); } return 0; // // TODO turn off interrupts so it won't mess up RedBoot stuff -- GitLab