mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
- Add dedicated Linux-compatible Tree visualizer with UTF-8/ASCII branch tracking, -L depth filtering, human sizes, and permissions in userland/lazybox/tree.c - Implement Hardware Invariant Timestamp Counter (TSC) calibration and microsecond delay timer in kernel/tsc.c and include/kernel/tsc.h - Add Virtual Terminal color palette, live resource utilization bars, and logo banner in kernel/vt_art.c and include/kernel/vt_art.h - Add LazyBox applets: 'tree', 'tscinfo', and 'vtart' - Update README.md documentation and command matrix
16 lines
326 B
C
16 lines
326 B
C
#ifndef _KERNEL_TSC_H
|
|
#define _KERNEL_TSC_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
void tsc_init(void);
|
|
uint64_t tsc_read(void);
|
|
uint64_t tsc_get_khz(void);
|
|
uint64_t tsc_to_ns(uint64_t cycles);
|
|
uint64_t tsc_to_us(uint64_t cycles);
|
|
void tsc_udelay(uint32_t microseconds);
|
|
void tsc_dump_info(void);
|
|
|
|
#endif // _KERNEL_TSC_H
|