Displaying 2 results from an estimated 2 matches for "maximum_capac".
2006 Feb 17
16
Booking system
Hi!
I''m planning a booking system in rails, and I have the following issue:
There will be room_types. I can implement this with STI in the rooms
table, or with a separate table room_types. Each room type will have its
special features.
For example, a double room can be:
--
Posted via http://www.ruby-forum.com/.
2006 Aug 11
0
[PATCH] [4/5] SMBIOS -- generate SMBIOS tables
...ruct smbios_type_16*)start;
+
+ p->header.type = 16;
+ p->header.handle = 0x1000;
+ p->header.length = sizeof(struct smbios_type_16);
+
+ p->location = 0x01; /* other */
+ p->use = 0x03; /* system memory */
+ p->error_correction = 0x01; /* other */
+ p->maximum_capacity = memsize * 1024;
+ p->memory_error_information_handle = 0xfffe; /* none provided */
+ p->number_of_memory_devices = 1;
+
+ start += sizeof(struct smbios_type_16);
+ *((uint16_t *)start) = 0;
+ return start + 2;
+}
+
+/* Type 17 -- Memory Device */
+static void *
+smbios_typ...