Commit Graph

152 Commits

Author SHA1 Message Date
Blue Swirl
a7bceec408 Fix NetBSD reset problem
git-svn-id: svn://coreboot.org/openbios/openbios-devel@187 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-05 16:57:17 +00:00
Blue Swirl
36f50c20dc Revert broken r161, fix identification string printing (Igor Kovalenko)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@186 f158a5a8-5612-0410-a976-696ce0be7e32
2008-04-24 15:26:13 +00:00
Blue Swirl
b56d6fd8a5 Move AUX1 and AUX2 to correct locations, rename APC
git-svn-id: svn://coreboot.org/openbios/openbios-devel@185 f158a5a8-5612-0410-a976-696ce0be7e32
2008-02-01 19:58:56 +00:00
Blue Swirl
84659172f1 Enforce malloc alignment
git-svn-id: svn://coreboot.org/openbios/openbios-devel@184 f158a5a8-5612-0410-a976-696ce0be7e32
2008-02-01 19:55:39 +00:00
Blue Swirl
789960baf2 Print a message and halt if Sun4c or Sun4d
git-svn-id: svn://coreboot.org/openbios/openbios-devel@183 f158a5a8-5612-0410-a976-696ce0be7e32
2007-12-29 18:38:16 +00:00
Blue Swirl
4f53b1dbc2 Add handlers for timer interrupts
git-svn-id: svn://coreboot.org/openbios/openbios-devel@182 f158a5a8-5612-0410-a976-696ce0be7e32
2007-12-25 08:26:21 +00:00
Blue Swirl
4657a8af34 Add support for SPARCstation 20 machine type
git-svn-id: svn://coreboot.org/openbios/openbios-devel@181 f158a5a8-5612-0410-a976-696ce0be7e32
2007-12-10 20:06:58 +00:00
Blue Swirl
2a5207fe7e Add support for eccmemctl
git-svn-id: svn://coreboot.org/openbios/openbios-devel@180 f158a5a8-5612-0410-a976-696ce0be7e32
2007-12-09 17:04:51 +00:00
Blue Swirl
e1785b5d8d Improved Module ID generation
git-svn-id: svn://coreboot.org/openbios/openbios-devel@179 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-19 19:11:38 +00:00
Blue Swirl
4b56483e61 Remove unused variable
git-svn-id: svn://coreboot.org/openbios/openbios-devel@178 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-17 19:00:58 +00:00
Blue Swirl
1f76ff66bd Reset fixes:
* recalculate CRC to avoid error message and halt after reset
 * fix bug that crashed SS10/SMP when reset


git-svn-id: svn://coreboot.org/openbios/openbios-devel@177 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-17 18:56:43 +00:00
Blue Swirl
a4340199fb Update OHW interface to version 3.
Use common ABI description file with Qemu for both Sparc32 and Sparc64.
Remove private definitions and magic constants.


git-svn-id: svn://coreboot.org/openbios/openbios-devel@176 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-14 19:25:43 +00:00
Blue Swirl
65dca7dd37 Add SPARCserver 600MP emulation
git-svn-id: svn://coreboot.org/openbios/openbios-devel@175 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-11 18:02:11 +00:00
Blue Swirl
e773b85784 Add Sparc64 CPU identification
git-svn-id: svn://coreboot.org/openbios/openbios-devel@174 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-10 09:33:13 +00:00
Blue Swirl
e3994059c1 More CPU definitions
git-svn-id: svn://coreboot.org/openbios/openbios-devel@173 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-09 20:40:09 +00:00
Blue Swirl
03ccb6831c Enable boot mode in the exception handler for both SuperSparc and TurboSparc
git-svn-id: svn://coreboot.org/openbios/openbios-devel@172 f158a5a8-5612-0410-a976-696ce0be7e32
2007-11-07 16:00:02 +00:00
Blue Swirl
a62aba86c6 Fix 8 byte alignment problems
git-svn-id: svn://coreboot.org/openbios/openbios-devel@171 f158a5a8-5612-0410-a976-696ce0be7e32
2007-10-16 20:59:36 +00:00
Blue Swirl
11b1459885 Fix exception handling and printout
git-svn-id: svn://coreboot.org/openbios/openbios-devel@170 f158a5a8-5612-0410-a976-696ce0be7e32
2007-09-29 11:33:31 +00:00
Blue Swirl
b1f340d044 Fix NetBSD property problems
git-svn-id: svn://coreboot.org/openbios/openbios-devel@169 f158a5a8-5612-0410-a976-696ce0be7e32
2007-08-11 07:45:33 +00:00
Blue Swirl
4ab9d3902c Enable all interrupt sources for NetBSD
git-svn-id: svn://coreboot.org/openbios/openbios-devel@168 f158a5a8-5612-0410-a976-696ce0be7e32
2007-08-05 18:01:20 +00:00
Blue Swirl
6623b66346 Maximally align allocations
git-svn-id: svn://coreboot.org/openbios/openbios-devel@167 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-29 20:20:46 +00:00
Blue Swirl
bca00a2c33 Fix mapping of a single byte area, fix reset and poweroff
git-svn-id: svn://coreboot.org/openbios/openbios-devel@166 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-20 11:23:30 +00:00
Blue Swirl
1d39ac97cb NVRAM support (temporary location)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@165 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-11 19:48:31 +00:00
Blue Swirl
e18fb45c0c Make client interface 64 bits wide on Sparc64
git-svn-id: svn://coreboot.org/openbios/openbios-devel@164 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-11 19:46:26 +00:00
Blue Swirl
7269632481 Change virtual address below 4G
Map first 16M of RAM
Execute a kernel if loaded by Qemu


