*/\r
int Tegra2Vid_Install(char **Arguments)\r
{\r
- return MODULE_ERR_NOTNEEDED;\r
+// return MODULE_ERR_NOTNEEDED;\r
// KeyVal_Parse(&gTegra2Vid_KeyValueParser, Arguments);\r
\r
gpTegra2Vid_IOMem = (void*)MM_MapHWPages(gTegra2Vid_PhysBase, 256/4);\r
+ #if 0\r
{\r
Log_Debug("Tegra2Vid", "Display CMD Registers");\r
for( int i = 0x000; i <= 0x01A; i ++ )\r
for( int i = 0x800; i <= 0x80A; i ++ )\r
Log_Debug("Tegra2Vid", "[0x%03x] = 0x%08x", i, gpTegra2Vid_IOMem[i]);\r
}\r
+ #endif\r
// return 1;\r
\r
// HACK!!!\r
// {\r
-// int w = 1980, h = 1080;\r
+// int w = 1680, h = 1050;\r
// gpTegra2Vid_IOMem[DC_DISP_DISP_ACTIVE_0] = (h << 16) | w;\r
// gpTegra2Vid_IOMem[DC_WIN_A_SIZE_0] = (h << 16) | w;\r
// gpTegra2Vid_IOMem[DC_WIN_A_PRESCALED_SIZE_0] = (h << 16) | w;\r
);\r
memset(gpTegra2Vid_Framebuffer, 0xFF, 0x1000);\r
\r
- gpTegra2Vid_IOMem[DC_WIN_A_WIN_OPTIONS_0] &= ~0x40;\r
+// gpTegra2Vid_IOMem[DC_WIN_A_WIN_OPTIONS_0] &= ~0x40;\r
gpTegra2Vid_IOMem[DC_WIN_A_COLOR_DEPTH_0] = 12; // Could be 13 (BGR/RGB)\r
gTegra2Vid_DrvUtil_BufInfo.Width = 1024;\r
gTegra2Vid_DrvUtil_BufInfo.Height = 768;\r
if( mode->flags != 0 )\r
LEAVE_RET('i', 0);\r
\r
+ // DEBUG!!!\r
+ mode->width = 1024;\r
+ mode->height = 768;\r
+ break;\r
+\r
ret = 0;\r
\r
for( int i = 0; i < ciTegra2Vid_ModeCount; i ++ )\r
QEMU_PARAMS=$QEMU_PARAMS" -drive id=test_usb_image,file=USB_Test_Image.img,if=none"
QEMU_PARAMS=$QEMU_PARAMS" -device usb-storage,drive=test_usb_image"
QEMU_PARAMS=$QEMU_PARAMS" -usbdevice mouse"
+ QEMU_PARAMS=$QEMU_PARAMS" -usbdevice keyboard"
fi
# /home/tpg/apps/bin/qemu-system-x86_64 $QEMU_PARAMS -serial stdio -serial file:QemuLog.txt