Hardware Monad Interface (work in progress)ContentsIndex
H.Grub
Contents
Deprecated functions
Description
Access to information provided by Grub in accordance with the multiboot specification, see http://www.gnu.org/software/grub/manual/multiboot/html_node/Boot-information-format.html
Synopsis
moduleName :: Int -> H String
moduleCount :: H Int
moduleRegion :: Int -> H MemRegion
data MemInfo = Mem {
lower :: Int
upper :: Int
}
memInfo :: H (Maybe MemInfo)
moduleStart :: Int -> H (Ptr Word8)
moduleEnd :: Int -> H (Ptr Word8)
Documentation
moduleName :: Int -> H String
moduleCount :: H Int
moduleRegion :: Int -> H MemRegion
data MemInfo
Constructors
Mem
lower :: Intsize in KB of memory starting at 0, max 640KB
upper :: Intsize in KB of memory starting at 1MB
Instances
Show MemInfo
memInfo :: H (Maybe MemInfo)
memInfo returns the size of the physical memory installed
Deprecated functions
moduleStart :: Int -> H (Ptr Word8)
moduleEnd :: Int -> H (Ptr Word8)
Produced by Haddock version 0.6