Skip to content

Instantly share code, notes, and snippets.

@jlevon
Created March 16, 2020 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlevon/c760281cfd16a8736e0c05508f478c25 to your computer and use it in GitHub Desktop.
Save jlevon/c760281cfd16a8736e0c05508f478c25 to your computer and use it in GitHub Desktop.
shield's SPCR
> spcr::print
{
Header = {
Signature = [ "SPCR" ]
Length = 0x50
Revision = 0x1
Checksum = 0x5e
OemId = [ "A M I" ]
OemTableId = [ "APTIO4" ]
OemRevision = 0x1072009
AslCompilerId = [ "AMI." ]
AslCompilerRevision = 0x4
}
InterfaceType = 0
Reserved = [ 0, 0, 0 ]
SerialPort = {
SpaceId = 0x1
BitWidth = 0x8
BitOffset = 0
AccessWidth = 0
Address = 0x3f8
}
InterruptType = 0x5
PcInterrupt = 0x4
Interrupt = 0x4
BaudRate = 0x7
Parity = 0
StopBits = 0x1
FlowControl = 0
TerminalType = 0x2
Reserved1 = 0
PciDeviceId = 0xffff
PciVendorId = 0xffff
PciBus = 0
PciDevice = 0
PciFunction = 0
PciFlags = 0
PciSegment = 0
Reserved2 = 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment