mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
32 lines
639 B
C
32 lines
639 B
C
// The OS/K Team licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
#include <pc/dev.h>
|
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
long clockdev_poweron(ctx_t *ctx, dev_t *dev)
|
|
{
|
|
dev->state = DEVGOOD;
|
|
|
|
return 0;
|
|
}
|
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
dev_t clockdev =
|
|
{
|
|
.type = "clock",
|
|
.name = "clock device",
|
|
.modl = "",
|
|
.vend = "The OS/K Team",
|
|
|
|
.major = KARCH_MAJOR,
|
|
.minor = KARCH_MINOR,
|
|
.revis = KARCH_REVIS,
|
|
|
|
.fpwon = clockdev_poweron,
|
|
};
|
|
|
|
|