~ubuntu-branches/ubuntu/saucy/seabios/saucy-proposed

« back to all changes in this revision

Viewing changes to src/pcibios.c

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2013-07-08 21:34:44 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130708213444-6ed9q23j39x143lu
Tags: 1.7.3-1
Multi-Arch: allowed

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
    }
202
202
}
203
203
 
 
204
// Entry point for pci bios functions.
 
205
void VISIBLE16 VISIBLE32SEG
 
206
handle_pcibios(struct bregs *regs)
 
207
{
 
208
    debug_enter(regs, DEBUG_HDL_pcibios);
 
209
    handle_1ab1(regs);
 
210
}
 
211
 
204
212
 
205
213
/****************************************************************
206
214
 * 32bit interface
207
215
 ****************************************************************/
208
216
 
209
 
// Entry point for 32bit pci bios functions.
210
 
void VISIBLE32SEG
211
 
handle_pcibios32(struct bregs *regs)
212
 
{
213
 
    debug_enter(regs, DEBUG_HDL_pcibios32);
214
 
    handle_1ab1(regs);
215
 
}
216
 
 
217
217
struct bios32_s {
218
218
    u32 signature;
219
219
    u32 entry;
223
223
    u8 reserved[5];
224
224
} PACKED;
225
225
 
226
 
struct bios32_s BIOS32HEADER __aligned(16) VAR16EXPORT = {
 
226
struct bios32_s BIOS32HEADER __aligned(16) VARFSEG = {
227
227
    .signature = 0x5f32335f, // _32_
228
228
    .length = sizeof(BIOS32HEADER) / 16,
229
229
};
230
230
 
231
231
void
232
 
bios32_setup(void)
 
232
bios32_init(void)
233
233
{
234
234
    dprintf(3, "init bios32\n");
235
235