Patents
US 6,865,614 B2#8520745 Most CitedExpiredUnited States (USPTO)Utility

Method for transferring a packed data structure to an unpacked data structure by copying the packed data using pointer

12Forward Citations (#8520745 Global)
0.6/yrCitation Velocity (#13852262 Global)
2.11Citation PageRank (#13373502 Global)
1Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

Computer data is transferred from a packed to an unpacked data structure in a computer that enforces aligned memory access and for which the associated compiler lacks a compile-time directive to pack data structures. In an exemplary embodiment, the invention is employed in the pre-processing of Advanced Configuration and Power Interface (ACPI) tables stored in little-endian format for use by a big-endian operating system.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 12.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method for transferring computer data from a packed data structure to an unpacked data structure, the method comprising: (a) declaring a first data structure that a compiler interprets as a packed data structure, the first data structure having an associated data type; (b) declaring a second data structure that the compiler interprets as an unpacked data structure; (c) applying the data type associated with the first data structure to a pointer that references the packed data structure; and (d) copying the computer data from the packed data structure to the second data structure using the po

  2. Claim 2Depends on #1

    The method of claim 1 , wherein step (c) comprises a cast.

  3. Claim 3Depends on #1

    The method of claim 1 , wherein the packed data structure comprises at least two members of unequal size.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • cs.umd.edu/class/spring2003/cmsc311/Notes/BitOp/cast.html.*
  • David Woodman, "summary of obfuscated code request",Dec. 5, 1989, comp.lang.c.*
  • eskimo.com/~scs/cclass/int/sx4bb.html.*
  • Jeffrey Turner, "Packing bit field and alignment", Jan. 21, 2001, comp.lang.c.*
  • Kaz Kylheku, "int pointer to int array", Jun. 17, 1997, comp.lang.c.*