-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix init video device. Add device name in accelerant.
- Loading branch information
Showing
4 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
Author: | ||
s40in, 2021 | ||
*/ | ||
|
||
#include <stdio.h> | ||
#include <sys/ioctl.h> | ||
#include <Accelerant.h> | ||
|
||
/* Get some info about the device */ | ||
status_t GET_ACCELERANT_DEVICE_INFO(accelerant_device_info * adi) | ||
{ | ||
|
||
/* no info on version is provided, so presumably this is for my info */ | ||
adi->version = 1; | ||
|
||
sprintf(adi->name, "VMware SVGA"); | ||
sprintf(adi->chipset, "VM"); | ||
sprintf(adi->serial_no, "None"); | ||
//adi->memory = (si->ps.memory_size * 1024); | ||
//adi->dac_speed = si->ps.max_dac1_clock; | ||
|
||
return B_OK; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters