Changeset 138
- Timestamp:
- Apr 8, 2017, 12:27:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/airboot.asm
r133 r138 2186 2186 ; START OF BSS DATA 2187 2187 ; ----------------------------------------------------------------------------- 2188 2189 2188 ; This space actually gets initialized in PreCrap to NUL (till EndOfVariables) 2190 2189 BeginOfVariables: … … 2254 2253 ; XREF TABLE 2255 2254 ; ----------------------------------------------------------------------------- 2256 2257 2255 ; X-Reference Table (holds new partnr, index is old part nr) 2258 2256 ; BOOKMARK: Xref Table … … 2264 2262 ; VOLUME LETTERS 2265 2263 ; ----------------------------------------------------------------------------- 2266 2267 2264 ; Volume-Letters 2268 2265 ; 0 - no LVM support … … 2382 2379 2383 2380 ; ----------------------------------------------------------------------------- 2384 ; ECS PHASE1 RELATED 2385 ; ----------------------------------------------------------------------------- 2386 Phase1Active db ? 2387 OldPartitionCount db ? 2388 ALIGN 16 2389 2390 2391 ; ----------------------------------------------------------------------------- 2392 ; DISK PARAMETERS 2393 ; ----------------------------------------------------------------------------- 2394 HugeDisk db MaxDisks dup(?) 2395 TrueSecs dd MaxDisks dup(?) 2396 ALIGN 16 2397 2398 ; BIOS geometry of the boot-drive 2399 ; Note that heads cannot be 256 due to legacy DOS/BIOS bug 2400 ; If Int13X is supported those values are used, otherwise the legacy values. 2401 BIOS_Cyls dd MaxDisks dup(?) 2402 BIOS_Heads dd MaxDisks dup(?) 2403 BIOS_Secs dd MaxDisks dup(?) 2404 BIOS_Bytes dw MaxDisks dup(?) 2405 BIOS_TotalSecs dq MaxDisks dup(?) 2406 ALIGN 16 2407 2408 ; LBA geometry of the boot-drive 2409 ; Note that these values are taken from the BPB of a partition boot-record 2410 LVM_Cyls dd MaxDisks dup(?) 2411 LVM_Heads dd MaxDisks dup(?) 2412 LVM_Secs dd MaxDisks dup(?) 2413 LVM_Bytes dw MaxDisks dup(?) 2414 LVM_TotalSecs dq MaxDisks dup(?) 2415 LVM_MasterSecs dd MaxDisks dup(?) 2416 ALIGN 16 2417 2418 ; OS/2 geometry of the boot-drive 2419 ; Note that these values are taken from the BPB of a partition boot-record 2420 LOG_Cyls dd MaxDisks dup(?) 2421 LOG_Heads dd MaxDisks dup(?) 2422 LOG_Secs dd MaxDisks dup(?) 2423 LOG_Bytes dw MaxDisks dup(?) 2424 LOG_TotalSecs dq MaxDisks dup(?) 2425 ALIGN 16 2426 2381 ; LVM DRIVE-LETTER MAP 2382 ; ----------------------------------------------------------------------------- 2427 2383 ; Get's initialized at startup to: 00000011111111111111111111111100b 2428 2384 ; Meaning A,B not free; C-Z free, rest unused. (right to left) … … 2431 2387 ALIGN 16 2432 2388 2433 ; LBA address of master LVM sector, zero if non-existant 2434 MasterLVMLBA dd MaxDisks dup(?) 2389 2390 ; ----------------------------------------------------------------------------- 2391 ; OS/2 PHASE1 RELATED 2392 ; ----------------------------------------------------------------------------- 2393 Phase1Active db ? 2394 OldPartitionCount db ? 2435 2395 ALIGN 16 2436 2396 2397 2398 ; ----------------------------------------------------------------------------- 2399 ; ARRAY OF DISK INFORMATION STRUCTURES 2400 ; ----------------------------------------------------------------------------- 2437 2401 ; Array of DISKINFO structures 2438 2402 DiskInformation db MaxDisks dup(DISKINFO_Size dup(?)) 2439 2403 ALIGN 16 2440 2404 2405 2441 2406 ; ----------------------------------------------------------------------------- 2442 2407 ; INT13X DAP 2443 2408 ; ----------------------------------------------------------------------------- 2444 2445 2409 ; Disk Address Package that holds information for LBA-access using INT13X 2446 2410 INT13X_DAP db ? ; Size of paket, inserted by code … … 2453 2417 ALIGN 16 2454 2418 2455 ; 2456 ; BOOKMARK: Temporary buffer for 48h INT13X bios call. 2457 ; 2458 2459 ; Size of the buffer. 2460 ; this param *must* be filled in. 2461 ; Code inserts it. 2462 i13xbuf dw 1 dup (?) 2463 2464 ; The buffer itself. 2465 db 126 dup(?) 2466 2467 ; Size of buffer calculated. 2468 ; (excluding the size word at the start). 2469 i13xbuf_size = $-offset i13xbuf-2 2470 ALIGN 16 2471 2472 ; Some debug area. 2473 dbg_scratch db 512 dup(?) 2474 ALIGN 16 2419 2420 ; ----------------------------------------------------------------------------- 2421 ; DEBUG 2422 ; ----------------------------------------------------------------------------- 2423 ; Some debug area. 2424 dbg_scratch db 512 dup(?) 2425 ALIGN 16 2475 2426 2476 2427
Note:
See TracChangeset
for help on using the changeset viewer.