From ed8e4c70dbdbc5c848b9ca3221ec45bc9d643439 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Mon, 28 Jun 2004 19:57:34 +0000 Subject: [PATCH] fixed BIOS ROM readout git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8225 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/nvidia/DriverInterface.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index 359a6b8b84..48950327fb 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -266,8 +266,12 @@ typedef struct { uint32 memory_size; /* memory (Mb) */ } ps; - /* mirror of the ROM (copied in driver, because may not be mapped permanently - only over fb) */ - uint8 rom_mirror[32768]; + /* mirror of the ROM (copied in driver, because may not be mapped permanently) */ + struct + { + uint8 mirror[128 * 1024]; + uint32 size; + } rom; /* some configuration settings from ~/config/settings/kernel/drivers/nv.settings if exists */ settings settings;