diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 21:32:00 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 21:32:00 -0400 |
commit | 16b7b4c2c008c976ee5948c97a8337d6224c3be9 (patch) | |
tree | 70f8402c3a2650d72fb174a43f8893a6f415546b /kernel/include | |
parent | fix printf (diff) | |
download | comus-16b7b4c2c008c976ee5948c97a8337d6224c3be9.tar.gz comus-16b7b4c2c008c976ee5948c97a8337d6224c3be9.tar.bz2 comus-16b7b4c2c008c976ee5948c97a8337d6224c3be9.zip |
add 64-bit idt/pic and fix paging
Diffstat (limited to 'kernel/include')
-rw-r--r-- | kernel/include/comus/cpu.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/include/comus/cpu.h b/kernel/include/comus/cpu.h new file mode 100644 index 0000000..58fb33d --- /dev/null +++ b/kernel/include/comus/cpu.h @@ -0,0 +1,17 @@ +/** + * @file cpu.h + * + * @author Freya Murphy <freya@freyacat.org> + * + * CPU initalization functions + */ + +#ifndef _CPU_H +#define _CPU_H + +/** + * Initalize current cpu + */ +void cpu_init(void); + +#endif /* cpu.h */ |