Skip to content
Snippets Groups Projects
Commit ca6c90fb authored by antnh6@gmail.com's avatar antnh6@gmail.com
Browse files

blah

parent 36e0beb6
No related branches found
No related tags found
1 merge request!16Withtime
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment