SMBus support + Winbond W83781D hardware monitor
This commit is contained in:
36
src/hwm.c
Normal file
36
src/hwm.c
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||
* running old operating systems and software designed for IBM
|
||||
* PC systems and compatibles from 1981 through fairly recent
|
||||
* system designs based on the PCI bus.
|
||||
*
|
||||
* This file is part of the 86Box distribution.
|
||||
*
|
||||
* Common functions for hardware monitor chips.
|
||||
*
|
||||
* Version: @(#)hwm.c 1.0.0 2020/03/22
|
||||
*
|
||||
* Author: RichardG, <richardg867@gmail.com>
|
||||
* Copyright 2020 RichardG.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "device.h"
|
||||
#include "hwm.h"
|
||||
|
||||
|
||||
hwm_values_t hwm_values;
|
||||
|
||||
|
||||
void
|
||||
hwm_set_values(hwm_values_t new_values)
|
||||
{
|
||||
hwm_values = new_values;
|
||||
}
|
||||
|
||||
|
||||
hwm_values_t*
|
||||
hwm_get_values()
|
||||
{
|
||||
return &hwm_values;
|
||||
}
|
||||
Reference in New Issue
Block a user