2020-03-22 22:11:55 -03:00
|
|
|
/*
|
|
|
|
|
* 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.
|
|
|
|
|
*
|
2020-03-25 00:46:02 +02:00
|
|
|
*
|
2020-03-22 22:11:55 -03:00
|
|
|
*
|
|
|
|
|
* Author: RichardG, <richardg867@gmail.com>
|
|
|
|
|
* Copyright 2020 RichardG.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-03-23 09:17:55 +01:00
|
|
|
#include <stdint.h>
|
2020-03-22 22:11:55 -03:00
|
|
|
#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;
|
|
|
|
|
}
|