Kernel: Implement basic AC97 driver

This commit is contained in:
2025-07-10 17:29:11 +03:00
parent 674e194a91
commit 8a663cb94f
9 changed files with 506 additions and 1 deletions

View File

@@ -47,6 +47,11 @@ struct winsize
#define TIOCGWINSZ 50
#define TIOCSWINSZ 51
#define SND_GET_CHANNELS 60 /* stores number of channels to uint32_t argument */
#define SND_GET_SAMPLE_RATE 61 /* stores sample rate to uint32_t argument */
#define SND_RESET_BUFFER 62 /* stores the size of internal buffer to uint32_t argument and clears the buffer */
#define SND_GET_BUFFERSZ 63 /* stores the size of internal buffer to uint32_t argument */
int ioctl(int, int, ...);
__END_DECLS