git-svn-id: svn://coreboot.org/openbios/openbios-devel@163 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-11 19:45:12 +00:00
Blue Swirl
b81a90d4e8 Fix read only location write attempt
git-svn-id: svn://coreboot.org/openbios/openbios-devel@162 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-09 16:27:25 +00:00
Blue Swirl
d77b4ab701 Fix Sparc64 insw and outsw
git-svn-id: svn://coreboot.org/openbios/openbios-devel@161 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-09 16:25:32 +00:00
Blue Swirl
ff220a1322 Fix nvram size, arch_init hack
git-svn-id: svn://coreboot.org/openbios/openbios-devel@160 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-08 19:56:05 +00:00
Blue Swirl
8421d6221e Revert previous patch
git-svn-id: svn://coreboot.org/openbios/openbios-devel@159 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-08 19:53:20 +00:00
Blue Swirl
05a6e925fb Fix wrong number of clean/saveable windows
git-svn-id: svn://coreboot.org/openbios/openbios-devel@158 f158a5a8-5612-0410-a976-696ce0be7e32
2007-07-07 21:01:29 +00:00
Blue Swirl
a88213853e Allow boot start PC to be different from virtual location (boot mode)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@157 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:25:34 +00:00
Blue Swirl
a88b381cff Hack for building on CIFS directory
git-svn-id: svn://coreboot.org/openbios/openbios-devel@156 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:19:09 +00:00
Blue Swirl
e3db406e09 Fix pop_fstr_copy memory leaks
- console one prevented Debian 3.1r1 from installing in console=prom mode
- fixing this also needed the real malloc/free



git-svn-id: svn://coreboot.org/openbios/openbios-devel@155 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:16:01 +00:00
Blue Swirl
8980119c27 Update totavail when memory is allocated by dumb memory allocator
git-svn-id: svn://coreboot.org/openbios/openbios-devel@154 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:11:08 +00:00
Blue Swirl
15472f912a Get a real memory allocator for Sparc, based on PPC ofmem
git-svn-id: svn://coreboot.org/openbios/openbios-devel@153 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:09:08 +00:00
Blue Swirl
8f59b30cb3 Fix mapping more than 2G memory
git-svn-id: svn://coreboot.org/openbios/openbios-devel@152 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:07:37 +00:00
Blue Swirl
3d080ec99b Fix obp_dumb_memalloc
git-svn-id: svn://coreboot.org/openbios/openbios-devel@151 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-10 15:56:42 +00:00
Blue Swirl
f4151ed546 Try to fix system reset for SMP and SS-10 cases
git-svn-id: svn://coreboot.org/openbios/openbios-devel@150 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-27 19:49:35 +00:00
Blue Swirl
21fb003090 Use full 36-bit physical address space on SS10
git-svn-id: svn://coreboot.org/openbios/openbios-devel@149 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-19 12:55:01 +00:00
Blue Swirl
e8dfc37756 Update vsprintf.c from Linux to get 64-bit output
git-svn-id: svn://coreboot.org/openbios/openbios-devel@148 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-19 12:51:04 +00:00
Blue Swirl
47d86bb2cb NetBSD and OpenBSD fixes:
- Correct timer and interrupt controller mappings
 - Add ESP clock frequency to avoid division by zero
 - CS4231 exists only in SS5
 - Disable BPP for now, it's not emulated by Qemu anyway
With these fixes, one NetBSD kernel even got to root device prompt on SS5.


git-svn-id: svn://coreboot.org/openbios/openbios-devel@147 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-17 19:16:06 +00:00
Blue Swirl
c5beeefb90 Fix overallocation
git-svn-id: svn://coreboot.org/openbios/openbios-devel@146 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-17 19:07:21 +00:00
Blue Swirl
788d096f65 Fix power-management location for SS-10
git-svn-id: svn://coreboot.org/openbios/openbios-devel@145 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-07 20:02:01 +00:00
Blue Swirl
75a471e6c5 Fix power-management location
git-svn-id: svn://coreboot.org/openbios/openbios-devel@144 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-07 17:21:15 +00:00
Blue Swirl
e774472da7 Fix out of bounds accesses
git-svn-id: svn://coreboot.org/openbios/openbios-devel@143 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-06 17:29:58 +00:00
Blue Swirl
674ab21bdc Increase virtual memory supply to meet NetBSD and OpenBSD demand
git-svn-id: svn://coreboot.org/openbios/openbios-devel@142 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-05 18:35:34 +00:00
Blue Swirl
1a7a2e3c15 More obviously alarming return values for find_pte
git-svn-id: svn://coreboot.org/openbios/openbios-devel@141 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-05 18:34:01 +00:00
Blue Swirl
9eb7f86202 Fix unaligned memory access
git-svn-id: svn://coreboot.org/openbios/openbios-devel@140 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-05 18:32:35 +00:00
Blue Swirl
c76de95466 Fix memory corruption problems reported by glibc
git-svn-id: svn://coreboot.org/openbios/openbios-devel@139 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-05 10:03:56 +00:00
Blue Swirl
c4f3fbc099 Fix boot-device use
git-svn-id: svn://coreboot.org/openbios/openbios-devel@138 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-04 20:55:05 +00:00