Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update kernel.h
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 20, 2024
1 parent 4852f3d commit 99f7a63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/kernel/kernel.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#ifndef __KERNEL_H__
#define __KERNEL_H__

#define KERNEL_QUIT_SUCCESS 0 // Return this to quit and shutdown
#define KERNEL_QUIT_ERROR 1 // Return this to quit (on error) and retry (shutdown if failed to retry)
#define KERNEL_QUIT_PANIC 2 // Return this on kernel panic, shutdowns immediately
#define KERNEL_QUIT_SUCCESS 0 // Return this to quit and shutdown
#define KERNEL_QUIT_ERROR 1 // Return this to quit (on error) and retry (shutdown if failed to retry)
#define KERNEL_QUIT_PANIC 2 // Return this on kernel panic, shutdowns immediately
#define KERNEL_QUIT_HANG 3 // Return this to do nothing

int main(); // ONLY RETURN TO QUIT

Expand Down

0 comments on commit 99f7a63

Please sign in to comment.