Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
intel_hda.h
Go to the documentation of this file.
1#ifndef __HAL__SOUND__INTEL_HDA_H__
2#define __HAL__SOUND__INTEL_HDA_H__
3
4#include <type.h>
5
6#define INTEL_HDA_GCAP_OFFSET 0x0
7#define INTEL_HDA_VMIN_OFFSET 0x1
8#define INTEL_HDA_VMAJ_OFFSET 0x2
9#define INTEL_HDA_OUTPAY_OFFSET 0x3
10#define INTEL_HDA_INPAY_OFFSET 0x4
11#define INTEL_HDA_GCTL_OFFSET 0x8
12#define INTEL_HDA_WAKEEN_OFFSET 0x0C
13#define INTEL_HDA_STATESTS_OFFSET 0x0E
14#define INTEL_HDA_INT_OFFSET 0X20
15
17void intel_hda_play(const char* file_path);
18
19#endif // __HAL__SOUND__INTEL_HDA_H__
void intel_hda_play(const char *file_path)
void intel_hda_init()