hpwdt.c (eeca9fad52fc4bfdf42c38bfcf383e932eb3e9d6) hpwdt.c (a6b088875b5cfc2be95242826f31523214c083a7)
1/*
2 * HP WatchDog Driver
3 * based on
4 *
5 * SoftDog 0.05: A Software Watchdog Device
6 *
7 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
8 * Thomas Mingarelli <thomas.mingarelli@hp.com>

--- 148 unchanged lines hidden (view full) ---

157 unsigned long *pRomEntry);
158
159#ifdef CONFIG_X86_32
160/* --32 Bit Bios------------------------------------------------------------ */
161
162#define HPWDT_ARCH 32
163
164asm(".text \n\t"
1/*
2 * HP WatchDog Driver
3 * based on
4 *
5 * SoftDog 0.05: A Software Watchdog Device
6 *
7 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
8 * Thomas Mingarelli <thomas.mingarelli@hp.com>

--- 148 unchanged lines hidden (view full) ---

157 unsigned long *pRomEntry);
158
159#ifdef CONFIG_X86_32
160/* --32 Bit Bios------------------------------------------------------------ */
161
162#define HPWDT_ARCH 32
163
164asm(".text \n\t"
165 ".align 4 \n"
165 ".align 4 \n\t"
166 ".globl asminline_call \n"
166 "asminline_call: \n\t"
167 "pushl %ebp \n\t"
168 "movl %esp, %ebp \n\t"
169 "pusha \n\t"
170 "pushf \n\t"
171 "push %es \n\t"
172 "push %ds \n\t"
173 "pop %es \n\t"

--- 173 unchanged lines hidden (view full) ---

347/* ------------------------------------------------------------------------- */
348#endif /* CONFIG_X86_32 */
349#ifdef CONFIG_X86_64
350/* --64 Bit Bios------------------------------------------------------------ */
351
352#define HPWDT_ARCH 64
353
354asm(".text \n\t"
167 "asminline_call: \n\t"
168 "pushl %ebp \n\t"
169 "movl %esp, %ebp \n\t"
170 "pusha \n\t"
171 "pushf \n\t"
172 "push %es \n\t"
173 "push %ds \n\t"
174 "pop %es \n\t"

--- 173 unchanged lines hidden (view full) ---

348/* ------------------------------------------------------------------------- */
349#endif /* CONFIG_X86_32 */
350#ifdef CONFIG_X86_64
351/* --64 Bit Bios------------------------------------------------------------ */
352
353#define HPWDT_ARCH 64
354
355asm(".text \n\t"
355 ".align 4 \n"
356 ".align 4 \n\t"
357 ".globl asminline_call \n"
356 "asminline_call: \n\t"
357 "pushq %rbp \n\t"
358 "movq %rsp, %rbp \n\t"
359 "pushq %rax \n\t"
360 "pushq %rbx \n\t"
361 "pushq %rdx \n\t"
362 "pushq %r12 \n\t"
363 "pushq %r9 \n\t"

--- 527 unchanged lines hidden ---
358 "asminline_call: \n\t"
359 "pushq %rbp \n\t"
360 "movq %rsp, %rbp \n\t"
361 "pushq %rax \n\t"
362 "pushq %rbx \n\t"
363 "pushq %rdx \n\t"
364 "pushq %r12 \n\t"
365 "pushq %r9 \n\t"

--- 527 unchanged lines hidden ---