ReactOS
0.4.14-dev-606-g14ebc0b
|
#include "freeldr.h"
#include "machine.h"
#include "ppcmmu/mmu.h"
#include "of.h"
#include "prep.h"
#include "compat.h"
Go to the source code of this file.
Variables | |
ULONG | CacheSizeLimit |
of_proxy | ofproxy |
void * | PageDirectoryStart |
void * | PageDirectoryEnd |
static int | chosen_package |
static int | stdin_handle |
static int | stdout_handle |
static int | part_handle = -1 |
int | mmu_handle = 0 |
int | claimed [4] |
BOOLEAN | AcpiPresent = FALSE |
CHAR | FrLdrBootPath [MAX_PATH] = "" |
CHAR | BootPart [MAX_PATH] = "" |
CHAR | CmdLine [MAX_PATH] = "bootprep" |
jmp_buf | jmp |
volatile char * | video_mem = 0 |
int | mmu_initialized = 0 |
int | mem_range_end |
Referenced by ArmInit(), PpcOfwInit(), PpcPrepInit(), and RealEntryPoint().
Definition at line 553 of file mach.c.
Referenced by __cxa_pure_virtual(), __declspec(), ARPTransmit(), BaseInitializeContext(), CsrApiRequestThread(), CsrCaptureArguments(), CsrIdentifyAlertableThread(), CsrSetPriorityClass(), CsrShutdownProcesses(), CsrValidateMessageBuffer(), DbgUiRemoteBreakin(), DeviceInterfaceChangeCallback(), Dispatch_fnDeviceIoControl(), DriverEntry(), EHCI_InterruptTransfer(), EHCI_QueryEndpointRequirements(), EHCI_SetAsyncEndpointState(), EHCI_SetEndpointStatus(), EHCI_SubmitTransfer(), EHCI_SuspendController(), ExAllocatePoolWithTag(), ExpInsertPoolTracker(), ExpRemovePoolTracker(), ExpWaitForResource(), FatalExit(), FatCompleteRequest_Real(), FatExceptionFilter(), FatMultiAsyncCompletionRoutine(), FatMultiSyncCompletionRoutine(), FatSingleAsyncCompletionRoutine(), FatSingleSyncCompletionRoutine(), HalClearSoftwareInterrupt(), HalpAddDevice(), HalpGetParameters(), HalpOpcodeInvalid(), HalRequestSoftwareInterrupt(), HalReturnToFirmware(), IKsPin_PinStatePropertyHandler(), KeFlushIoBuffers(), KeStartThread(), KeUpdateRunTime(), KiCheckTimerTable(), KiIpiServiceRoutine(), KsPinAttemptProcessing(), KsStreamPointerAdvance(), KsStreamPointerAdvanceOffsets(), KsStreamPointerAdvanceOffsetsAndUnlock(), KsStreamPointerDelete(), KsStreamPointerGetNextClone(), LdrpInitializeProcess(), LdrpRunInitializeRoutines(), MiSubsectionConsistent(), NdisInitializeWrapper(), NtProcessStartup(), ObInsertObject(), OHCI_InsertEndpointInSchedule(), OHCI_PollAsyncEndpoint(), OHCI_QueryEndpointRequirements(), OHCI_RemoveEndpointFromSchedule(), PciBeginStateTransition(), PciDispatchIrp(), PcRegisterSubdevice(), PinPropertyHandler(), PspCatchCriticalBreak(), Reboot(), RtlApplicationVerifierStop(), RtlAssert(), RtlInterlockedPushListSList(), RtlpDphAllocateVm(), RtlpDphEnterCriticalSection(), RtlpDphFreeVm(), RtlpDphPointerFromHandle(), RtlpDphProtectVm(), RtlpDphRemoveFromAvailableList(), RtlpPageHeapAllocate(), RtlpPageHeapDestroy(), RtlpPageHeapFree(), RxAssert(), SetLastError(), SmpAllocateSessionId(), SmpUnhandledExceptionFilter(), SpiParseDeviceInfo(), StreamClassDebugAssert(), UhciInterruptService(), UhciQueryEndpointRequirements(), UhciRHPortResetComplete(), UhciStopController(), USBH_ChangeIndicationWorker(), USBH_CompletePortWakeIrpsWorker(), USBH_DeviceControl(), USBH_FdoIdleNotificationCallback(), USBH_FdoPower(), USBH_FdoQueryBusRelations(), USBH_FdoStartDevice(), USBH_FdoStopDevice(), USBH_FdoWWIrpIoCompletion(), USBH_FlushPortPwrList(), USBH_HubCompleteQueuedPortIdleIrps(), USBH_HubCompleteQueuedPortWakeIrps(), USBH_HubDispatch(), USBH_HubQueuePortIdleIrps(), USBH_HubQueuePortWakeIrps(), USBH_PdoDispatch(), USBH_PdoInternalControl(), USBH_PdoPnP(), USBH_PdoStopDevice(), USBH_PdoUrbFilter(), USBH_PowerIrpCompletion(), USBH_ProcessPortStateChange(), USBH_SelectConfigOrInterfaceComplete(), USBHUB_IrpStub(), USBPORT_AllocateBandwidthUSB2(), USBPORT_Dispatch(), USBPORT_DmaEndpointWorker(), USBPORT_PdoDevicePowerState(), USBPORT_RestoreDevice(), USBPORT_RootHubClassCommand(), USBPORT_RootHubCreateDevice(), USBPORT_SplitBulkInterruptTransfer(), USBPORT_StopDevice(), UserLoadKbdDll(), WdmAudControlOpenMixer(), and wmain().
Definition at line 484 of file mach.c.
VOID OfwCopyDeviceTree | ( | PCONFIGURATION_COMPONENT_DATA | ParentKey, |
char * | name, | ||
int | innode, | ||
ULONG * | BusNumber, | ||
ULONG * | DiskController, | ||
ULONG * | DiskNumber | ||
) |
Definition at line 324 of file mach.c.
Referenced by PpcHwDetect().
int PpcConsGetCh | ( | ) |
BOOLEAN PpcConsKbHit | ( | ) |
Definition at line 84 of file mach.c.
Referenced by PpcDefaultMachVtbl().
void PpcDefaultMachVtbl | ( | ) |
Definition at line 417 of file mach.c.
Referenced by PpcInit().
BOOLEAN PpcDiskReadLogicalSectors | ( | ULONG | DriveNumber, |
ULONGLONG | SectorNumber, | ||
ULONG | SectorCount, | ||
PVOID | Buffer | ||
) |
Definition at line 249 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 46 of file mach.c.
ULONG PpcGetMemoryMap | ( | PBIOS_MEMORY_MAP | BiosMemoryMap, |
ULONG | MaxMemoryMapSize | ||
) |
Definition at line 186 of file mach.c.
Referenced by PpcDefaultMachVtbl().
PCONFIGURATION_COMPONENT_DATA PpcHwDetect | ( | ) |
Definition at line 400 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 412 of file mach.c.
Referenced by PpcDefaultMachVtbl().
void PpcOfwInit | ( | ) |
Definition at line 448 of file mach.c.
Referenced by PpcInit().
ULONG PpcPrepGetMemoryMap | ( | PBIOS_MEMORY_MAP | BiosMemoryMap, |
ULONG | MaxMemoryMapSize | ||
) |
Definition at line 67 of file prep.c.
Referenced by PpcPrepInit().
Definition at line 129 of file mach.c.
Referenced by PpcDefaultMachVtbl().
ULONG PpcVideoGetBufferSize | ( | ) |
Definition at line 103 of file mach.c.
Referenced by PpcDefaultMachVtbl(), and PpcVideoSetDisplayMode().
Definition at line 97 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 157 of file mach.c.
Referenced by PpcDefaultMachVtbl().
BOOLEAN PpcVideoIsPaletteFixed | ( | ) |
Definition at line 148 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 125 of file mach.c.
Referenced by PpcDefaultMachVtbl().
VIDEODISPLAYMODE PpcVideoSetDisplayMode | ( | char * | DisplayMode, |
BOOLEAN | Init | ||
) |
Definition at line 109 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 152 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 117 of file mach.c.
Referenced by PpcDefaultMachVtbl().
VOID PpcVideoSync | ( | ) |
Definition at line 162 of file mach.c.
Referenced by PpcDefaultMachVtbl().
Definition at line 528 of file mach.c.
Referenced by AcpiOsReadPort(), ComPortTest1(), ComPortTest2(), CpGetByte(), CpInitialize(), CpReadLsr(), CpSetBaud(), DetectKeyboardDevice(), DetectPS2AuxDevice(), DetectPS2AuxPort(), DetectSerialMouse(), Disable8259AIrq(), DMusMPUInterruptServiceRoutine(), EISA_ELCR_Read(), Get_Byte(), getCx86(), GetExtendedMemoryConfiguration(), GetFloppyType(), GetSerialMousePnpId(), CUSBHardwareDevice::GlobalReset(), HalHandleNMI(), HalpInitDma(), HalpQueryCMOS(), HalpReadCmos(), HalpReboot(), HalReadDmaCounter(), HwDiskChanged(), HwDumpRegisters(), HwReset(), i8042ReadData(), i8042ReadStatus(), i8042Write(), inb_p(), InitializeSerialPort(), InitMPU(), inportb(), KdpBochsInit(), KdpSysReadIoSpace(), NdisImmediateReadPortUchar(), PcGetFloppyCount(), PcVideoGetPaletteColor(), PcVideoSet480ScanLines(), PcVideoSetDisplayEnd(), PcVideoSync(), PdoWrite(), PS2ControllerWait(), Read8254Timer(), ReadData(), ReadfromSMBus(), CUSBHardwareDevice::ReadRegister8(), ReadyForRead(), ReadyForWrite(), ScrAcquireOwnership(), ScrIoControl(), ScrSetRegisters(), ScrWrite(), ScsiPortReadPortUchar(), SerialDetectUartType(), SerialInterruptService(), SerialPnpStartDevice(), SerialReceiveByte(), SerialSendByte(), SerialSetBaudRate(), SerialSetLineControl(), SMBusWriteByte(), sound(), STDMETHODIMP_(), StorPortReadPortUchar(), TryMPU(), UhciInitializeHardware(), WriteMPU(), WriteToSMBus(), and XboxGetSerialPort().
Definition at line 532 of file mach.c.
Referenced by AcpiOsWritePort(), CloseBitPlane(), ComPortTest1(), ComPortTest2(), CpEnableFifo(), CpInitialize(), CpPutByte(), CpSetBaud(), DetectKeyboardDevice(), DetectPS2AuxDevice(), DetectPS2AuxPort(), DetectSerialMouse(), DFB_BltFromVGA(), DFB_BltToVGA(), DFB_BltToVGA_Transparent(), DIB_BltFromVGA(), DIB_BltToVGA(), DIB_BltToVGAWithXlate(), Disable8259AIrq(), DisableSMPMode(), EnableApicMode(), getCx86(), GetExtendedMemoryConfiguration(), GetFloppyType(), GetSerialMousePnpId(), CUSBHardwareDevice::GlobalReset(), HalBeginSystemInterrupt(), HalDisableSystemInterrupt(), HalEnableSystemInterrupt(), HalpCalibrateStallExecution(), HalpDmaInitializeEisaAdapter(), HalpEndSystemInterrupt(), HalpInitDma(), HalpInitPICs(), HalpPCIReleaseSynchronizationType2(), HalpPCIReleaseSynchronzationType2(), HalpPCISynchronizeType2(), HalpQueryCMOS(), HalpReadCmos(), HalpReboot(), HalPutCharacter(), HalpWriteCmos(), HalpWriteResetCommand(), HalReadDmaCounter(), HwPowerOff(), HwReset(), HwSetDataRate(), HwTurnOffMotor(), HwTurnOnMotor(), i8042Write(), InitializeSerialPort(), IoFlushAdapterBuffers(), IoMapTransfer(), KdpBochsDebugPrint(), KdpSysWriteIoSpace(), KiSystemService(), NdisImmediateWritePortUchar(), OpenBitPlane(), outb_p(), outportb(), Parallel_putchar(), Parallel_Reset(), PcGetFloppyCount(), PcVideoGetPaletteColor(), PcVideoSet480ScanLines(), PcVideoSetDisplayEnd(), PcVideoSetPaletteColor(), PdoWrite(), Read8254Timer(), ReadfromSMBus(), ScrAcquireOwnership(), ScrIoControl(), ScrSetRegisters(), ScrWrite(), ScsiPortWritePortUchar(), Send_Byte(), SerialDetectUartType(), SerialDeviceControl(), SerialInterruptService(), SerialPnpStartDevice(), SerialReceiveByte(), SerialSendByte(), SerialSetBaudRate(), SerialSetLineControl(), setCx86(), SMBusWriteByte(), sound(), StorPortWritePortUchar(), UhciInitializeHardware(), VGADDI_BltBrush(), VGADDI_BltFromSavedScreenBits(), VGADDI_BltPointerToVGA(), VGADDI_BltToSavedScreenBits(), VGADDIFillSolid(), vgaGetByte(), vgaHLine(), vgaPutByte(), vgaPutPixel(), vgaReadScan(), vgaVLine(), vgaWriteScan(), WriteAddress(), WriteData(), WriteMPU(), CUSBHardwareDevice::WriteRegister8(), WriteToSMBus(), and XboxGetSerialPort().
Definition at line 33 of file mach.c.
Referenced by WinLdrInitializePhase1().
Definition at line 34 of file mach.c.
Referenced by MachInit(), and PpcDiskReadLogicalSectors().
ULONG CacheSizeLimit |
Definition at line 34 of file cache.c.
Referenced by CacheInternalCheckCacheSizeLimits(), CacheInternalDumpBlockList(), and PpcInit().
|
static |
Definition at line 30 of file mach.c.
Referenced by MachInit(), and PpcOfwInit().
int claimed[4] |
Definition at line 32 of file mach.c.
Referenced by PpcGetMemoryMap().
Definition at line 34 of file mach.c.
Referenced by _tWinMain(), BootMain(), CmdLineParse(), DosCreateProcess(), MachInit(), PpcOfwInit(), RunControlPanelApplet(), shell(), Test_CommandLine(), wmain(), and wWinMain().
Definition at line 34 of file mach.c.
Referenced by ArmInitializeBootDevices(), BuildArgvForOsLoader(), DiskGetBootPath(), IniFileInitialize(), LoadBootDeviceDriver(), MachInit(), and PcInitializeBootDevices().
jmp_buf jmp |
Definition at line 35 of file mach.c.
Referenced by _seh_longjmp_unwind(), KiSwitchToBootStack(), MyAppendUnicodeToString_(), MyInitUnicodeString(), RtlAppendUnicodeToString(), UDFDissectName(), UDFGetExtentLength(), UDFGetMappingLength(), UDFIsIllegalChar(), UDFPhysLbaToPart(), and WCacheGetSortedListIndex().
int mem_range_end |
Definition at line 167 of file mach.c.
Referenced by PpcGetMemoryMap(), PpcInitializeMmu(), and PpcPrepGetMemoryMap().
int mmu_handle = 0 |
Definition at line 31 of file mach.c.
Referenced by MmuTranslate(), and PpcOfwInit().
int mmu_initialized = 0 |
Definition at line 166 of file mach.c.
Referenced by PpcInitializeMmu().
of_proxy ofproxy |
Definition at line 28 of file mach.c.
Referenced by MachInit(), MmuTranslate(), PpcInit(), and PpcOfwInit().
|
static |
Definition at line 30 of file mach.c.
Referenced by PpcDiskReadLogicalSectors().
|
static |
Definition at line 30 of file mach.c.
Referenced by PpcConsGetCh(), and PpcOfwInit().
|
static |
Definition at line 30 of file mach.c.
Referenced by PpcOfwInit(), and PpcOfwPutChar().
Definition at line 36 of file mach.c.
Referenced by PpcVideoCopyOffScreenBufferToVRAM(), and PpcVideoSetDisplayMode().