NeKernel dev
Loading...
Searching...
No Matches
MBCI.h File Reference

Mini Bus Controller Interface. More...

#include <NeKit/Config.h>
#include <hint/CompilerHint.h>
#include <modules/ACPI/ACPI.h>

Go to the source code of this file.

Classes

struct  Kernel::IMBCIHost
 MBCI Host header. More...

Namespaces

namespace  Kernel
 UPS inline definitions.

Macros

#define kMBCIZeroSz   (8)
#define kMBCIESBSz   (64)

Typedefs

typedef UInt32 Kernel::MBCIAuthKeyType
 An AuthKey is a context used to tokenize data for an MBCI packet.

Enumerations

enum  { Kernel::kMBCISpeedDeviceInvalid , Kernel::kMBCILowSpeedDevice , Kernel::kMBCIHighSpeedDevice , Kernel::kMBCISpeedDeviceCount }
enum  Kernel::MBCIHostFlags {
  Kernel::kMBCIHostFlagsSupportsNothing , Kernel::kMBCIHostFlagsSupportsAPM , Kernel::kMBCIHostFlagsSupportsDaisyChain , Kernel::kMBCIHostFlagsSupportsHWInterrupts ,
  Kernel::kMBCIHostFlagsSupportsDMA , Kernel::kMBCIHostFlagsExtended
}
 MBCI host flags. More...
enum  Kernel::MBCIHostKind {
  Kernel::kMBCIHostKindHardDisk , Kernel::kMBCIHostKindOpticalDisk , Kernel::kMBCIHostKindKeyboardLow , Kernel::kMBCIHostKindMouseLow ,
  Kernel::kMBCIHostKindMouseHigh , Kernel::kMBCIHostKindKeyboardHigh , Kernel::kMBCIHostKindNetworkInterface , Kernel::kMBCIHostKindDaisyChain ,
  Kernel::kMBCIHostKindStartExtended
}
 MBCI host kind. More...
enum  Kernel::MBCIHostState {
  Kernel::kMBCIHostStateInvalid , Kernel::kMBCIHostStateReset , Kernel::kMBCIHostStateSuccess , Kernel::kMBCIHostStateReady ,
  Kernel::kMBCIHostStateDmaStart , Kernel::kMBCIHostStateDmaEnd , Kernel::kMBCIHostStateFail , Kernel::kMBCIHostStateCount
}

Functions

BOOL Kernel::busi_test_mmio (_Input struct IMBCIHost *host, _Input const UInt32 test)
MBCIAuthKeyType Kernel::mbci_read_auth_key (_Input struct IMBCIHost *host)
 Read Auth key for MBCI host.

Detailed Description

Mini Bus Controller Interface.

Macro Definition Documentation

◆ kMBCIESBSz

#define kMBCIESBSz   (64)

◆ kMBCIZeroSz

#define kMBCIZeroSz   (8)
  • VCC (IN) (OUT for MCU)
  • CLK (IN) (OUT for MCU)
  • ACK (BI) (Contains an Acknowledge Packet Frame)
  • D0- (IN) (Starts with the Host Interface Packet Frame)
  • D1- (IN) (Starts with the Host Interface Packet Frame)
  • D0+ (OUT) (Starts with the Host Interface Packet Frame)
  • D1+ (OUT) (Starts with the Host Interface Packet Frame)
  • GND (IN) (OUT for MCU)